Install the Java environment: New terminal, enter the JDK storage directory, execute: ./jdk-1_5_0-linux-i586-rpm.bin appears in the JDK installation license, after reading it, will ask you to agree to install, type Yes Car installation. After execution, there is a JDK-1_5_0-Linux-i586-RPM file in the current directory, you can use the ls command. Then execute rpm -ivh jdk-1_5_0-linux-i586-rpm, JDK default installation Go to the / usr directory, I am here: /usr/java/jdk1.5.0 Add system environment variable, edit / etc / profile file Vi / etc / profile, please add the following, JDK path, please change it accordingly Path EXPORT JAVA_HOME = /usR/java/jdk1.5.0 Export ClassPath = $ java_home / lib: $ java_home / lib / dt.jar: $ java_home / lib / Tools.jar Export Path = PATH: $ java_home / bin Save Exit After logout, type command testing such as Javac or Java in the terminal. If Java help information, the installation is successful.
Installing Eclipse Installing Eclipse only After downloading .zip decompressed, you can run into the Eclipse's storage path, run: unzip -d / opt eclipse-sdk-3.0.1-linux-gtk.zip This Eclipse will be installed Under the / OPT directory, run ing ...