Warning!New windows update come out.

Monday, April 13, 2009

How to make a jar file from .class file?

I have the .class file but i do not know how to convert it into an executable .jar file. im using linux.



Irrespective of your operating system, the concepts are still the same.


Once you have your class file, use the jar command. Look in its help options to see. It is quite simple.


If you want someone to do a


java -jar yourjarfile.jar


and be able to run the main program, you will need to put the main-class entry in the manifest file.


I am assuming you are using command line interface. If you use an IDE like eclipse (which is free), it is a simple matter of couple of clicks to create the jar file.


Good luck!




computer programming service,web site design,homework help


custome website design etc, at


http://onlinegamingzone.info/




computer programming service,web site design,homework help


custome website design etc, at


http://mcadtutorial.info/




http://getininfo.zzzo.one.pl


A very informative wezbsite, kindlhtt:/z y stay a minute in website and enter you email address for getting your answer.zz




http://java.sun.com/j2se/1.3/docs/tooldo...

No comments:

Post a Comment

Help on computer for you