Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Jody Mills   on Nov 17 In Java Category.

  
Question Answered By: Teresa Rogers   on Nov 17

Are u sure, that u are running  your program  from the requiered place. Your
package directory  must be in your classpath  or another choice shell scripts.

set classpath=%classpath%;%cd%
java p1.myclass

4 ex: u can use the script above, from the upper directory of p1. This will
include
runtime path to your classpath(4 win platform) with "%cd%" option.

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on How do I run this program Or get search suggestion and latest updates.


Tagged: