Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

running a jar in linux

807598Feb 24 2006 — edited Feb 24 2006
Hi group --

I'm trying to test a downloaded jar file. Works fine on my XP box. I also want to test the jar on my linux (redhat 9) box. I installed the jre (jre1.5.0_06), but maybe that's not enough? If I double-click (from Konqueror), I just get a list of what's in the jar. If I try to run from command line (java -jar filename.jar), I see -bash: java command not found. I added /usr/java to my $PATH... still no go. Do I need the whole JDK to run a jar?

Thanks in advance!
C Hawkins
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 24 2006
Added on Feb 24 2006
3 comments
265 views