Sign up using Facebook. I set the classpath for the driver 2. The classpath environment variable is ignored whenever you use -cp, -classpath or -jar arguments in java. Exception in thread “main” java. I know m way too late but came across this question just now. That program is working fine in Eclipse IDE.
|Date Added:||6 December 2009|
|File Size:||31.98 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Click Here to receive this Complete Guide absolutely free. It’s your own problem, not ours.
I have also put jconn. Sign up using Facebook.
java – Not able to connect to Syabse database using JDBC – Stack Overflow
Please check your connection URL. Please help me out Thank You Viswa. Originally Posted by ntubski You have to export it, otherwise it’s just a shell variable not an environment variable. Please type your message and try again. Exception in thread “main” java.
SybDriver” ; 3 DriverManager. I understand the problem, but I’m giving different things that could have gone wrong and can be tried.
Join our community today! The classpath environment variable is ignored whenever you use -cp, -classpath or -jar arguments in java.
As i read your answer you are just suggesting do this or this. If you’d like to contribute content, let us know. Please visit this page to clear all LQ-related cookies. The time now is JdbcOdbcDriver 1d35bf2 Making connection java. You have java.lang.classnotfoundexcepfion export it, otherwise it’s just a shell variable not an environment variable.
JDBC-Connection to Sybase ASE fails: Could not load class ver
Having a problem logging in? It should be jdbc: So I cannot leave comment. This makes really no sense. So its would be good if you can ask some of these points from Op to clarify in comments by doing this the question would be clear to you and you can write a very good and specific java.ang.classnotfoundexception for that problem.
Learn from thousands of community experts Get answers to your technical questions Share your knowledge with peers 1, Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Join the world’s largest interactive community dedicated to Oracle technologies.
Thank you for the link. Email Required, but never shown. Find More Posts by kruger