Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem running a program

Status
Not open for further replies.

Greenleaf

Programmer
Feb 14, 2002
93
IT
Hello, I have a program that I am not able to run!
The name of the program is DMC and it appears to have code written in java for the graphical interface and other code written in C.
The program requires JDK 1.2 or later and I installed js2dk 1.4. When I try to run the code I get the error:

exception in thread main java.langNoClassDefFounf Error: DMC.

I don't know what to do. In the autoexec.bat i wrote:

set PATH=C:\j2sdk1.4.1_01\bin;

which is the directory where i have java.exe and javac. And i set the same path in the DMC.bat properties, as required. What can i do? I have other java applications that run properly but I can't make this one run. Please help me!
 
Is DMC part of a package ?
If so, you'll have to run it from the parent directory and run it as '[package_name]/DMC'
 
I have a dir called dmc with several files in it.
-dmc.bat
-dmc.jar
-dmc-backend.exe (they say to run this first and than the .bat)
-jakarta-regexp1.1.jar
-another .jar file
 
Maybe you can use an archiving program to open your dmc.jar and look at the manifest. It should tell you what the creator of the jar called the classpath to run it. Then you will know for sure how to proceed. Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top