Hi Guys,
I have all the compiled classes with me. Can I create a jar file without installing the entire JDK on my machine, may be using jar.exe utility.?
Is there any such possibility ?
Thanks & Regards,
Akash Shah.
Printable View
Hi Guys,
I have all the compiled classes with me. Can I create a jar file without installing the entire JDK on my machine, may be using jar.exe utility.?
Is there any such possibility ?
Thanks & Regards,
Akash Shah.
you could just zip it, add a manifest file, and rename to .jar.
Hey, It worked fine.
Only one thing, before zipping it, you need to make a folder named META-INF and put your menifest.inf file in that folder to make the resultant Jar work.
Thanks a lot.
Akash Shah.
Just follows the way we create jar files. Actually the command prompt do the same thing, class files move to the correct place, create all necessary folders and menifest.inf file included all the details.