How to run Java appication from the command line
Hi, Suppose you got the a FileName.jar file for some java application. How do you run the damn code? The download pages for some of these apps say run "java -jar FileName.jar". I've got a "java" command that belongs to the package java-1.1.8v1-19 on suse 7.3. This "java" does not have a "-jar" option so the application does not run. Do I have the right package? If not, what do I need to install? The installation CDs have a number of Java packages that seem to be different implementations of the same thing. Which one is the most appropriate? Thanks. Raf
Try installing the Java2 package. This is what i use and it supports the -jar option. On Thu, 2002-03-07 at 10:30, Rafael E. Herrera wrote:
Hi,
Suppose you got the a FileName.jar file for some java application.
How do you run the damn code? The download pages for some of these apps say run "java -jar FileName.jar".
I've got a "java" command that belongs to the package java-1.1.8v1-19 on suse 7.3. This "java" does not have a "-jar" option so the application does not run.
Do I have the right package? If not, what do I need to install? The installation CDs have a number of Java packages that seem to be different implementations of the same thing. Which one is the most appropriate?
Thanks.
Raf
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
participants (2)
-
Peter Akre
-
Rafael E. Herrera