简体   繁体   English

在安装Eclipse时缺少JRE

[英]JRE Missing when installing eclipse

So I'm trying to install Eclipse IDE for Java on my main pc. 因此,我试图在主计算机上安装Java的Eclipse IDE。 I had no problem installing it on my laptop but when trying to install it on my PC I get JRE Missing webpage. 我在笔记本电脑上安装它没有问题,但是当尝试在PC上安装它时,我得到了JRE Missing网页。

I've installed the JDK and JRE and they are both working. 我已经安装了JDK和JRE,它们都可以工作。 I could use some advice. 我可以使用一些建议。

Unless explicitly told in eclipse.ini Eclipse uses the system wide java command. 除非在eclipse.ini明确告知,否则Eclipse使用系统范围的java命令。

Easiest for you right now is to install a system wide JRE (same 32/64 bit flavor as eclipse). 现在,最方便的方法是安装系统范围的JRE(与Eclipse相同的32/64位格式)。

i also had the problem with eclipse and the JRE. 我也遇到了Eclipse和JRE的问题。

Try to delete the 2 Java versions and deinstall eclipse. 尝试删除2个Java版本并卸载eclipse。 then install the JDK first and seccond the JRE. 然后先安装JDK,然后第二个JRE。 after the 2 installations install the new eclipse version(in the installer you chan choose between some installations take the first). 在2个安装之后安装新的eclipse版本(您可以在安装程序中选择在某些安装之间进行第一个安装)。

i hope I can help you. 我希望我能为您服务。

I had the same issue. 我遇到过同样的问题。 It was happening when installing different match of JDK version (11 in my case), with JRE (8 in my case). 这是在安装JDK版本(在我的情况下为11)和JRE(在我的情况下为8)的其他匹配项时发生的。

So, in order to have this installation of Eclipse working make sure that you have both JDK and JRE referring to the same version. 因此,为了使Eclipse的此安装正常工作,请确保JDK和JRE都引用相同的版本。 Installation will not work if they have different versions. 如果它们具有不同的版本,则安装将无法进行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM