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

Linux 环境 Intelij Idea 安装与快捷图标配置

时间:2018-05-19 21:32:02      阅读:1095      评论:0      收藏:0      [点我收藏+]

标签:html   env   launch   sudo   tar   solution   blog   entry   createdb   

索引:

开源Spring解决方案--lm.solution

参看代码 GitHub:

intelij-idea.txt

一、Linux (DeepinOS) 环境

  1.官网下载

1 ideaIU-2018.1.2.tar.gz

  2.解压

1 tar -zxvf ideaIU-2018.1.2.tar.gz -C ~/dev/Idea

  3.设置执行权限

1 cd ~/dev/Idea/idea-IU-181.4668.68/bin
2 sudo chmod a=+rx ./idea.sh

  4.安装

1 执行此 shell 前,可对 IDEA 进行 xxxx ,具体方法自行在网上搜索查看
2 sudo ./idea.sh

  5.手动创建桌面快捷图标

 1 1.创建一个 idea.desktop 文件:
 2 [Desktop Entry]
 3 Name=IdeaIU
 4 Comment=IdeaIU
 5 Exec=env JAVA_HOME=/home/liumeng/dev/Java/jdk1.8.0_171 /home/liumeng/dev/Idea/idea-IU-181.4668.68/bin/idea.sh
 6 Icon=/home/liumeng/dev/Idea/idea-IU-181.4668.68/bin/idea.png
 7 Terminal=false
 8 Type=Application
 9 Categories=Application;
10 X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher
11 X-Deepin-AppID=idea
12 2.将文件放到 /usr/share/applications 中:
13 sudo cp ~/dev/Idea/idea-IU-181.4668.68/bin/idea.desktop /usr/share/applications

 

 

 

 

                                         蒙

                                    2018-05-19 20:50 周六

 

Linux 环境 Intelij Idea 安装与快捷图标配置

标签:html   env   launch   sudo   tar   solution   blog   entry   createdb   

原文地址:https://www.cnblogs.com/Meng-NET/p/9061612.html

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