| | |
Error trying to run java application
![]() |
•
•
Join Date: Jul 2004
Posts: 1
Reputation:
Solved Threads: 0
I am running a java database Manager under solaris
the main command is
$ java DBMan &
I run this and get the following error
Exception in thread "main" java.lang.NoClassDefFoundError: DBMan
My ClassPath is set to the below
CLASSPATH=/opt/VCNsrv/bin/java/DatabaseManager/DBManager.jar
This IS the main path to the .jar file that contains the class files.
I have also written, compiled, and successfully ran java "Hello World"
So I know the PATH is correct as well.
Does anyone have a clue what may be the problem?
Thanks in Advance
the main command is
$ java DBMan &
I run this and get the following error
Exception in thread "main" java.lang.NoClassDefFoundError: DBMan
My ClassPath is set to the below
CLASSPATH=/opt/VCNsrv/bin/java/DatabaseManager/DBManager.jar
This IS the main path to the .jar file that contains the class files.
I have also written, compiled, and successfully ran java "Hello World"
So I know the PATH is correct as well.
Does anyone have a clue what may be the problem?
Thanks in Advance
![]() |
Similar Threads
- Exception in thread "main" java.lang.NoClassDefFoundError: Invaders Error (Java)
- is it possible to run the java application in a mysql linux server (Java)
- run java application (Java)
- Run a console application using GUI (C++)
- Error running Java (Java)
- How to create an exe for a Java application (Java)
- Can any one help me with java application (Java)
- Adapting a Java Application to JSP/Servlets (Java)
Other Threads in the Java Forum
- Previous Thread: write into and read from JTextField
- Next Thread: Java, /tmp file
| Thread Tools | Search this Thread |
911 addball addressbook android api append applet application apps array arrays automation binary bluetooth businessintelligence button card class client code collision component crashcourse css csv database eclipse ee error fractal free ftp game gis givemetehcodez graphics gui html ide image integer integration j2me japplet java javaarraylist javadoc javafx javaprojects jni jpanel julia jvm linked linux list loan machine map method methods migrate mobile netbeans objects oriented output phone physics printf problem program programming project projects radio recursion replaydirector reporting researchinmotion rotatetext scanner se server service set sms software sort sql string swing test textfield threads tree trolltech ubuntu utility windows





