/usr/local/java/bin/java -classpath com/app/datur/ Blind Exception in thread "main" java.lang.NoClassDefFoundError: Blind
If you are using Windows, try using \ instead of /.
Please check that Blind.class is actually in directory "com\app\datur". Also, do a "dir" in Windows or "ls -l" in LINUX/UNIX just before you issue the java command and make sure that you see directory "com".
SCJP 1.4, SCWCD in process
Joined: Nov 24, 2004
I'm on Solaris.
The full path to the Blind file is: /opt/application/test1/webapps/debatur/WEB-INF/classes/com/app/datur/Blind.class
Exception in thread "main" com.dread.layer.DataException: Can't find DB Driver make sure it is on your classpath java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at com.dread.layer.ConnectionFactory.__beginFactory(ConnectionFactory.java:231) at com.dread.layer.ConnectionFactory.loadFactory(ConnectionFactory.java:121) at com.app.datur.Blind.main(Blind.java:5)
mysql driver is in /opt/application/test1/webapps/debatur/WEB-INF/lib [ November 24, 2004: Message edited by: Glen Wilson ]
If you need help with setting your CLASSPATH, check out this page on our friendly FAQ. Scroll down about half way for the instructions on how to do this in Linux. It should be similar in Solaris since it is basically a variant of Unix.