Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jun 2003 11:37:41 +0200
From:      Juan Velasco <jrv@shih.be>
To:        java@freebsd.org
Subject:   Netbeans question
Message-ID:  <3EE303E5.2010409@shih.be>

next in thread | raw e-mail | index | archive | help
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@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@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@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 ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE303E5.2010409>