aspose file tools
The moose likes Beginning Java and the fly likes Running application from command mode (MS DOS WINDOW) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Running application from command mode (MS DOS WINDOW)" Watch "Running application from command mode (MS DOS WINDOW)" New topic
Author

Running application from command mode (MS DOS WINDOW)

Nasser Aboobaker
Ranch Hand

Joined: Dec 06, 2000
Posts: 104
Hi friends,
I was developing java application using JavaForte IDE. Today I tried to run one application(class file) from dos window and it shows me an error saying NoClassFound Exception.. MyClass.class
Can some one help me to rectify this problem.
I am running this on WINNT4.0,
my environment is set as
Path=c:\java\bin;
Thanks in advance..
Nasser
kim jungil
Greenhorn

Joined: Sep 27, 2001
Posts: 27
your classpath is wrong.
classpath=.;%your classpath%
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Running application from command mode (MS DOS WINDOW)