申请达人,去除赞助商链接
WebStorm 7相信是js开发中的中的高富帅工具了,不知道站内的是不是都用windows,今天终于考完考试,终于有一段时间可以空下来了,然后今晚装了ubuntn系统的一个美化版本Elementary OS,系统很美,但是不知道如何截图,所以就不上图了。
1.开始准备,去甲骨文网站下载jdk。
因为我是64系统,所以下了X64的版本。
2.配置jdk的环境变量。
在命令行中sudo gedit /etc/profile
#set java environment
JAVA_HOME=/home/shidoudou/123/jdk1.7.0_45
exportJRE_HOME=/home/shidoudou/123/jdk1.7.0_45/jre
exportCLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
exportPATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
重启电脑在命令行中输入 java -version,察看安装完全不,如果别行。
sudo gedit /etc/environment
PATH="home/shidoudou/123/jdk1.7.0_45/bin"CLASSPATH=";,;home/shidoudou/123/jdk1.7.0_45/lib"
JAVA_HOME="home/shidoudou/123/jdk1.7.0_45"
注: Path中自带我没有粘贴上来。
如果gedit没有安装。sudo apt-get install gedit就好了。
3.下载webStrom,解压。
把webstrom加入环境变量
PATH="home/shidoudou/123/WebStorm-131.202/bin;home/shidoudou/123/jdk1.7.0_45/bin"
就变成这样了。
然后我在修改了idea.properties中几个参数,
idea.config.path=${shidoudou.home}/.WebStorm/config
idea.system.path=${shidoudou.home}/.WebStorm/system
但是我刚才注释掉了,结果导致不能自定义webstrom启动时缺省目录。
最后一步,启动软件
sh webstorm.sh
就跟windows界面一样了。
后面我贴处压缩包里面的安装向导文件,给有用的人参考下。
WebStorm
INSTALLATION INSTRUCTIONS
===============================================================================
LinuxInstallationInstructions
------------------------------------------------------------------------------
1.UnpacktheWebStormdistribution archive that you downloaded to
whereyou wish to install the program.Wewill refer tothisdestination
locationasyour{installation home}below.
2.Opena consoleandcdinto"{installation home}/bin"andtype:
./webstorm.sh
to start the application.
3.[OPTIONAL]Addthe"{installation home}/bin"to your PATH environmental
variable so that you may startWebStormfromany directory.
4.[OPTIONAL]Toadjust the value of JVM heap size open webstorm.vmoptions
(webstorm64.vmoptionsfor64-bit JDK),andmodify the-Xmsand-Xmxparameters.
[OPTIONAL]Changinglocation of"config"and"system"directory
------------------------------------------------------------------------------
BydefaultWebStormstores all your settings under~/.WebStorm7/config directory
andstores data cache under~/.WebStorm7/system directory.
Ifyou want to change these settings,
1.Opena consoleandcdinto"{installation home}/bin"
2.Openfile"idea.properties"inan editor.Youshould find strings like
idea.system.path=~/.WebStorm/system
and
idea.config.path=~/.WebStorm/config
andchange them.
3.Notethat we recommend to store data cache("system"directory)at a disk
withat least1Gbytes free space
Enjoy!
-WebStormDevelopmentTeam