Posted By:
sridhar_Negi
Posted On:
Wednesday, December 17, 2008 07:17 AM
In my application i connect to various databases (SQLServer,Oracle,etc).when I run the application from the IDE it works fine but when I create a executable JAR for it, it does not work. It says unable to locate main class.
I have added different jars(sqljdbc.jar,classes12.jar) for connecting to the different databases.
When i include only one jar then the my Executable Jar works fine.
What i want is that i should be able to include all the jar files that are needed to make connection to various databases.