ubuntu中intellij idea安装svn在哪

安装 IntelliJ IDEA
报错 求牛人帮助~~纠结了 两天了 - 查看主题 & Ubuntu中文论坛
&[ 3 篇帖子 ]&
&文章标题 : 安装 IntelliJ IDEA
报错 求牛人帮助~~纠结了 两天了发表于 :
20:05帖子: 3
送出感谢: 0 次
接收感谢: 0 次
administrator@ubuntu:~/java/idea-IU-111.277/bin$ ./idea.shjava.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:184) at java.lang.Thread.run(Thread.java:722)Caused by: java.lang.InternalError: internal error: SHA-1 not available. at sun.security.provider.SecureRandom.init(SecureRandom.java:105) at sun.security.provider.SecureRandom.&init&(SecureRandom.java:84) at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:191) at java.security.SecureRandom.&init&(SecureRandom.java:155) at com.sun.crypto.provider.SunJCE.&clinit&(SunJCE.java:94) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:372) at java.lang.Class.newInstance(Class.java:325) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206) at java.security.AccessController.doPrivileged(Native Method) at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206) at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187) at sun.security.jca.ProviderList.getProvider(ProviderList.java:232) at sun.security.jca.ProviderList$3.get(ProviderList.java:147) at sun.security.jca.ProviderList$3.get(ProviderList.java:142) at java.util.AbstractList$Itr.next(AbstractList.java:358) at java.security.SecureRandom.getPrngAlgorithm(SecureRandom.java:542) at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:187) at java.security.SecureRandom.&init&(SecureRandom.java:155) at java.io.File$TempDirectory.&clinit&(File.java:1774) at java.io.File.createTempFile(File.java:1868) at sun.font.FcFontConfiguration.writeFcInfo(FcFontConfiguration.java:390) at sun.font.FcFontConfiguration.init(FcFontConfiguration.java:99) at sun.font.FcFontConfiguration.&init&(FcFontConfiguration.java:74) at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:747) at sun.font.SunFontManager$2.run(SunFontManager.java:426) at java.security.AccessController.doPrivileged(Native Method) at sun.font.SunFontManager.&init&(SunFontManager.java:371) at sun.awt.X11FontManager.&init&(X11FontManager.java:32) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:372) at java.lang.Class.newInstance(Class.java:325) at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:80) at java.security.AccessController.doPrivileged(Native Method) at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:71) at java.awt.Font.getFont2D(Font.java:489) at java.awt.Font.access$000(Font.java:223) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:227) at sun.font.FontUtilities.getFont2D(FontUtilities.java:176) at sun.font.FontUtilities.getCompositeFontUIResource(FontUtilities.java:395) at com.sun.java.swing.plaf.gtk.PangoFonts.lookupFont(PangoFonts.java:204) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.getGTKStyleFactory(GTKLookAndFeel.java:1603) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStyles(GTKLookAndFeel.java:1567) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initialize(GTKLookAndFeel.java:1452) at javax.swing.UIManager.setLookAndFeel(UIManager.java:531) at javax.swing.UIManager.setLookAndFeel(UIManager.java:576) at com.intellij.util.ui.UIUtil.initDefaultLAF(UIUtil.java:1760) at com.intellij.idea.MainImpl.start(MainImpl.java:51) ... 6 moreERROR: Error while accessing com.intellij.idea.MainImpl.start with arguments: []java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:184) at java.lang.Thread.run(Thread.java:722)Caused by: java.lang.InternalError: internal error: SHA-1 not available. at sun.security.provider.SecureRandom.init(SecureRandom.java:105) at sun.security.provider.SecureRandom.&init&(SecureRandom.java:84) at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:191) at java.security.SecureRandom.&init&(SecureRandom.java:155) at com.sun.crypto.provider.SunJCE.&clinit&(SunJCE.java:94) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:372) at java.lang.Class.newInstance(Class.java:325) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206) at java.security.AccessController.doPrivileged(Native Method) at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206) at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187) at sun.security.jca.ProviderList.getProvider(ProviderList.java:232) at sun.security.jca.ProviderList$3.get(ProviderList.java:147) at sun.security.jca.ProviderList$3.get(ProviderList.java:142) at java.util.AbstractList$Itr.next(AbstractList.java:358) at java.security.SecureRandom.getPrngAlgorithm(SecureRandom.java:542) at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:187) at java.security.SecureRandom.&init&(SecureRandom.java:155) at java.io.File$TempDirectory.&clinit&(File.java:1774) at java.io.File.createTempFile(File.java:1868) at sun.font.FcFontConfiguration.writeFcInfo(FcFontConfiguration.java:390) at sun.font.FcFontConfiguration.init(FcFontConfiguration.java:99) at sun.font.FcFontConfiguration.&init&(FcFontConfiguration.java:74) at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:747) at sun.font.SunFontManager$2.run(SunFontManager.java:426) at java.security.AccessController.doPrivileged(Native Method) at sun.font.SunFontManager.&init&(SunFontManager.java:371) at sun.awt.X11FontManager.&init&(X11FontManager.java:32) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:372) at java.lang.Class.newInstance(Class.java:325) at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:80) at java.security.AccessController.doPrivileged(Native Method) at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:71) at java.awt.Font.getFont2D(Font.java:489) at java.awt.Font.access$000(Font.java:223) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:227) at sun.font.FontUtilities.getFont2D(FontUtilities.java:176) at sun.font.FontUtilities.getCompositeFontUIResource(FontUtilities.java:395) at com.sun.java.swing.plaf.gtk.PangoFonts.lookupFont(PangoFonts.java:204) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.getGTKStyleFactory(GTKLookAndFeel.java:1603) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStyles(GTKLookAndFeel.java:1567) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initialize(GTKLookAndFeel.java:1452) at javax.swing.UIManager.setLookAndFeel(UIManager.java:531) at javax.swing.UIManager.setLookAndFeel(UIManager.java:576) at com.intellij.util.ui.UIUtil.initDefaultLAF(UIUtil.java:1760) at com.intellij.idea.MainImpl.start(MainImpl.java:51) ... 6 moreERROR: Error while accessing com.intellij.idea.MainImpl.start with arguments: []java.lang.AssertionError: Error while accessing com.intellij.idea.MainImpl.start with arguments: [] at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:50) at com.intellij.openapi.diagnostic.Logger.error(Logger.java:65) at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:188) at java.lang.Thread.run(Thread.java:722)Exception: java.lang.AssertionError thrown from the UncaughtExceptionHandler in thread &Idea Main Thread 11.0.2#IU-111.277, eap:false&
&文章标题 : Re: 安装 IntelliJ IDEA
报错 求牛人帮助~~纠结了 两天了发表于 :
11:14帖子: 430
jre什么版本啊?
&文章标题 : Re: 安装 IntelliJ IDEA
报错 求牛人帮助~~纠结了 两天了发表于 :
23:24帖子: 773地址: 三亚
你的启动是有问题的,你没看到下面这个错误吗?代码:Exception in thread &main& java.lang.InternalError: internal error: SHA-1 not available.之所以报这个错误,是由于你的JRE运行时找不到SHA算法所致。运行下面这个命令,并把结果贴出来给我。代码:java -version现在开始进行问题定位,先运行下面的命令,这可以确定你的tomcat运行的时候使用的是java命令路径(假设你没有修改catalina.sh文件)代码:which java假设你的输出是/path/to/jre/bin/java那么你看看/path/to/jre/lib/jsse.jar是否存在。该文件中包含了SHA算法的实现类。如果该文件不存在,那么恭喜你,问题找到了。一般来说,出现这个问题,一是你的jre、jdk被破坏了,二是你安装的不是oracle/sun 提供的jre/jdk鉴于SHA算法的出口限制,我很怀疑你安装的openjdk
_________________---using : openSUSE 13.2 ( 3.16.6-2 x86_64 ) , KDE 4.14.2
显示帖子 : 全部帖子1天7天2周1个月3个月6个月1年&排序 作者发表时间文章标题 升序降序&
&[ 3 篇帖子 ]&
正在浏览此版面的用户:没有注册用户 和 2 位游客
您 不能 在这个版面发表主题您 不能 在这个版面回复主题您 不能 在这个版面编辑帖子您 不能 在这个版面删除帖子您 不能 在这个版面提交附件
选择一个版面
------------------
公告/注意事项
& &新闻和通知
& &校园社团支持
& && &华东校区
& && &华南校区
& && &华北校区
& && &华中校区
& && &东北校区
& && &西北校区
& && &港澳台校区
& && &国外校区
& &软件推荐
& &非常任务
系统安装区
& &教学和常见问答
& && &课堂教学和培训
& &初学者园地 - 17.04 - Zesty Zapus
& &系统安装和升级
& && &新立得和软件源
& && &Wubi安装讨论
& &启动和引导
& &网卡问题以及网络和拨号
& && &校园网拨号
& &笔记本、UMPC支持
& &手机和平板
& && &Ubuntu移动应用开发
& &常用硬件支持
& &系统架构支持
配置美化区
& &字体美化和中文支持
& && &个人配置文件存放点
& &桌面特效
& &窗口管理器
& &屏幕抓图
& &办公、图像、机械电子设计等
& && &Vim和Emacs
& &因特网相关软件
& &影音多媒体
& &Wine及其分支
& &游戏和游戏模拟器
& &虚拟机和虚拟化
& &其它类软件
& &开源模板库
服务器管理
& &服务器基础应用
& &数据库管理
& &服务器维护和硬件相关
& &Ubuntu VPS
参与Ubuntu开发
& &软件和文档翻译
& &编译或打包
& &Ubuntu错误报告
程序设计区
& &Shell脚本
& &GTK+和QT
& &软件/网站开发
& && &Python/Php/Perl
& && &C/C++/Java
& &内核及嵌入式开发
& &开源小工具
& &Ubuntu 17.10
& &Ubuntu 16.04 LTS
& &Ubuntu 14.04 LTS
& &Ubuntu 12.04 LTS
& &Ubuntu 10.04 LTS
& &老旧版本支持
& && &Ubuntu 15.10
& && &Ubuntu 15.04
& && &Ubuntu 14.10
衍生发行版
& &Ubuntu GNOME
& &Kubuntu
& &Xubuntu & Lubuntu
& &Ubuntu中文衍生版
& && &UbuntuKylin
& &Ubuntu国外衍生版
& && &Mint
& &Ubuntu衍生版制作
& &其它类Unix OS发行版
& && &Arch发行版
& && &Debian发行版
& && &OpenSUSE发行版
& && &Deepin
& &深度PK版
& &Ubuntu故事和感慨
& &Full Circle开源杂志
分享交流区
& &同城交流
& &线下活动专版
& &Ubuntu宣传推广
& &论坛管理
& && && &Ubuntu中文网上商店Ubuntu下安装IntelliJ IDEA 10.0.3
Ubuntu下安装IntelliJ IDEA 10.0.3
发布时间: 23:47:06
编辑:www.fx114.net
本篇文章主要介绍了"Ubuntu下安装IntelliJ IDEA 10.0.3",主要涉及到Ubuntu下安装IntelliJ IDEA 10.0.3方面的内容,对于Ubuntu下安装IntelliJ IDEA 10.0.3感兴趣的同学可以参考一下。
1)安装jdk1.6
java开发和IntelliJ IDEA 10.0.3运行都需要java的支持
打开应用程序》附件》终端,输入以下命令
sudo apt-get install sun-java6-jdk
安装完成后用以下命令测试
java -version
2)IntelliJ IDEA
在以下地址下载IntelliJ IDEA
/idea/download/index.html#linux
在文件所在目录输入以下命令解压缩
tar xfz idea-10.0.3.tar.gz ./usr/lib/
解压缩后生成 idea-255文件夹
3)配置java环境
export JDK_HOME="/usr/lib/jvm/java-6-sun/"
Ubuntu 安装IntelliJ IDEA 13:06(又转载了一位外国GG)I&ve been a user of the excellent&IntelliJ Java IDE&for 4 years on Windows. Even though the official Linux support by JetBrains is only for RedHat, you can also install IntelliJ fairly easily on&Ubuntu. I&ve tested this with&Xubunto&7.10 (Gutsy),&Java 6, and IntelliJ 7. Here&s how to do it in four basic steps:1) Get JavaInstall the Java 6 JDK, which IDEA itself needs to run. (You can have other JDKs for your projects, but you&ll need this one to run IntelliJ itself.) For example, type this in a terminal:sudo apt-get install sun-java6-jdk
Follow the prompts for root password, download confirmation, and eventually the Sun EULA to install Java itself. If it installed successfully, you should be able to type this at a prompt:
java -version
& to get several lines telling you the version of Java you have installed. If this doesn&t work, refer to Sun&s documentation on troubleshooting installations.
2) Get IntelliJ IDEA
Download the latest version of IntelliJ IDEA for Linux:
/idea/download/index.html#linux
Once the download is finished, extract the archive using the correct filename according to your download. For example, to install IntelliJ in&/usr/lib, do the following:
tar xfz idea-7.0.1.tar.gz ./usr/lib/
The IntelliJ installation will now be in a subdirectory indicating the build number, in the format &idea-xxxx&. In the case of IDEA 7.0.1, the app directory is &idea-7364&. (Once the extraction is done, you can delete the downloaded archive to conserve disk space if needed.)
3) Get Environmental
There are a couple of environment variables to be taken care of. First, you need to set a new environment variable that tells IntelliJ where your install of Java is. For example:
export JDK_HOME="/usr/lib/jvm/java-6-sun/"
Use the &env& command, or just &echo $JDK_HOME&, to verify the variable is set.
Next, you&ll need to edit&/etc/environment&with superuser rights in the editor of your choice, adding the&idea-xxxx/bindirectory to your&PATH&variable. For example, you can edit the environment with the GUI mousepad editor like so:
sudo mousepad /etc/environment
The various directories in the environment PATH variable are delineated by colons (:). Append the current value (inside the quotes) with a new colon and then add the&idea-xxxx/bin&location. It should look something like this:
PATH="/usr/local/sbin:/usr/local/bin:/usr/lib/idea-7364/bin"
Save and close the environment file. You&ll need to &source& it for your system to pick up the new directory in the PATH. You can verify your changes by echoing the variable as well:
source /etc/environment
echo $PATH
If you see the path to IntelliJ returned in the output, you&re all set.
Lastly, you may want to change the VM settings of IntelliJ. This depends entirely on your project size and other factors, so you&ll need to base these settings on your own need. The settings are in&idea-xxx/bin/idea.vmoptions.
4) Get Started!
That&s it. Now you can run &idea.sh& from a terminal in any directory, and IntelliJ should launch&
sh idea.sh
If you run into problems, be sure to double-check the readme files in the installation directory.
If this article proved useful to you, please drop us a comment and let us know. Or, if you find problems/alternate solutions along the way, please share them for the benefit of others. Thanks and happy coding!
一、不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播不法有害信息!
二、互相尊重,对自己的言论和行为负责。
本文标题:
本页链接:ubuntu跑起IDEA的全套教程
ubuntu跑起IDEA的全套教程
使用Eclipse开发好几年了,用习惯了所有常用的快捷键,就感觉Eclipse开发Java接JSP都非常方便,但是后来接了一个项目,强制要求使用IDEA开发,使用了一点时间发现IDEA各方面都比Eclipse强大,让你写Java代码更加行如流水,之后一直使用至今,他支持目前主流的开发,JavaEE,Android等。
那IDEA到底好在哪,它聪明,使用IDEA你不需要选择任何东西,你只需要把光标移到你的表达式中然后按下Alt+F8。IDEA会很好的理解这个你可能需要的表达式,然后显示一个对话窗口,其中有一些它给出的建议参数变量。你也可以编辑并在对话框中立即将得到这个表达式的值。相当的方便!
我相信你也是听了很多介绍才要来安装的吧,那我们进入正题吧
首先安装JDK,我之前写过一片文章里面有Ubuntu JDK的安装方法,这里就不重复造轮子了,下面是地址:
安装好JDK之后,我们来安装一下IDEA
1、下载intellij IDEA14
下载地址:
2、将下载的IntelliJ
IDEA 14.1.4.tar.gz 解压缩到/opt/下 我的软件一般都房子啊这里
tar -zxvf IntelliJ IDEA 14.1.5.tar.gz -C /opt/
3、这里好像要配置一下环境变量
export IDEA_JDK=/usr/lib/jvm/jdk1.7.0_71
4、进入IDEA安装目录下的bin目录,执行
5、运行起来后输入注册码
value:61156-YRN2M-5MNCN-NZ8D2-7B4EW-U12L4
我的热门文章
即使是一小步也想与你分享1386人阅读
IntelliJ IDEA(34)
Ubuntu 系统下安装 IntelliJ IDEA
系统支持:只要是支持 GNOME 或 KDE 桌面系统,建议是 Ubuntu(32位和64位都可以)JDK 版本:Oracle JDK 1.6 或以上内存:最低要求 1 GB,推荐 2 GB 以上硬盘:最低要求 2 GB显示器:最低要求 1024 X 768 分辨率更多信息可以阅读:/idea/download/system_requirements.jsp?os=linux
我这里以 Ubuntu 系统为例进行讲解。但是,在学习下面内容之前请先看下章节:
因为它们配置流程是基本一样的,只是系统不同,开始的步骤不太一样而已,因此相同部分我这里是不会再讲的,我只讲 IntelliJ IDEA 在 Linux 安装特殊的地方。
Ubuntu 下安装过程
先把你下载到的&ideaIU-14.1.4.tar.gz&移动到你平时存放软件的目录下,然后进行解压,我电脑是放在 /opt 下。
终端下解压命令:tar xfz ideaIU-14.1.4.tar.gz,解压出来的目录名称是:idea-IU-141.1532.4可能在解压过程中你需要&sudo&命令权限,或者是切换到 root 账号下。如果你是切换到 root 用户下就一定要注意,解压完记得再切回来你常用的账户,不然等下生成的
IntelliJ IDEA 配置文件是放在/home/root&下,这样就跟你常用的那个用户没啥关系了。
在假设你已经通过终端切换到了你常用的用户下之后,现在用终端进入解压目录下的&bin 子目录&下,然后在终端下运行启动命令:./idea.sh,运行的效果如上图箭头所示。剩下的配置步骤就跟
Windows 基本一样了,如标注 1 所示,所以这里不多讲。
其中,在整个首次启动的配置过程中,唯一跟 Windows 不太一样的就是上图标注 1 这个地方。原因是 Linux 下创建启动图标是非常非常非常的麻烦,所以 IntelliJ IDEA 帮我们考虑到了,所以只要勾选下即可解决这种麻烦事。
创建完启动图标之后,我们可以在如上图标注 1 所示的 Dash 这个地方找到 IntelliJ IDEA 图标。但是图标我们一般是放在启动栏上的,所以这里你可以按着箭头的方向拖动 IntelliJ IDEA 图标到启动栏上即可。
启动的最后效果如上图,是不是有点过于简单了?!
Linux 的卸载是不需要执行程序的,只需要:删除对应目录。
删除主程序目录,也就是我们本文上面讲的解压出来的&idea-IU-141.1532.4。如果不想保留你的配置文件,还可以删除配置目录,目录所在位置:./home/你用登录名/.IntelliJIdea14
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:26230次
积分:1048
积分:1048
排名:千里之外
原创:80篇
转载:15篇
(2)(1)(82)(8)(1)(1)Ubuntu 64 + IntelliJ IDEA + Genymotion 搭建Android开发环境 - Everything - ITeye技术网站
博客分类:
环境搭建所需可至 /s/1gd1Kf4Z 下载
此处假定 Ubuntu 用户名为 chenfei
开发相关全部存放在 /home/chenfei/Dev/ 下
1.1 下载 JDK
/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
选择 Accept License Agreement
选择 Linux x64 tar.gz 进行下载
此处选择 jdk-7u51-linux-x64.tar.gz 进行下载
文件:/home/chenfei/Dev/jdk-7u51-linux-x64.tar.gz
1.2 下载 Android SDK
/sdk/index.html
选择其他平台
文件:/home/chenfei/Dev/android-sdk_r22.3-linux.tgz
1.3 下载 IntelliJ IDEA
/idea/download/
选择 Linux,下载 Community Edition 版本
文件:/home/chenfei/Dev/ideaIC-13.0.1.tar.gz
1.4 下载 Genymotion 及 IntelliJ IDEA 的 Genymotion 插件
/page/launchpad/download/
/home/chenfei/Dev/genymotion-2.0.3_x64.bin
/home/chenfei/Dev/genymotion-idea-plugin-.jar
1.5 注册 Genymotion
打开 “终端” / “Terminal” 执行如下命令进入 Dev 目录:
2.1 安装 JDK
tar zxvf jdk-7u51-linux-x64.tar.gz
目录:/home/chenfei/Dev/jdk1.7.0_51
2.2 安装 Android SDK
tar zxvf android-sdk_r22.3-linux.tgz
目录:/home/chenfei/Dev/android-sdk-linux
2.3 安装 VisutalBox
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian quantal non-free contrib" && /etc/apt/sources.list.d/virtualbox.org.list'
sudo apt-get update
sudo apt-get install virtualbox-4.3
2.4 安装 Genymotion
chmod +x genymotion-2.0.3_x64.bin
./genymotion-2.0.3_x64.bin
目录:/home/chenfei/Dev/genymotion
2.5 安装 IntelliJ IDEA
tar zxvf ideaIC-13.0.1.tar.gz
目录:/home/chenfei/Dev/idea-IC-133.331
3.1 配置 JDK
执行:sudo gedit /etc/profile 打开 profile 文件,复制如下内容到文件末尾,并保存:
export JAVA_HOME=/home/chenfei/Dev/jdk1.7.0_51
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:${PATH}
注销重新登录
3.2 配置 Android SDK
执行:/home/chenfei/Dev/android-sdk-linux/tools/android 打开 Android SDK Manager
等待联网加载 packages 完毕
Android SDK Platform-tools
Android SDK Build-tools
Android 4.4.2 (API 19)
Documentation for Android SDK
SDK Platform
ARM EABI v7a System Image
Intel x86 Atom System Image
Google APIs
Sources for Android SDK
Android Support Library
点击 Install 9 packages --& Choose Packages to install --& 依次选中安装项下 Accept --& Install
等待下载安装完毕,关闭 “Android SDK Manager” 窗口
执行:sudo gedit /etc/profile 打开 profile 文件,复制如下内容到文件末尾,并保存:
export ANDROID_SDK_HOME=/home/chenfei/Dev/android-sdk-linux
export PATH=${ANDROID_SDK_HOME}/tools:${ANDROID_SDK_HOME}/platform-tools:${PATH}
3.3 配置 Genymotion
执行:/home/chenfei/Dev/genymotion/genymotion 打开 Genymotion
3.3.1 新增虚拟设备
Add a first virtual device --& Yes --& “Virtual device creation wizard”
Connect --& “Connect to Genymotion Cloud”
Username --& Password --& Connect
选择虚拟设备 --& Next --& “Name of the Genymotion virtual device to create” --& Next --& “Retrieve and deploy Genymotion virtual device”
等待下载完成 --& Finish
3.3.2 Settings
/home/chenfei/Dev/android-sdk-linux
3.4 配置 IntelliJ IDEA
打开主文件夹
进入目录:/home/chenfei/Dev/idea-IC-133.331/bin/ 双击 idea.sh,点击 “运行”,打开 IntelliJ IDEA
I do not have a previous version of IntelliJ IDEA or I do not want to import my settings --& OK
3.4.1 锁定到启动器
右击 “IntelliJ IDEA” 在启动器上的图标
锁定到启动器
3.4.2 安装 IntelliJ IDEA 的 Genymotion 插件
Plugins --& Install plugin from disk --& /home/chenfei/Dev/genymotion-idea-plugin-.jar --& OK
OK --& Restart
3.4.2 创建 Empty Project
Finish --& “Empty Project - - IntelliJ IDEA 13.0.1”
关闭 “Project Structure”
3.4.3 配置 IntelliJ IDEA
3.4.3.1 View --& Toolbar
3.4.3.2 View --& Tool Buttons
File --& Settings... --& “Settings”
Genymotion --& Select the path to the Genymotion folder --& /home/chenfei/Dev/genymotion --& OK --& OK
4.1 创建Android Module
File --& New Module --& “New Module”
Application Module --& Module name --& Module SDK
Module name : HelloWord
Module SDK
New... --& “Cannot Create SDK”
OK --& “Select Home Directory for JDK”
/home/chenfei/Dev/jdk1.7.0_51 --& OK --& “Select Home Directory for Android SDK”
/home/chenfei/Dev/android-sdk-linux --& OK --& “Create New Android SDK”
Next --& Application name --& Package name* --& Create "Hello, World!" activity --& Activity name --& Show device chooser dialog --& Finish
4.2.1 运行 Genymotion 虚拟设备
--& “Genymotion Device Manager”
选择 3.3.1 中创建的虚拟设备 --& Start...
等待虚拟设备启动完成后关闭 “Genymotion Device Manager”
4.2.2 运行 Android 程序
--& “Choose Device” --& Choose a running device --& 选择刚启动的虚拟设备 --& OK
浏览 15377
chenfeicqq
浏览: 181812 次
来自: 杭州
Ubuntu下面的Genymotion可以用QQ么?我装上打不 ...
话说怎么是英文的
非常感谢,友情提示!解压的时候记得要从第一个即part1开始解 ...
wowanghechong 写道下载完后解压不了啊??刚测试了 ...}

我要回帖

更多关于 intellij idea安装git 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信