aspose file tools
The moose likes Java in General and the fly likes make .jar runnable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "make .jar runnable" Watch "make .jar runnable" New topic

make .jar runnable

James Howerton
Ranch Hand

Joined: Mar 14, 2009
Posts: 82
make .jar runnable
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 shown below.
the schoolofdb.jar is created as before but not runnabale. please find the error
stated below.

working -cmf command works fine

-cmvf command will not load

above 3 params

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

b]error when trying to click the schoolofdb.jar created using -cvmf [/b]
David Newton

Joined: Sep 29, 2008
Posts: 12617

Those BB Code tags won't work if you disable BB Code in your message.
Darryl Burke

Joined: May 03, 2008
Posts: 4684

Cross post

Split up into this thread and two others

luck, db
There are no new questions, but there may be new answers.
Rob Spoor

Joined: Oct 27, 2005
Posts: 19848

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.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: make .jar runnable