# tar xvf WebStorm-10.0.1.tar.gz
# tar xvf jdk-8u20-linux-x64.tar.gz
配置 /etc/profile 加入:
JAVA_HOME=/home/user/Downloads/jdk1.7.0_45 (对应你目录下的)
export JRE_HOME=/home/user/Downloads/jdk1.7.0_45/jre ( 对应你目录下的 )
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
/etc/environment 配置路径
原有路径下加入:(注意:这些都是对应你的目录)
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games :/home/user/Downloads/jdk1.8.0_20/bin :/home/user/Downloads/WebStorm-141.506/bin"
CLASSPATH="/home/user/Downloads/jdk1.8.0_20/lib"
JAVA_HOME="/home/user/Downloads/jdk1.8.0_20"
重启后启动 :
# ./home/user/Downloads/WebStorm-141.506/bin/webstorm.sh
时间: 2024-10-06 17:27:41