2、设置JAVA环境变量
在/etc/profile 中加入JAVA的路径.我的设置如下,各位可根据自己安装的目录修改:
#Java
export PATH=/usr/local/java/1_5_0_01/bin:$PATH
export CLASSPATH=.:/usr/local/java/1_5_0_01/lib/tools.jar:/usr/local/java/1_5_0_01/lib:$CLASSPATH
保存,注销,在终端输入:$javac
javac
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-cp <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-endorseddirs <dirs> Override location of endorsed standards path
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime system
4、安装mercury
目前不带VM的mercury LINUX 安装版本只有1707,可手动升级到1708, for MAC现在已经有1709B1版本了
下载LINK:
for linux
a、不带VM的:
http://mercury.to/torrents/1707_Linux_NoVM.torrent(我咋只找到BT下载的呢?)
1708的种子在:
http://www.linuxsir.org/bbs/attachment.php?attachmentid=20182