Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

"Cannot determine a valid Java Home"

D_SchneiderAug 30 2017 — edited Aug 31 2017

I had to do an "emergency deploy" of JRE 8u144 32bit on our Windows 7 64bit installations. I used powershell with psexec to let every single PC install Java with the following switches: jre-8u144-windows-i586.exe INSTALL_SILENT=1 AUTO_UPDATE=0 REBOOT=0 SPONSORS=0 REMOVEOUTOFDATEJRES=1

Somehow quite some of the installations don't work. JRE seems to be installed correctly, but when a JavaWs application is started I get the error "Cannot determine a valid Java Home". What does that mean and how can I fix it without reinstalling JRE everywhere (which probably would break working installations on other PCs, as JRE deletes a working 8u144 installation when rolled out again)?

Any help would really be appreciated as this issue is driving me nuts...

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 28 2017
Added on Aug 30 2017
2 comments
62,716 views