Bug 145257 - Java interpreter does not understand -jar option
Summary: Java interpreter does not understand -jar option
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.4.2-gcj-compat
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Fitzsimmons
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-16 01:40 UTC by W. Michael Petullo
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: java-1.4.2-gcj-compat-1.4.2.0-39jpp
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-25 15:17:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.