java.lang.NoClassDefFoundError - LINUX JDBC 9.1E

chrisw669

New Member
I am unable to get JDBC working on a SUSE 9 server. When I run "java com.progress.sql.jdbc.ProgressTest" to test, I get the following:

Exception in thread "main" java.lang.NoClassDefFoundError: com/progress/sql/jdbc/ProgressTest

My settings are:

# echo $CLASSPATH
/usr/local/jdk1.3.1_12/lib/tools.jar:/usr/dlc/java/progress.jar:/usr/dlc/java/messages.jar::

# echo $PATH
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/local/jdk1.3.1_12/bin

# echo $JAVA_HOME
/usr/local/jdk1.3.1_12

# echo $JRE_HOME
/usr/local/jdk1.3.1_12

# echo $JREHOME
/usr/local/jdk1.3.1_12/jre
 
Re: java.lang.NoClassDefFoundError - LINUX JDBC 9.1E (RESOLVED)

There were actually two different solutions to resolve this issue. Worked with Progress Support and updated solution #: P34326 - "Unix to Unix ODBC / JDBC : error Specified driver could not be loaded" to include the error.


1) Set LD_ASSUME_KERNEL=2.2.5

-- OR --

2) Install the latest service patch. (9.1E04 at the time of this post)


In either case make sure you set LD_LIBRARY_PATH=$DLC/lib.

Finally, I tested with java 1.6 with no problems.
 
Back
Top