Monday, August 13, 2007

[completeJava] Re: How to make java Executable?

Hi,
I have uploaded one utility called "JarBuilder".
Now you can easily create Executable Jar files.
You download that tool from completeJavagroup/files/java section.
and unzip that archive and double-click jarbuilderXXX.jar.
Then you select needed class files the you say create jar, it'll
search and list classes having main method.you select the main class
from that list and give the location and name of the jar file to be
created.
it is now very easy....

Regards,
Thirupathi B.
mobile# 9247413378

--- In completeJava@yahoogroups.com, "jheemu_26" <jheemu_26@...>
wrote:
>
> Hi,
>
> I have some set of java class files, I want to make an executable
of
> them, packing them to a jar file, but it is failing. Can anyone
tell
> me the process?
>
> To make the executable im using the following command:
> jar -cvfm ReportGenerator.jar repgen.mf *
>
> repgen.mf has the following lines:
>
> Manifest-Version: 1.0
> Main-Class: ReportGenerator
> Class-Path: ReportMill8.zip
>
> where ReportGenerator is my only class file and ReportMill8.zip
> contains the referenced class files.
>
> But, when I double click that Executable Jar file, Im getting an
> error "Could not find the Main class. Program will exit". Please
> anybody help.
>

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Yahoo! Groups

Beauty & Fashion

Connect & share

tips and advice.

Green Y! Groups

Environment Groups

Find them here

connect with others.

.

__,_._,___

No comments: