>I installed linux and tried to run java class - say 'helloworld', but I
>got the 'can't find class' error...
>The compiling is fine but 'java' gave me a headache.
>It's been a long time with linux (about 3 yrs ago, yeah~ slackware...)
>and I can't remember the setting (as far as I remember, this error is
>not come from the java package + installation, the above error is come
>from shell setting. -Correct me if I'm wrong.)
>give me some help to find it out...
>thanks in advance.
>sun JDK 1.2
It's almost certainly a problem with the setting of the $CLASSPATH
environment variable. I'd advise you to use javawrapper (but then I
would :)). You'll probably have an old version in
/usr/src/linux/Documentation/java.txt if you have the source for a 2.2
kernel (or the new version if you have the source for a 2.3 kernel); go
to http://www.anatom.uni-tuebingen.de/~richi/linux/binfmt_misc.html for
the current version and instructions.
(I hope it works with JDK 1.2 ...)
"However, most netters acknowledge the offline world's advantages,
despite the fact that it is slow, clunky, and hogs bandwidth."
- "Surfing on the Internet", J.C. Herz