• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

make .jar runnable

 
James Howerton
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
/////////////////////////////////////////////
make .jar runnable
//////////////////////////////////////////
Hello;
I can make a .jar from my program and move it to a folder in my progject but I would like to make
it runnable. So I have shown the Command to make the -cmf (non runnable) .jar that
works fine.
I will show the myManifest for the -cvmf (runnable) command but it will not load
the attribute from schoolofdb.jar.

I thought the attribute would be found in the myManifest.mf shown below.
the schoolofdb.jar is created as before but not runnabale. please find the error
stated below.

thanks
working -cmf command works fine

-cmvf command will not load

above 3 params



b]myManifest.mf this is the only thing in the myManifest[/b]



b]error when trying to click the schoolofdb.jar created using -cvmf [/b]
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those BB Code tags won't work if you disable BB Code in your message.
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cross post
http://www.daniweb.com/forums/thread303521.html

Split up into this thread and two others
http://www.coderanch.com/t/506842/java/java/create-jar-gm-jar-make
http://www.coderanch.com/t/506840/java/java/moving-jar-sys-dir
 
Rob Spoor
Sheriff
Pie
Posts: 20512
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:Those BB Code tags won't work if you disable BB Code in your message.

And therefore I enabled them for James.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic