IDEA linux 下安装和升级

下载最新版并安装, IntelliJ IDEA的官网:https://www.jetbrains.com

注册:http://idea.lanyus.com/

在安装的idea目录下面的bin目录下面有2个文件 : 一个是idea64.vmoptions,还有一个是idea.vmoptions

用记事本打开idea.vmoptions 和idea64.vmoptions分别在最下面一行增加一行
-javaagent:/opt/idea/bin/JetbrainsCrack-2.7-release-str.jar

(-javaagent:后面是JetbrainsCrack-2.7-release-str.jar的路径)

在注册页面选择active code 写入下面注册代码

ThisCrackLicenseId-{  
"licenseId":"ThisCrackLicenseId",  
"licenseeName":"idea",  
"assigneeName":"",  
"assigneeEmail":"idea@163.com",  
"licenseRestriction":"For This Crack, Only Test! Please support genuine!!!",  
"checkConcurrentUse":false,  
"products":[  
{"code":"II","paidUpTo":"2099-12-31"},  
{"code":"DM","paidUpTo":"2099-12-31"},  
{"code":"AC","paidUpTo":"2099-12-31"},  
{"code":"RS0","paidUpTo":"2099-12-31"},  
{"code":"WS","paidUpTo":"2099-12-31"},  
{"code":"DPN","paidUpTo":"2099-12-31"},  
{"code":"RC","paidUpTo":"2099-12-31"},  
{"code":"PS","paidUpTo":"2099-12-31"},  
{"code":"DC","paidUpTo":"2099-12-31"},  
{"code":"RM","paidUpTo":"2099-12-31"},  
{"code":"CL","paidUpTo":"2099-12-31"},  
{"code":"PC","paidUpTo":"2099-12-31"}  
],  
"hash":"2911276/0",  
"gracePeriodDays":7,  
"autoProlongated":false}

软件升级
如果软件升级需要管理员权限,则执行一下操作

修改idea.sh文件(/opt/idea/bin/idea.sh). 找到这个文件打开,找到这一行

if [ -n "$JDK_HOME" -a -x "$JDK_HOME/bin/java" ]; 

在这行前加上 ,修改后效果如下

export JDK_HOME=/opt/jdk/jdk1.8.0_N; (你jdk的路径)
if [ -n "$JDK_HOME" -a -x "$JDK_HOME/bin/java" ]; 

然后在命令行中以管理员方式打开 sudo sh idea.sh 就可以了

阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页