Configuring JDK + Eclipse under Linux

xiaoxiao2021-03-06  14

Install JDK in Linux:

Download JDK-1_5_0-Linux-i586-rpm.bin to any directory assumption to / mnt / apps / running installation package ./jdk-1_4_2--06-linux-i586.bin screen will display Sun's copyright information, press space to Finally, enter the YES Enter installer is extracting JDK generated in the current directory: /mnt/apps/j2sdk1.4.2_06/

Set an environment variable: To make all users can use Java, modify the / etc / profile file Add: java_home = / mnt/apps/j2sdk1.4.2_06/ Path = $ java_home / bin: $ pathclasspath = $ java_home / lib / dt. JAR: $ java_home / lib / Tools.jarexport Java_Home Path ClassPath

Test: Enter java -version in any directory if you can see the Java version information is configured successfully

Eclipse installation is relatively simple on the basis, download Eclipse-sdk-3.0.1-linux-motif.zip to / mnt / apps / eclipse, you can decompress Unzip Eclipse-SDK-3.0.1 -linux-motif.zip generates the eclipse directory in the current directory running / mnt / apps / eclipse / eclipse / eclipse under xwindow.

转载请注明原文地址:https://www.9cbs.com/read-50564.html

New Post(0)