HomeЛюди и блогиRelated VideosMore From: www.itsoftpoint.com

how to set classpath for jdbc driver

63 ratings | 44701 views
how to set the classpath in java for jdbc programs in windows
Html code for embedding videos on your blog
Text Comments (10)
Efraim Galindez (3 months ago)
Thank you very much!!!! Solved a headache of a problem again muchas gracias
Sanjay Tiwari (1 year ago)
How we set permanent classpath
Wasim (11 months ago)
Sanjay Tiwari https://youtu.be/1rO0hAgRF5E
Dere you (1 year ago)
after setting the classpath.. set classpath="C:\oraclexe\app\oracle\product\11.2.0\server\jdbc\lib\ojdbc5.jar";. Error occured.. error: package Oracle.jdbc.driver does not exist DriverManager.registerDriver(new Oracle.jdbc.driver.OracleDriver());
Kalyan Kranthi (1 year ago)
after closing cmd prompt again if i open and comiple the prog its not coming...... every time we have to set the classpath or what.......? (i need answer.....)
Ansari Nasir (1 year ago)
Kalyan Kranthi whenever you set classpath from cmd prompt it is temporary, not permanent. if you want to set classpath permanently then create environment variable. right click on my computer -> properties -> advanced system settings -> click on environmental variable-> click new. now there will be two fields. on top write "classpath". on bottom give the path upto jar file. in this way you have to set the path permanently.
Sasha San (2 years ago)
thanks !!!
Thank you!
Team Work (2 years ago)
thanks for sharing your knowledge with us
Karthik Tsaliki (4 years ago)
how o set the connection

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.