Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Adelisa Fischer   on Feb 11 In Java Category.

  
Question Answered By: Chione Massri   on Feb 11

The jvm cannot find jhw04.class in the current
classpath.<br><br>Do a file  search for this file, then attempt to run
it by typing<br>java -classpath <path where the
class file lives> jhw04<br><br>You will not be able
to use the jav.bat file because it has only 1
argument (%1).<br><br>Alternately, you could state:<br>set
classpath=%classpath%;<path where the class file lives><br>then run  using
the jav.bat with the argument.

Share: