码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 环境变量配置

时间:2016-03-16 20:49:00      阅读:414      评论:0      收藏:0      [点我收藏+]

标签:

1、vim /etc/environment

2、vim /etc/profile

 

export JAVA_HOME=/opt/jdk1.6.0_45
PATH=$JAVA_HOME/bin:/pub/tools/package/toolchain/mips-2012.07/bin:/pub/tools/package/toolchain/mips-2014.05/bin:/opt/arm-2012.09/bin:/opt/arm_eabi-2011.03/bin:/opt/r2-elf-linux-1.3.5.14/bin:$PATH
export PATH
export CLASS_PATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export LD_LIBRARY_PATH=/pub/tools/package/toolchain/mips-2012.07/lib:/pub/tools/package/toolchain/mips-2014.05/lib:$LD_LIBRARY_PATH

ubuntu 环境变量配置

标签:

原文地址:http://www.cnblogs.com/jiangzhaowei/p/5284922.html

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