Eclipse:JVM 终止.退出代码=2 [英] Eclipse: JVM terminated. Exit code=2

查看:29
本文介绍了Eclipse:JVM 终止.退出代码=2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近决定开始尝试 Android 应用程序开发,因此我下载了适用于 Windows 的 Java SE 开发工具包 8 (x86)(我使用的是 64 位 Windows 8,但我的指南建议使用 32 位)、Android SDK 和面向 Java 开发人员的 Eclipse IDE (x86).

I recently decided to start trying Android app development, so I downloaded the Java SE Development Kit 8 (x86) for Windows (I got Windows 8 64bit, but my guide recommends getting the 32bit one), the Android SDK, and the Eclipse IDE for Java Developers (x86).

但是,当我双击 eclipse.exe 时,我的 Eclipse 不会启动!相反,我收到以下错误消息:

However, my Eclipse won't launch when I double click eclipse.exe! Instead, I get the following error message:

我尝试按照我查找的一些解决方案中的建议将 Java 添加到我的环境变量中的 Path 变量中,但它仍然无法正常启动.

I tried adding Java to my Path variable in my Environment variables as suggested in some of the solutions I looked up, but it still doesn't launch properly.

有人知道我还能尝试什么吗?另外,如果可能的话,请不要使用超级技术词汇,因为我是这些东西的新手并且不会理解你......谢谢哈哈:D

Anyone know what else I can try? Also, if possible, please do not use super-technical vocabulary as I'm new to these kinds of stuff and will not understand you...thank you haha :D

推荐答案

我知道如何解决您的问题.去搜索并放入环境,会出现提示并要求您为您的帐户编辑环境变量",单击它会弹出一个窗口.将有在顶部运行的当前路径(您应该运行 JDK 版本,我的是 1.8),在底部将有可供选择的路径.选择(在底部)java 路径并删除它,然后单击确定.这应该有效.

I know exactly how to solve your problem. Go to search and put in environment, a prompt will come up and ask you to "Edit environmental variables for your account" click that and a window will pop up. There will be the current paths which are running on the top (you should have your JDK version running, mine is 1.8) and on the bottom part there will be paths to choose from. Select (on the bottom part) the java path and delete it, then click okay. This should work.

如果它不起作用,您也可以添加一个新路径到对我有用的 java bin 文件夹.

If it didn't work, You may also add a new path to the java bin folder which worked for me.

这篇关于Eclipse:JVM 终止.退出代码=2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆