This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I wrote a program and I can execute it fine from the commandline by java -classpath c:\ora\classes111.zip;. className I put all the classfiles into a jar and in the jar and I made sure the mf file had the mainClass stated in it correctly. When I go to execute it I get the error : Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver. The way I am trying to execute it is by typing : java -jar -classpath .;c:\ora\classes111.zip; amcjar.jar If you have any suggestions please let me know. It would be greatly appreciated. Thank you, Rosalinde