现在的位置: 首页 > 综合 > 正文

Linux install JDK

2012年04月07日 综合 ⁄ 共 508字 ⁄ 字号 暂无评论

1 first just download the installation package is not right, so we must give permission to install package:

Chmod 777xx.bin

2implementation of the installation package. / xx.bin

The 3configuration path

Find / etc / profile file in unset pathmunge

Add the following statement: red font for our installation package directory!!

Export = JAVA_HOME / jdk64forLinux / jdk1.6.0_31

Export CLASSPATH = $JAVA_HOME / lib / dt.jar: $JAVA_HOME / lib / tools.jar.

Export PATH = $JAVA_HOME / bin: $PATH

Export LANG = zh_CN.GBK

Export LC_ALL = zh_CN.GBK

4Java - version can check whether we successfully installed!!!

给我留言

留言无头像?