Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

manifest help

807569Jun 29 2006 — edited Jun 29 2006
Im having a bit of trouble understanding how to create the 'clickable' jar file by accessing the manifest file.

I assume you create a text file named manifest.txt with the one line in it of Main-Class: MAIN_FILE_NAME.java???????

and then create the jar file using:
jre -cp app.jar MainClass

I am assuming that the actual line is something like:
jre -cp myJarFileName.jar myAppName.java

Just wondering if this is correct or not?? If not can someone help?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 27 2006
Added on Jun 29 2006
8 comments
131 views