I am using the netbeans IDE 3.5.1, I have wrote code to connect to an oracle database, when I use command line java the code works. When I use the netbeans run command I get the following error: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver. What is the best way to ensure that the IDE sees the classes12.zip file that contains the drivers. Thanks for any help. Tony
I don't use NetBeans myself, so can't tell you the steps. But surely you can play with the IDE and given enough time can figure out where your 'project properties' are set, part of which is the 'classpath' or 'required libraries'. Even if someone spoon-feeds you the answer, would you learn from it? It's best for you to figure it out so your expertise will grow.
I have sorted this problem out, just in acse anyone else has the same problem, what I did was to Select Mount Filestream Select Archive Files click bext and go to where your classes12.zip file is. or classes111.zip of you are using a java version 1.1 Cheers For all the help Tony