allmadd 0 Newbie Poster

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.