Hello, I'm still quite new to Java and could use some help.
I'm trying to connect to a SQL Server database using the Microsoft JDBC driver. I set the CLASSPATH enviornmental variable to...
CLASSPATH=.;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar
Initially I only had the Path variable set, pointing to the bin directory of the JDK and that worked fine for my simple test programs such as HelloWorld. After I added the Classpath variable all my java programs stopped working and are throwing exceptions in main NoClassDefFoundError. If I delete the CLASSPATH variable everything starts working again. Does anyone have any ideas as to what the problem is? I've been working on this for a long time without success. Thank you in advance for your time and help
I'm trying to connect to a SQL Server database using the Microsoft JDBC driver. I set the CLASSPATH enviornmental variable to...
CLASSPATH=.;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar
Initially I only had the Path variable set, pointing to the bin directory of the JDK and that worked fine for my simple test programs such as HelloWorld. After I added the Classpath variable all my java programs stopped working and are throwing exceptions in main NoClassDefFoundError. If I delete the CLASSPATH variable everything starts working again. Does anyone have any ideas as to what the problem is? I've been working on this for a long time without success. Thank you in advance for your time and help