码迷,mamicode.com
首页 > 编程语言 > 详细

Java Environment Setting

时间:2016-11-29 17:17:15      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:bsp   java_home   develop   bin   bash   write   tools   blog   win   

As a non-Java developer, I am quit stuck in Java environment setting because I am not familiar with Java.

I write it down as following, I think it is the best way to write it in /etc/profile:

export JAVA_HOME=/usr/local/jdk1.8.0_111
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

  

 

Java Environment Setting

标签:bsp   java_home   develop   bin   bash   write   tools   blog   win   

原文地址:http://www.cnblogs.com/zhuangzebo/p/6114178.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!