How to run .jar file created in windows in unix os?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mujtaba_Alam
Posted On:   Wednesday, June 23, 2004 06:16 AM

How do I run a .jar file created using JBuilder in windows to run in Unix?


I have the j2re for unix,
but I don't know how I can
run or convert the .jar from windows to the one in Unix



Can any help me??




Mujtaba

Re: How to run .jar file created in windows in unix os?

Posted By:   GEORGIOS_KIOUMOURTZIS  
Posted On:   Wednesday, July 21, 2004 08:43 PM

HOW CAN I RUN A JAR FILE FROM THE COMMANT PROMPT WINDOW?

Re: How to run .jar file created in windows in unix os?

Posted By:   Sean_Owen  
Posted On:   Wednesday, June 23, 2004 07:15 AM

The .jar file format is the same on all platforms, and Java code is platform-independent. You should be able to execute the code in the .jar file on either platform with the command "java -cp your.jar com.your.MainClass" or "java -jar your.jar". You do not need to convert the .jar file in any sense.
About | Sitemap | Contact