Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Freebsd Java path & classpath

843810May 9 2004 — edited May 10 2004
Hi 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

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 7 2004
Added on May 9 2004
4 comments
708 views