Netbeans question

Juan Velasco jrv at shih.be
Sun Jun 8 02:37:44 PDT 2003


I installed netbeans with portintall, I have the JAVA_HOME in .cshrc as :

setenv JAVA_HOME /usr/local/jdk1.4.1

This is my problem:

root at dune>netbeans
expr: syntax error
expr: syntax error
expr: syntax error
Cannot find JDK. Please set the JDK_HOME environment variable to point
to your JDK installation directory, or use the -jdkhome switch


root at dune>netbeans -jdkhome /usr/local/jdk1.4.1
expr: syntax error
expr: syntax error
expr: syntax error
Exception in thread "main" java.lang.NoClassDefFoundError:


root at dune>java -version
java version "1.4.1-p3"
Java(TM) 2 Runtime Environment, Standard Edition (build 
1.4.1-p3-jrv_19_may_2003_18_52)
Java HotSpot(TM) Client VM (build 1.4.1-p3-jrv_19_may_2003_18_52, mixed 
mode)

Can someone give me a hint ?



More information about the freebsd-java mailing list