Article Title: Install JDK and NetBeans in Ubuntu7.10Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems and open source, and other basic categories 1. Download The binfiles of the linux JDK.
2. Modify the execution permission:
Sudo chmod + x jdk. bin
3. Execute the installation:
Sudo./jdk. bin
4. Modify the/etc/profile file and add:
JAVA_HOME =/home/jdk export JRE_HOME =/home/jdk/jre export CLASSPATH =.: $ JAVA_HOME/lib: $ JRE_HOME/lib: $ CLASSPATH export PATH = $ JAVA_HOME/bin: $ JRE_HOME/bin: $ PATH
|
5. restart the system. If you enter java-version to view the jdk version, the installation and configuration are successful.
6. Download The NetBeans sh file.
7. Install NetBeans:
Sudo./netbenas. sh -- javahome/home/jdk
8. Note that/home is the installer's own directory. jdk indicates the jdk file name downloaded, while netbeans indicates the NetBeans file name downloaded.