Webstart: "Bad installation; no JRE found...&

“…in config file”.

According to some Sun troubleshooting info, I need to fix my “javaws.cfg”. Sadly, the Sun java installer didn’t create that file and I have no other handy windows computer with it either.

Could someone who DOES have a working webstart on 1.4.2 windows copy/paste their javaws.cfg (and tell me the exact folder where it’s located) please? Sun doesn’t bother to document the file syntax, except to show the Solaris syntax, and I suspect the reason my attempt isn’t working is because I don’t know how they represent things like “C:” in their file format :(.

FYI: This is with a brand spanking new from-scratch clean installation of 1.4.2_05 on a freshly fully patched win2k installation.

JWS won’t run at all, the file associations are not happening (MSIE doesn’t have a mapping for JNLP), and java is not in the path BUT the JRE appears to run OK from command prompt.

Ideas?

I don’t have a javaws.cfg on my comp (webstart and everything else works flawlessly).

jnlp association…

description: JNLP File
mime type: application/x-java-jnlp-file
default extension: .jnlp
procedures(?): launch

settings of “launch”: “C:\Programme\Java\j2re1.4.2_03\javaws\javaws.exe” “%1”

Instead of “programme” you’ve most likely “program files” there.


jar association…

description: Executable Jar File
mime type:
default extension: .jar
procedures(?): open

settings of “open”: “C:\Programme\Java\j2re1.4.2_03\bin\javaw.exe” -jar “%1” %*