Bad Installation. No JRE found in configuration file
I’ve succesfully installed Java 1.4.2 on other pc’s, but I have one Win XP Pro that won’t install.
It looks like the installation goes ok, and a Java Web Start shortcut is placed on the desktop. When I run the shortcut, I get this message: «Bad Installation. NO JRE found in configuration file.»
What can I do to fix this? I’ve done everything the same as the succesful installs. Thanks.
Comments
I have a similar problem with windows 2k. I noticed that the javasoft entry in the registry is greyed out and I cannot change anything about it even when logged on as the administrator.
Have you made any progress on this?
I don’t know about the windows, but I had the same problem on Linux.
I installed 1.4.2 as root and root could run javaws but any other user could not. The solution was to update
/.java/.deployment/deployment.properties. I copied the one from root. Here is the content:
#
#Wed Dec 10 18:02:57 EST 2003
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.platform=1.4
deployment.javaws.logFileName=
deployment.javaws.player.bounds=514,398,572,403
deployment.javaws.jre.0.osname=Linux
deployment.javaws.jre.0.path=/usr/java/j2sdk1.4.2_02/jre/bin/java
deployment.javaws.showConsole=true
deployment.javaws.jre.0.product=1.4.2_02
deployment.javaws.logToFile=false
deployment.javaws.player.manager=0
deployment.javaws.jre.0.osarch=i386
deployment.javaws.cache.dir=/tmp/.javaws/cache
deployment.javaws.player.mode=1
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
deployment.javaws.version=javaws-1.4.2_02
deployment.javaws.jre.0.enabled=true
deployment.javaws.proxy.httpproxyoverride=
The similar file seems to be c:\Documents and Settings\ \Application Data\Sun\Java\Deployment\deployment.properties
I got exact the same problem.
You know what? Mine is a freshly installed Windows XP prefessional with latest service pack. The JDK is also the latest: JDK 1.4.2 and NetBeans3.5.1.
I see no Web Start icon anywhere. When I click javaws.exe (under C:\j2sdk_nb\j2sdk1.4.2\jre\javaws), I got a message saying, Bad installation, no JRE found in configuration file.
Allright people. I had the exact same problem on windows 2000. It seems the JRE that is installed with the latest SDK (1.4.2) doesn’t install a proper config file for web start. Here’s what I did to fix it:
1. I went to java.com
2. I started the automated installation for the JRE
This will install a second copy of the JRE (with _03 appended, the SDK has _02!) and webstart will work immediately after that. For reference, here’s the properties file it installed:
Could someone try this configfile
(in c:\documents and settings\
with a 1.4.2 SDK installation and see if it works? Be sure to change the path line of course.
Bad Installation. No JRE found in configuration file
I’ve succesfully installed Java 1.4.2 on other pc’s, but I have one Win XP Pro that won’t install.
It looks like the installation goes ok, and a Java Web Start shortcut is placed on the desktop. When I run the shortcut, I get this message: «Bad Installation. NO JRE found in configuration file.»
What can I do to fix this? I’ve done everything the same as the succesful installs. Thanks.
Comments
I have a similar problem with windows 2k. I noticed that the javasoft entry in the registry is greyed out and I cannot change anything about it even when logged on as the administrator.
Have you made any progress on this?
I don’t know about the windows, but I had the same problem on Linux.
I installed 1.4.2 as root and root could run javaws but any other user could not. The solution was to update
/.java/.deployment/deployment.properties. I copied the one from root. Here is the content:
#
#Wed Dec 10 18:02:57 EST 2003
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.platform=1.4
deployment.javaws.logFileName=
deployment.javaws.player.bounds=514,398,572,403
deployment.javaws.jre.0.osname=Linux
deployment.javaws.jre.0.path=/usr/java/j2sdk1.4.2_02/jre/bin/java
deployment.javaws.showConsole=true
deployment.javaws.jre.0.product=1.4.2_02
deployment.javaws.logToFile=false
deployment.javaws.player.manager=0
deployment.javaws.jre.0.osarch=i386
deployment.javaws.cache.dir=/tmp/.javaws/cache
deployment.javaws.player.mode=1
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
deployment.javaws.version=javaws-1.4.2_02
deployment.javaws.jre.0.enabled=true
deployment.javaws.proxy.httpproxyoverride=
The similar file seems to be c:\Documents and Settings\ \Application Data\Sun\Java\Deployment\deployment.properties
I got exact the same problem.
You know what? Mine is a freshly installed Windows XP prefessional with latest service pack. The JDK is also the latest: JDK 1.4.2 and NetBeans3.5.1.
I see no Web Start icon anywhere. When I click javaws.exe (under C:\j2sdk_nb\j2sdk1.4.2\jre\javaws), I got a message saying, Bad installation, no JRE found in configuration file.
Allright people. I had the exact same problem on windows 2000. It seems the JRE that is installed with the latest SDK (1.4.2) doesn’t install a proper config file for web start. Here’s what I did to fix it:
1. I went to java.com
2. I started the automated installation for the JRE
This will install a second copy of the JRE (with _03 appended, the SDK has _02!) and webstart will work immediately after that. For reference, here’s the properties file it installed:
Could someone try this configfile
(in c:\documents and settings\
with a 1.4.2 SDK installation and see if it works? Be sure to change the path line of course.