I want to uninstall my Java EE 6 SDK on my windows 7 machine, but when I run the included uninstall program, I get the following error.
我想在我的windows 7机器上卸载我的Java EE 6 SDK,但是当我运行包含的卸载程序时,我得到了以下错误。
Error: Could not find the required version of the Java(TM) 2 Runtime Environment in'(null)'.
Followed by...
其次是…
This application needs version 1.6 or higher of the Java(TM) 2 Runtime Environment
How to fix this? Do i have to install the java 2 runtime environment just to uninstall my Java EE 6 SDK?
如何解决这个问题?我是否需要安装java 2运行时环境来卸载java EE 6 SDK?
9 个解决方案
#1
19
That's right. You need to install Java SE from http://www.java.com in order to be able to run the Java EE (un)installer. It's written in Java, so it needs at least a JVM.
这是正确的。您需要从http://www.java.com安装Java SE,以便能够运行Java EE (un)安装程序。它是用Java编写的,所以它至少需要一个JVM。
#2
25
Make sure you have both the 32 and 64 bits version of JRE installed. The Java EE x64 installer won't work without the 32 bits JRE installation.
确保您已经安装了32和64位版本的JRE。Java EE x64安装程序不会在没有JRE安装32位的情况下工作。
#3
25
I got the same problem. By installing the program with following parameters it worked like charm.
我遇到了同样的问题。通过以下参数安装程序,它就像魅力一样。
java_ee_sdk-6u4-jdk7-windows-x64.exe -j "D:\Program Files\Java\jdk1.7.0_06"
where D:\Program Files\Java\jdk1.7.0_06 is the folder I have installed JDK 7 in my system.
其中D:\程序文件\Java\jdk1.7.0_06是我在系统中安装JDK 7的文件夹。
#4
4
So assuming you're uninstalling from the uninstaller in the glassfish directory. You can specify the uninstaller with your JAVA_HOME environment variable in the command line:
假设你从glassfish目录的卸载程序中卸载。您可以在命令行中使用JAVA_HOME环境变量指定卸载程序:
uninstall.exe -j "%JAVA_HOME%"
#5
2
I have got all these problems and more, and I found something really simple. All that you have to do is erase Eclipse, go to Eclipse and download the 32-bit Galileo; that works pretty good. You don't need to copy to change a path or anything else.
我得到了所有这些问题,而且我发现了一些非常简单的东西。您所要做的就是擦除Eclipse,转到Eclipse并下载32位的Galileo;工作的很好。您不需要复制来更改路径或其他任何内容。
#6
1
Do this:
这样做:
uninstall.exe -j "C:\Program Files (x86)\Java\jre"
#7
0
I installed the JRE 7 u 45 for Windows 7 (x64 version), then was able to install the 64-bit version of Java EE 7 (x64 version) by using the command line below. Just update the j parameter to point to the java runtime directory on your system:
我为Windows 7 (x64版本)安装了JRE 7 u 45,然后使用下面的命令行安装了64位版本的Java EE 7 (x64版本)。只需更新j参数,以指向系统上的java运行时目录:
c:\temp> java_ee_sdk-7-jdk7-windows-x64.exe -j "C:\Program Files\Java\jre7"
#8
0
I had uninstalled both 32-bit Java (C:\Program Files (x86)\Java...) and 64-bit(C:\Program Files\Java...), but for some reason it left behind a java folder (C:\Program Files\Java...). ONce I manually deleted that folder, the error went away.
我已经卸载了32位的Java (C:\程序文件(x86)\Java.)和64位(C:\程序文件\Java…),但是由于某些原因,它只留下了一个Java文件夹(C:\程序文件\Java…)。一旦我手动删除了那个文件夹,错误就消失了。
#9
0
I have encountered the same problem while installing JAVA EE SDK 7. Setting PATH
, CLASS_PATH
, JAVA_HOME
variables solved the issue.
我在安装JAVA EE SDK 7时遇到了同样的问题。设置路径、CLASS_PATH、JAVA_HOME变量解决了这个问题。
#1
19
That's right. You need to install Java SE from http://www.java.com in order to be able to run the Java EE (un)installer. It's written in Java, so it needs at least a JVM.
这是正确的。您需要从http://www.java.com安装Java SE,以便能够运行Java EE (un)安装程序。它是用Java编写的,所以它至少需要一个JVM。
#2
25
Make sure you have both the 32 and 64 bits version of JRE installed. The Java EE x64 installer won't work without the 32 bits JRE installation.
确保您已经安装了32和64位版本的JRE。Java EE x64安装程序不会在没有JRE安装32位的情况下工作。
#3
25
I got the same problem. By installing the program with following parameters it worked like charm.
我遇到了同样的问题。通过以下参数安装程序,它就像魅力一样。
java_ee_sdk-6u4-jdk7-windows-x64.exe -j "D:\Program Files\Java\jdk1.7.0_06"
where D:\Program Files\Java\jdk1.7.0_06 is the folder I have installed JDK 7 in my system.
其中D:\程序文件\Java\jdk1.7.0_06是我在系统中安装JDK 7的文件夹。
#4
4
So assuming you're uninstalling from the uninstaller in the glassfish directory. You can specify the uninstaller with your JAVA_HOME environment variable in the command line:
假设你从glassfish目录的卸载程序中卸载。您可以在命令行中使用JAVA_HOME环境变量指定卸载程序:
uninstall.exe -j "%JAVA_HOME%"
#5
2
I have got all these problems and more, and I found something really simple. All that you have to do is erase Eclipse, go to Eclipse and download the 32-bit Galileo; that works pretty good. You don't need to copy to change a path or anything else.
我得到了所有这些问题,而且我发现了一些非常简单的东西。您所要做的就是擦除Eclipse,转到Eclipse并下载32位的Galileo;工作的很好。您不需要复制来更改路径或其他任何内容。
#6
1
Do this:
这样做:
uninstall.exe -j "C:\Program Files (x86)\Java\jre"
#7
0
I installed the JRE 7 u 45 for Windows 7 (x64 version), then was able to install the 64-bit version of Java EE 7 (x64 version) by using the command line below. Just update the j parameter to point to the java runtime directory on your system:
我为Windows 7 (x64版本)安装了JRE 7 u 45,然后使用下面的命令行安装了64位版本的Java EE 7 (x64版本)。只需更新j参数,以指向系统上的java运行时目录:
c:\temp> java_ee_sdk-7-jdk7-windows-x64.exe -j "C:\Program Files\Java\jre7"
#8
0
I had uninstalled both 32-bit Java (C:\Program Files (x86)\Java...) and 64-bit(C:\Program Files\Java...), but for some reason it left behind a java folder (C:\Program Files\Java...). ONce I manually deleted that folder, the error went away.
我已经卸载了32位的Java (C:\程序文件(x86)\Java.)和64位(C:\程序文件\Java…),但是由于某些原因,它只留下了一个Java文件夹(C:\程序文件\Java…)。一旦我手动删除了那个文件夹,错误就消失了。
#9
0
I have encountered the same problem while installing JAVA EE SDK 7. Setting PATH
, CLASS_PATH
, JAVA_HOME
variables solved the issue.
我在安装JAVA EE SDK 7时遇到了同样的问题。设置路径、CLASS_PATH、JAVA_HOME变量解决了这个问题。