Jump to content
Excelsior Forums
WillieKlein

trying to compile

Recommended Posts

I'm trying to compile an old project and I keep getting this message:

The class specified in the MAIN equation does not have the "public static void main(String[])" method. Valid values are:

-main=com/mysql/jdbc/util/TimezoneDump

Add one of the above equations to the JC command line or your project file

How do I add it to the project file?

Share this post


Link to post
Share on other sites

Hi,

How do I add it to the project file?

To quickly fix the problem, just open the project file in a text editor and insert this line:

-main=com/mysql/jdbc/util/TimezoneDump

However, we recommend you to re-create the project with Excelsior JET Control Panel, as it seems that the set of JAR and class files has been changed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×