• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

make .jar runnable

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Those BB Code tags won't work if you disable BB Code in your message.
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cross post
http://www.daniweb.com/forums/thread303521.html

Split up into this thread and two others
https://coderanch.com/t/506842/java/java/create-jar-gm-jar-make
https://coderanch.com/t/506840/java/java/moving-jar-sys-dir
 
Sheriff
Posts: 22815
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I'm just a poor boy, I need no sympathy, because I'm easy come, easy go, little high, little low, little ad
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic