java - 在 ubuntu 中安装 eclipse(eclipse-jee-helios-linux-gtk-x86_64) 时出错

标签 java linux eclipse ubuntu

我为我的 ubuntu 系统下载并解压了 eclipse 64 位版本。下载和解压成功,但是当我尝试运行 eclipse 时出现以下错误

JVM terminated. Exit code=1
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/ubuntu/Downloads/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/ubuntu/Downloads/eclipse/eclipse
-name Eclipse
--launcher.library /home/ubuntu/Downloads/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.0.v20100503/eclipse_1307.so
-startup /home/ubuntu/Downloads/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata 230012
-product org.eclipse.epp.package.jee.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/ubuntu/Downloads/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

请帮帮我。

我的eclipse.ini文件

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

最佳答案

您可以点击此链接 http://ubuntuhandbook.org/index.php/2016/01/how-to-install-the-latest-eclipse-in-ubuntu-16-04-15-10/ .安装eclispe。你说你正在吃 eclipse.exe,我认为带有 .exe 扩展名的正常文件不属于 ubuntu

关于java - 在 ubuntu 中安装 eclipse(eclipse-jee-helios-linux-gtk-x86_64) 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41506904/

相关文章:

java - 学习有关对象的基础知识

linux - packet_ops_spkt 和 packet_ops 有什么区别

linux - Linux平台上getaddrinfo()函数调用的问题

java - 为什么 Eclipse 在接口(interface)方法上提示 @Override?

eclipse - 无法使用 Eclipse 3.4.0、svn 1.5.1 创建 subversion 存储库

java - JFileChooser getCurrentDirectory() 到 String

java - 我必须在 Netbeans 7.1 中的何处复制 java 代码的 default.properties 文件?

c++ - 为 make/g++ 缓存头文件

eclipse - 使用深色主题时如何使 Eclipse 选项卡背景颜色发生变化?

java - 如何从 Java Web 应用程序托管用户生成的 HTML 页面?