Freebsd Java path & classpath
843810May 9 2004 — edited May 10 2004Hi everybody,
I am new to the Freebsd env, and I am having trouble with compiling java code. Below is my system configurations. Note. I am able to compile and run the Hello World program., but when I import classes into my code I get "cannot resolve symbol".
The path and classpath are setup in the .cshrc file as I am using the csh shell.
%which java
/usr/local/jdk1.4.2/bin/java
%which javac
/usr/local/jdk1.4.2/bin/javac
%echo $CLASSPATH
/usr/local/jdk1.4.2/lib/tools.jar:/usr/local/jdk1.4.2/lib/dt.jar:/usr/local/jdk1.4.2/jre/lib/rt.jar:
%echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/local/jdk1.4.2/bin:/usr/X11R6/bin:/home/george/bin
set JAVA_HOME=/usr/local/jdk1.4.2
If anyone has any suggestions they are welcome. Thanks