Hi!
This is my classpath for 1.1.7 (it's actually 1 line without the '\'s):
export CLASSPATH=/usr/local/swing/swingall.jar:\
/usr/share/postgresql/postgresql.jar:\
/home/andreas/kde_plaf/kde.jar:\
..:\
/usr/local/jdk1.1.7/lib:\
/usr/local/jdk1.1.7/lib/classes.zip
You can see that . is the only
I moved over to Sun's Java2 on Windows. I
verified that the -classpath switch is relative to where I run java from.
I was wondering if it might be relative to where java lives(it wasn't). In
windows I can run it like: java -classpath /thisdir testprog
or I can be somewhere els
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
> Exception in thread "main" java.lang.NoClassDefFoundError:
Bruno> sun/tools/java/ClassPath
Bruno> at jacorb.generator.Main.generate(Compiled Code)
Bruno> at jacorb.generator.Main.main(Compiled Code)
Bruno> when compiling y own idl files
Hello,
tryed to compile one of my projects using JacOrb and run inton a problem...
thought maybe i could solve it recompiling jacOrb... but htere too the same
problem arises
Exception in thread "main" java.lang.NoClassDefFoundError:
sun/tools/java/ClassPath
> Java hello
> cant find class hello
See if your CLASSPATH includes ".".
--
Geoffrey S. Knauth http://world.std.com/~gsk
I finally have everything installed and the
javac command works fine, but when I try and run Java I get an
error:
Java
hello
cant find class hello
I have checked my classpath and did a little
manipulation of .java_wrapper
--I got my information from http://www.linuxnow.com/cgi-bin/getdo