225°

安装ubantu系统到配置Java开发环境

一、安装系统

1、制作系统启动盘

二、修改主题-美化

三、安装jdk

1、下载jdk

2、解压

sudo mkdir /usr/java
sudo mv jdk-11.0.3_linux-x64_bin.tar.gz /usr/java
sudo tar -zxvf jdk-11.0.3_linux-x64_bin.tar.gz

3、配置环境变量

sudo vim /etc/profile

在末尾加上
export JAVA_HOME=/usr/java/jdk-11.0.3
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$PATH
保存退出

source /etc/profile

四、安装IDEA

1、下载安装包

2、解压

sudo mv ideaIU-2018.3.6.tar.gz /opt
cd /opt
sudo tar -xzvf ideaIU-2018.3.6.tar.gz 
cd idea-IU-183.6156.11/bin
./idea.sh

3、启动

    (1)下载补丁将其放在idea-IU-183.6156.11/bin目录下

    (2) 修改idea.vmoptions和idea64.vmoptions 

sudo vim idea.vmoptions 
再尾行添加
-javaagent:/opt/idea-IU-183.6156.11/bin/JetbrainsIdesCrack-4.2-release.jar
同样的
sudo vim idea64.vmoptions 
再尾行添加
-javaagent:/opt/idea-IU-183.6156.11/bin/JetbrainsIdesCrack-4.2-release.jar

(3)启动idea选则activation code填入

ThisCrackLicenseId-{    
"licenseId":"ThisCrackLicenseId",    
"licenseeName":"Cupid",    
"assigneeName":"",    
"assigneeEmail":"cupid@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} 

五、安装mvn

本文由【cupid_ly】发布于开源中国,原文链接:https://my.oschina.net/u/3802803/blog/3043203

全部评论: 0

    我有话说: