Bug 145257

Summary: Java interpreter does not understand -jar option
Product: [Fedora] Fedora Reporter: W. Michael Petullo <redhat>
Component: java-1.4.2-gcj-compatAssignee: Thomas Fitzsimmons <fitzsim>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: java-1.4.2-gcj-compat-1.4.2.0-39jpp Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-25 15:17:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Michael Petullo 2005-01-16 01:40:53 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.5)
Gecko/20041220 Epiphany/1.4.7

Description of problem:


Version-Release number of selected component (if applicable):
java-1.4.2-gcj-compat-1.4.2.0-38jpp

How reproducible:
Always

Steps to Reproduce:
[mike@imp foo]$ java -jar httpclient.jar

Actual Results:  Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: httpclient.jar
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_RunMain(java.lang.Class, byte const, int, byte const,
boolean) (/usr/lib/libgcj.so.5.0.0)

Expected Results:  Java should execute httpclient.jar

Additional info:

Using gij directly works fine:

[mike@imp foo]$ gij -jar httpclient.jar

Comment 1 Thomas Fitzsimmons 2005-01-24 21:38:43 UTC
This should be fixed by java-1.4.2-gcj-compat-1_4_2_0-39jpp in
Rawhide.  Can you retest and close this report if it works?

Comment 2 W. Michael Petullo 2005-01-25 15:17:05 UTC
Java-1.4.2-gcj-compat-1.4.2.0-39jpp works fine.  Thanks.