Trying to execute a program, I get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: " whenever I set up my CLASSPATH. export classpath=/opt/oracle/product/9.2.0/jdbc/lib/ojdbc14.jar:/opt/oracle/product /9.2.0/jdbc/lib/nls_charset12.zip javac Test.java ==> ok javaTest == > Exception in thread "main" java.lang.NoClassDefFoundError: " This is a CLASSPATH problem because if unset the classpath, I don't get any error. So it has nothing to do with the code in my program. I am using jdk 1.4.1_01 and the jdbc driver is thin (included with Oracle 9i).
Perhaps you need to include the current working directory in your CLASSPATH setting. The current working directory is denoted with a period. So, your CLASSPATH should be .:[OTHER LOCATIONS HERE] I'm moving this to the Beginner's forum... [ June 29, 2003: Message edited by: Dirk Schreckmann ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com