Why my setting of the sourcepath does not work?
Paul Huang <[email protected]>
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All I just download the jswat 2.6, here below is my work step by step ( I worked on Solaris, using JDK1.4) 1. download and unzip jswat to /export/home/paul/java/jswat/jswatbin 2. download tutorial.java to /export/home/paul/java/jswat 3. launch javac -g tutorial.java in /export/home/paul/java/jswat, the tutorial.class and tutorial$1.class are generated. 4. launch jswat by command: java com.bluemarsh.jswat.Main 5. setting classpath to /export/home/paul/java/jswat 6. setting sourcepath to /export/home/paul/java/jswat 7. press menu Session-->start VM, fill in the class name with tutorial.class, check Start VM suspended 8. Press OK the system report that VM loaded, but " Source for class not find. Check sourcepath. (Class tutorial.class). I also tried to launch jswat with java -Djava.source.path=/export/home/paul/java/jswat com.bluemarsh.jswat.Main but alsi in vain. Anybody know how to solve the problem? Thanks in advance! -Paul