jbaird123
asked on
How to add a class to a .jar file
I have a Java program that has many .jar files. I recently received two class files that need to be added to one of the .jar files. How can I add these to a jar file?
Here is this explanation of it though. It goes into much more detail.
http://www.lkn.ei.tum.de/arbeiten/faq/man/JAVA-tutorial/jar/basics/update.html
http://www.lkn.ei.tum.de/arbeiten/faq/man/JAVA-tutorial/jar/basics/update.html
jar uf <class file name> <jar file name>
Make sure you include the class in its package/folder structure
Make sure you include the class in its package/folder structure
oops, wrong way around. should be:
jar uf <jar file name> <class file name>
jar uf <jar file name> <class file name>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you.
Thank you jbaird for the grade and the points.
Have a nice day.
Have a nice day.
It's been asked. :)