1. I've installed jdk117_v3.
2. Created a test file test.java, where
the class is testprog
3. Ran javac -d /myclasses test.java
(it did create the testprog.class in /myclasses)
4. I can run java testprog
What doesn't seem to run is if I am in a
different dir and I try: java -classpath /myclasses
testprog
I get the usual "Can't find
/java/Thread" or something like that.
I think my PATH var is OK.
I wonder if I need to install into
/usr/local, currently I have it unser a home
dir.
|