Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java EE 6 SDK uninstall 'Could not find the required version of the Java(TM) 2 Runtime Environment'

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.

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?

like image 925
01jayss Avatar asked Mar 21 '11 03:03

01jayss


3 Answers

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.

like image 110
Simon Hiemstra Avatar answered Nov 09 '22 17:11

Simon Hiemstra


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.

like image 25
Madhan Ganesh Avatar answered Nov 09 '22 15:11

Madhan Ganesh


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.

like image 19
BalusC Avatar answered Nov 09 '22 16:11

BalusC