Jump to content

cannot determine a valid java home


Recommended Posts

Posted

Not a new user, just setting up again.  I have deleted Java, reinstalled the latest version, followed the link to get start.jnlp, ran it, and got the ISY Launcher shortcut.  But when I run it I still get the "cannot determine a valid java home" error.  I'm on the latest release of windows10.  I can use the Administrative console from the finder, but the only way I can get the finder is by running start,jnlp again.

Attached is the Java Console contents.


 

Java Console Output.txt

Posted

@DikH,

Make sure you're clearing Java Cache!

https://www.java.com/en/download/help/plugin_cache.html

Important step - make sure ALL THREE boxes are checked!

image.png

 

Once Java cache is cleared then download the launcher mentioned in this thread

That should clear you up. 

Once you install the launcher it should add an icon to your desktop for "ISY Launcher"

image.png

That should get you into the finder and able to run admin console again. The launcher is great to making sure that you're running the correct user interface with the firmware of your ISY. 

 

One important thing...

22 minutes ago, DikH said:

the only way I can get the finder is by running start,jnlp again

Make sure you DELETE any old versions of START.jnlp. If you've got an old version that's different than the firmware on the ISY you could be running into other problems. But, since you can't even get it to run it sounds like your Java isn't clearing out the old info and causing you this problem.

 

Other things to check if still having the issue is check the light status on the ISY. Make sure the PLM is connected/online and powered on before the ISY is powered on (in case you unplug/re-plug any devices). 

Report back if resolved or still have issues! Good luck.

 

Posted

Nope still get the error.

Java Console:

Missing Application-Name manifest attribute for: https://isy.universal-devices.com/launcher/isyfinder-2.0.jar
java.io.FileNotFoundException: C:\Users\dikha\AppData\Local\Temp\udi_launcher.state (The system cannot find the file specified)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at com.universaldevices.isyfinder.ISYFinder.restoreState(Unknown Source)
    at com.universaldevices.isyfinder.ISYFinder.restoreState(Unknown Source)
    at com.universaldevices.isyfinder.ISYFinder$7.run(Unknown Source)

Posted (edited)

I get the same errors in my Java console when I launch the ISY Finder. However, that doesn't prevent the ISY Finder from running.

Where are you seeing a "cannot determine a valid java home" error that you eluded to in your original post.

Edited by Goose66
Posted

@DikH How are you installing Java? And are you installing 32-bit or 64-bit? 

I know the log shows you have the latest build, but what does this show:

Open command prompt.

Type:   java -version

What is the result?

Mine:
java version "1.8.0_311"
Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
Java HotSpot(TM) Client VM (build 25.311-b11, mixed mode)

 

Open Java Control Panel (in Win 10 hit menu and just type Java and it will show "Configure Java"). 

Click "Java" tab.
Click "View" button

What is your path?

(Mine shows: C:\Program Files (x86)\Java\jre1.8.0_311\bin\javaw.exe)

Even though I'm on 64 (Win 10 Pro) and running 64 bit Chrome seems like Java is just installed as 32-bit, but does say "mixed mode" (above). 

You can have both installed on your system. So maybe you're only installing the 64-bit, but you need to also have the 32-bit version. 

 

From Java downloads: https://java.com/en/download/manual.jsp

Quote

If you use 32-bit and 64-bit browsers interchangeably, you will need to install both 32-bit and 64-bit Java in order to have the Java plug-in for both browsers. » FAQ about 64-bit Java for Windows

 

Last resort - manually set Java Home - https://mkyong.com/java/how-to-set-java_home-on-windows-10/

There are other instructions that seem to be about the same.

This is very strange. I would expect proper removal of Java and clearing the cache would clear this up. The only thing I can think of is you're only installing 64-bit java and need to have both.

 

Last thought...are you running any 3rd party firewall or antivirus software? Those can also cause some launcher issues. 

See the wiki of how to adjust firewall if needed - https://wiki.universal-devices.com/index.php?title=Main_Page#Configure_Firewall_Software

 

 

 

Posted

@DikH Any update here? Assume you got things working since you didn't come back needing more help.  Just checking if you're still running into problems.

 

  • 2 months later...
Posted

I just found this post because I am troubleshooting the same problem. I currently launch the ISY by opening the Java Configuration window and start the ISY Launcher from the Java Cache Viewer and select Applications. And yes, I have cleared the cache, all three selections. My Java directory resides in the Program Files directory, not Program Files (X86). Does that make a difference?

Posted
51 minutes ago, btwinc said:

I just found this post because I am troubleshooting the same problem. I currently launch the ISY by opening the Java Configuration window and start the ISY Launcher from the Java Cache Viewer and select Applications. And yes, I have cleared the cache, all three selections. My Java directory resides in the Program Files directory, not Program Files (X86). Does that make a difference?

which java do you have installed?  The basic Java 8 installation downloaded here: https://java.com/en/  is what all the instructions on this forum are written for.  If you install even the Java 8 SDK it changes things...  If you install Java 11 or Java 17 which I believe are open source versions those aren't supported.

Posted

Version 8 Update 321.  The "Cannot determine a valid Java Home" prompt makes me think there is a parameter in the ISY launcher shortcut properties I can change:

C:\ProgramData\Oracle\Java\javapath\javaws.exe -localfile -J-Djnlp.application.href=https://isy.universal-devices.com/launcher/isy.jnlp "C:\Users\Eric\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\14\7f87040e-729630cb"

This is way over my head.

Posted (edited)
23 hours ago, btwinc said:

Program Files directory, not Program Files (X86)

The difference is the 64 bit vs 32 bit versions of java...  It's not a worry... 32 bit uses the (X86) folder... 64 uses the other.

35 minutes ago, btwinc said:

Version 8 Update 321

I haven't installed 321 yet... i just got the notification there was an update available this morning... interestingly its apparently been available since

Version 8 Update 321

Release date: January 18, 2022

One time a long time ago I had to uninstall java, remove folders that were left over like C:\Users\Eric\AppData\LocalLow\Sun\Java\   then reinstall java and reinstall the ISY Launcher.  Basically I think I searched C:\Users\Eric\AppData\ for the word "Java" and removed every instance while java was uninstalled.

Edited by MrBill
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.5k
×
×
  • Create New...