class to exe

M

Miling

Dear all,

l have one simple program with only one class file and want to change to exe
file for easy to run.

When l use exe4j this software to create the exe file but cannot , the error
message always told me
that " main class not found"

Please kindly help me how to do this.

Thanks so much!
 
T

Tor Iver Wilhelmsen

Miling said:
When l use exe4j this software to create the exe file but cannot , the error
message always told me
that " main class not found"

Does the class actually have a method with the signature

public static void main(String[] args)

in it? If so, try checking the docs for the command line parameters of
exe4j to see if you're missing one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top