Jump to content

ISY Launcher and Java issues


Go to solution Solved by Geddy,

Recommended Posts

Posted

Hi looking for some help, I'm not a computer guru and I've been pulling my hair out trying to fix this issue. I changed my internet service provider today and can no longer get the admin console to work on my laptop. Everything worked find before the change with no issues. I can communicate with the agave app and everything works. I can use my laptop with the portal everything works fine. The issue is trying to get the java to install the admin console I get and error message "unable to launch the application". I have searched the forum and this is what I have done so far. Cleared java cache, rebooted ISY, removed and reinstalled java, rebooted laptop, added isy.universal-devices.com to java exception list. Nothing has changed in the setup except the modem and new service provider. I'm ready to give up so any assistance would be greatly appreciated.

Posted

Yes all three boxes were checked and I downloaded the launcher directly from the ISY wiki page. The ud shortcut was removed from my desktop when the cache was cleared now I can't get it back

Posted
2 hours ago, pmarson142 said:

The issue is trying to get the java to install the admin console I get and error message "unable to launch the application".

When is the “unable to launch application” happening? If you’ve successfully installed Java then it sounds like an association might have been broken. 
 

What computer OS are you using? (If Windows what version?)

What version Java have you installed? The IoX Launcher is designed to work with the standard version downloaded from Java.com (currently Version 8 Update 391). 

If on Windows you might need to go to default programs (in Windows settings) or once you download a new “start.jnlp” right click on it then properties and see what it has for “open with”.

If you’re on macOS there are some settings to adjust that the system should prompt you for. I don’t use macOS so can’t fully help, but know others have posted this fix on the forums. 
 

  • Like 2
Posted
2 hours ago, pmarson142 said:

Hi looking for some help, I'm not a computer guru and I've been pulling my hair out trying to fix this issue. I changed my internet service provider today and can no longer get the admin console to work on my laptop. Everything worked find before the change with no issues. I can communicate with the agave app and everything works. I can use my laptop with the portal everything works fine. The issue is trying to get the java to install the admin console I get and error message "unable to launch the application". I have searched the forum and this is what I have done so far. Cleared java cache, rebooted ISY, removed and reinstalled java, rebooted laptop, added isy.universal-devices.com to java exception list. Nothing has changed in the setup except the modem and new service provider. I'm ready to give up so any assistance would be greatly appreciated.

Was your router changed also? 

You might want to clear your state files and see if that helps:

https://wiki.universal-devices.com/index.php?title=Main_Page#Admin_Console_Minimized/Invisible_and_Cannot_be_Restored

After clearing your Java cache, download: https://isy.universal-devices.com/start.jnlp

Are you on Windows or Mac?

Here are some other steps to try:

1. Turn off antivirus programs.

2. Admin.jnlp does not start the Admin Console

If Java is indeed installed, the reason is that .jnlp file association is broken (it has to point to javaws.exe). Search for javaws.exe in the computer. Right mouse click and select "Open with" and point to "javaws.exe" to fix the .jnlp file association.

  • Like 1
Posted
18 minutes ago, Geddy said:

When is the “unable to launch application” happening? If you’ve successfully installed Java then it sounds like an association might have been broken. 
 

What computer OS are you using? (If Windows what version?)

What version Java have you installed? The IoX Launcher is designed to work with the standard version downloaded from Java.com (currently Version 8 Update 391). 

If on Windows you might need to go to default programs (in Windows settings) or once you download a new “start.jnlp” right click on it then properties and see what it has for “open with”.

If you’re on macOS there are some settings to adjust that the system should prompt you for. I don’t use macOS so can’t fully help, but know others have posted this fix on the forums. 
 

I have java v8 update 391 and running windows 10 on my laptop. The "unable to launch" happens after I click on the start.jnlp file. I attached a screen shot of the details

 

Java screenshot.pdf

Posted
26 minutes ago, DennisC said:

Was your router changed also? 

You might want to clear your state files and see if that helps:

https://wiki.universal-devices.com/index.php?title=Main_Page#Admin_Console_Minimized/Invisible_and_Cannot_be_Restored

After clearing your Java cache, download: https://isy.universal-devices.com/start.jnlp

Are you on Windows or Mac?

Here are some other steps to try:

1. Turn off antivirus programs.

2. Admin.jnlp does not start the Admin Console

If Java is indeed installed, the reason is that .jnlp file association is broken (it has to point to javaws.exe). Search for javaws.exe in the computer. Right mouse click and select "Open with" and point to "javaws.exe" to fix the .jnlp file association.

Yes my router was changed and I'm thinking that has something to do with it. I'm running windows 10. I can't get the UD shortcut to install that starts the IoX launcher to start the admin console if that makes sense. When I click on the start.jnlp file the java window opens then I get the unable to launch error

Java screenshot.pdf

Posted
8 hours ago, pmarson142 said:

Yes my router was changed and I'm thinking that has something to do with it. I'm running windows 10. I can't get the UD shortcut to install that starts the IoX launcher to start the admin console if that makes sense. When I click on the start.jnlp file the java window opens then I get the unable to launch error

Java screenshot.pdf 40.01 kB · 0 downloads

Did you try deleting your state files and disabling antivirus?

You will probably need to follow the directions here:

https://wiki.universal-devices.com/index.php?title=Main_Page#Changed_ISP.2FRouter_-_Can_no_longer_access_ISY

First, try this:

Cannot find Valid Java Home

This issue usually happens on Windows and when you have had multiple versions of Java installed especially the older version. What you need to do:

 

Clear your java cache

Uninstall all versions of Java using the Control Panel | Add/Remove Programs

Delete these directories (if they exist):

C:\Program Files\Java

C:\Program Files\Oracle

C:\Program Files(x86)\Java

C:\Program Files(x86)\Oracle

C:\Program Files (x86)\Common Files\Java

C:\Program Files (x86)\Common Files\Oracle

Delete the following directories (if the exist):

Open file explorer and click in the tree to reach c:\users\<username>\AppData\

Search for "java" (note: other windows settings and preferences for your user determine where "Java" folders get created. (generally they appear under "sun" and "oracle" folders.)

Open Search or click "Windows/Start" button:

In the search box, type Environment and choose Edit the System environment Variables

Click Environment Variables

Under User variables for <username>

Click on the Path | Edit and then delete all occurrences of Java and Oracle

If you see JAVA_PATH, click on it and then click the Delete button

Under System variables

Click on the Path | Edit and then delete all occurrences of Java and Oracle

If you see JAVA_PATH, click on it and then click the Delete button

Click the OK button (3 times to get out of "System Properties")

Reboot your computer

Reinstall Java 64bit version

If you were running the 32bit (x86) version of Java you might need these additional steps after reinstalling Java 64bit version:

 

Open Search or click "Windows/Start" button:

In the search box, type Environment and choose Edit the System environment Variables

Click Environment Variables

Under "System variables" Click "New..."

For "Variable name:" type JAVA_HOME

(ALL CAPS)

For "Variable value:" enter the directory for your new Java install

Example: C:\Program Files\Java\jre-#.#

[NOTE: #'s will be current version just installed]

You can click "Browse Directory.." to find the directory or type or paste it in the entry field.

Click OK

Find "PATH" (still under System Variables)

Click "Edit..."

Click "New"

Enter: %JAVA_HOME%\bin

Pay attention to CAPS

Click "OK" (total of 3 times to exit "System Properties"

Reboot your computer

To confirm Java is on the system start Command Prompt or PowerShell and type java -version. You should get a result similar to:

java version "1.8.0_371"

Java(TM) SE Runtime Environment (build 1.8.0_371-b11)

Java HotSpot(TM) 64-Bit Server VM (build 25.371-b11, mixed mode)

IoX Launcher should be able to launch correctly every time now. If you still have issues please file a support ticket.

Windows should update these entries as Java updates, but should you have issues you might need to update the JAVA_HOME directory above.

Posted

You need to delete the IoX Launcher from the permanent files in Java under a different tab in the Java setup. Not in front of my computer so I don't know the name. I did post screenshots of this a few weeks ago.

This has recently changed and the temporary files deletion does not do it any more.

Sent from my SM-G781W using Tapatalk



  • Solution
Posted
14 hours ago, pmarson142 said:

When I click on the start.jnlp file the java window opens then I get the unable to launch error

This still sounds like your file association is not correct (as I stated before)

Also, please stop posting screen shots as PDFs. You can paste images directly into the post. When viewing the site on a mobile device there's no way to download then view the PDF so posting the image directly in the body of your post is 1000x more helpful.

 

First, lets make sure Java is setup to run "Web Start" applications. Open the Java control panel and click on "Security" tab. Make sure the top checkbox is checked.

java_cp_security.jpg

 

Once confirmed that is enabled, check this that start.jnlp is associated with Java Web Launcher. Wherever you downloaded the start.jnlp make sure it appear like this in the explorer window:

start_download.jpg

If it doesn't then it's probably not assigned to be opened with Java Web Launcher. Right click and open properties.

java_start_properties.jpg

This is how it should look on the general tab. If not click on "Change". Usually (if Java was installed correctly) you should see a Java option available when you click on "Change" as a selection in this window:

java_how_to_open.jpg

If not you need to click "More Apps", scroll down to the bottom of the list and select "Look for another app on this PC". 

Then then look for javaws.exe in the Java\jre-1.8\bin directory of your programs file (if running 32bit Java it will be in the Program Files x86 folder.

 

Now, if that association doesn't fix your problem, and you've cleared java cache by clicking all three boxes...

image.png

Then, as @larryllix suggested, you might need to forcefully remove IoX Launcher from the Java Cache. To do that, open the Java Control Panel and click View (on the General tab). It will open this window:

java_cp_cache_view.jpg

 

If you've gone through these steps and all the steps posted above and it still doesn't work...please open a support ticket and see if UDI can help you get this corrected.  

https://www.universal-devices.com/my-tickets

 

 

PS:

14 hours ago, pmarson142 said:

Yes my router was changed and I'm thinking that has something to do with it.

Changing the router has ZERO impact on Java not working/opening start.jnlp file to put the IoX Launcher icon on the desktop.  It would 100% impact your ability to find the device if it was an old ISY994 that you set to a static IP in your old router DHCP table, but it sounds like the device is able to get on the network since you can control it with mobile apps. 

17 hours ago, pmarson142 said:

I can use my laptop with the portal everything works fine.

What does this mean? If you can't get the IoX Launcher/IoX Finder to run how is everything working fine with Portal? Do you mean that you can just log into my.isy.io and it appears that your device is online?

 

  • Like 1
Posted
1 hour ago, Geddy said:

This still sounds like your file association is not correct (as I stated before)

Also, please stop posting screen shots as PDFs. You can paste images directly into the post. When viewing the site on a mobile device there's no way to download then view the PDF so posting the image directly in the body of your post is 1000x more helpful.

 

First, lets make sure Java is setup to run "Web Start" applications. Open the Java control panel and click on "Security" tab. Make sure the top checkbox is checked.

java_cp_security.jpg

 

Once confirmed that is enabled, check this that start.jnlp is associated with Java Web Launcher. Wherever you downloaded the start.jnlp make sure it appear like this in the explorer window:

start_download.jpg

If it doesn't then it's probably not assigned to be opened with Java Web Launcher. Right click and open properties.

java_start_properties.jpg

This is how it should look on the general tab. If not click on "Change". Usually (if Java was installed correctly) you should see a Java option available when you click on "Change" as a selection in this window:

java_how_to_open.jpg

If not you need to click "More Apps", scroll down to the bottom of the list and select "Look for another app on this PC". 

Then then look for javaws.exe in the Java\jre-1.8\bin directory of your programs file (if running 32bit Java it will be in the Program Files x86 folder.

 

Now, if that association doesn't fix your problem, and you've cleared java cache by clicking all three boxes...

image.png

Then, as @larryllix suggested, you might need to forcefully remove IoX Launcher from the Java Cache. To do that, open the Java Control Panel and click View (on the General tab). It will open this window:

java_cp_cache_view.jpg

 

If you've gone through these steps and all the steps posted above and it still doesn't work...please open a support ticket and see if UDI can help you get this corrected.  

https://www.universal-devices.com/my-tickets

 

 

PS:

Changing the router has ZERO impact on Java not working/opening start.jnlp file to put the IoX Launcher icon on the desktop.  It would 100% impact your ability to find the device if it was an old ISY994 that you set to a static IP in your old router DHCP table, but it sounds like the device is able to get on the network since you can control it with mobile apps. 

What does this mean? If you can't get the IoX Launcher/IoX Finder to run how is everything working fine with Portal? Do you mean that you can just log into my.isy.io and it appears that your device is online?

 

Thanks so much this fixed the issue. I did change the "opens with setting" and removed IoX from the java cache viewer. The IoX launcher installed but was still not able to open the admin console. So I checked the ip address of the ISY and I guess the new modem had changed it. Replaced the URL in the launcher with the new ip address and all works. Thanks 

Posted

Thanks everyone for your assistance and patience my issue has been resolved. @larryllix and @Geddy steps have corrected the problem. I also had to change my URL after I got the launcher installed because the new modem assigned my ISY a new ip address.

  • Like 1
Posted
55 minutes ago, pmarson142 said:

I also had to change my URL after I got the launcher installed because the new modem assigned my ISY a new ip address.

Make sure you put an IP reservation in the modem (or whatever is handling DHCP) so it doesn't move if/when the modem reboots. 

  • Like 1
Guest
This topic is now closed to further replies.

×
×
  • Create New...