kubuntu 7.04下安装netbeans 6

在kubuntu 7.04下装好JDK 1.5.0.11,在安装netbeans时,有些麻烦,没有找到JDK(Java SE Development Kit (JDK) was not found on this computer),需要手动设置JAVA_HOME CLASSPATH PATH即可安装netbeans,集体步骤如下:
bigner@bigner-desktop:~$ chmod +x ./netbeans-6.0m9-full-linux.sh
bigner@bigner-desktop:~$ export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.11
bigner@bigner-desktop:~$ export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
bigner@bigner-desktop:~$ export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
bigner@bigner-desktop:~$ ./netbeans-6.0m9-full-linux.sh
Configuring installer...
Search JVM on the system...
Extracting installation data...
Running installer wizard...

你可能感兴趣的:(java,jvm,jdk,linux,Netbeans)