Re: Running java programs from class files
- From: "Andrew Thompson" <andrewthommo@xxxxxxxxx>
- Date: 31 Aug 2006 08:27:15 -0700
Knute Johnson wrote:
Andrew Thompson wrote:....
Knute Johnson wrote:
...
C:\test>cd \
C:\>jar cvfe test/Test.jar test.Test test/*.class
Aha! I did miss thid command that makes the Jar when I
first read (OK.. skimmed) this, but...
'e'? 'cvfe' as the options, what is 'e'?
The e option is the entry point. Same as setting Main-Class in the
manifest file.
That's handy.
..I'm using the 1.6 beta2 so it may have come with that
set of code.
I expect so - I am still using the 1.5 SDK.
..Much simpler than making all those manifest files when you
don't have anything else to put in them.
Heck yeah. Especially for dealing with that darn
'last line must be blank' crap that they specify
for the mainfest. I wonder how many hundreds
of man-hours have been wasted due to that alone?
Andrew T.
.
- References:
- Running java programs from class files
- From: mark13 . pl
- Re: Running java programs from class files
- From: Knute Johnson
- Re: Running java programs from class files
- From: Babu Kalakrishnan
- Re: Running java programs from class files
- From: Knute Johnson
- Re: Running java programs from class files
- From: Oliver Wong
- Re: Running java programs from class files
- From: Knute Johnson
- Re: Running java programs from class files
- From: Babu Kalakrishnan
- Re: Running java programs from class files
- From: Knute Johnson
- Re: Running java programs from class files
- From: Babu Kalakrishnan
- Re: Running java programs from class files
- From: Knute Johnson
- Re: Running java programs from class files
- From: Andrew Thompson
- Re: Running java programs from class files
- From: Knute Johnson
- Running java programs from class files
- Prev by Date: jview vs java.exe (speed)
- Next by Date: Re: Running java programs from class files
- Previous by thread: Re: Running java programs from class files
- Next by thread: Re: Running java programs from class files
- Index(es):