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!

Help running program

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,

I've always programmed for myself inside of my IDE, Kawa Pro - and have recently tried to run that same program outside of the IDE and all I get is - after succesful compilation:

C:\makeFax>javac makeFax.java makeFaxGUI.java Contact.java InfoDialog.java

C:\makeFax>java makeFaxGUI
Exception in thread "main" java.lang.NoClassDefFoundError: makeFaxGUI

There is in fact a main class in makeFaxGUI - so I don't know what the problem is. If I run it from within KAWA Pro, it works just fine.

Help appreciated!
Alex
 
Hi,

It might be just a classpath problem.
In your dos console, type : set classpath=%classpath%;.
(Don't forget the "dot" at the end)
Then retry.
--
Globos
 
Definitely a CLASSPATH issue. Look at the CLASSPATH that is set in KAWA and make sure your System CLASSPATH is the same. Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top