954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Error trying to run java application

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

allmadd
Newbie Poster
1 post since Jul 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You