Main-Class of mysql jar
Posted by:
bryan lim
Date: April 06, 2010 07:29AM
Hi all,
I am trying to use javac to compile a java.file.
and one of the jar is mysql-connector-java-5.1.12-bin.jar.
when i do javac, i got this error.
"Failed to load Main-Class manifest attribute from /path/mysql-connector-java-5.1.12-bin.jar"
so i include "Main-Class: com.mysql.jdbc.Driver" into the manifest. But I am getting this now. "Exception in thread "main" java.lang.NoSuchMethodError: main
"
so what is the Main-Class of the mysql-connector-java-5.1.12-bin.jar??
Thank you!
Subject
Written By
Posted
Main-Class of mysql jar
April 06, 2010 07:29AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.