I am trying to upgrade my ISY 994i/IR Pro from version 4.8.0 to the 5.X range and having considerable difficulty. I go to the Java (32-bit) program in Control Panel (Windows 10), and on the General tab I click on Settings, then Delete Files.... I select the Installed Applications and Applets, click on OK, and I get an Application Error "Unable to uninstall application(s)". If I select the Details button from this window it says my Error is an "illegal URL redirect" with the Exception showing as the following:
Dollars to doughnuts, unless you're running an ancient Windows machine (i386 or something, which I'll bet Windows 10 won't run on), then shouldn't you be using the 64 bit version of Java? I'd give it a try.
Where did you download java and did you download the full version or just the runtime? Specifically just go to www.java.com and click the download button it will select the correct runtime for the machine you're using, you do not need the SDK version. Some of those error message paths suggest you got something else.
I came to the board hoping to find a solution to this very same problem. My symptoms are identical, including being unable to remove the Administrative Console in Java and the same "illegal URL redirect" message in GreyFox's original post. I am running the 64-bit version of Java. Having now upgraded to 5.3.1, most of my system is working, but I've lost access to all sensors. I can control connected devices from the Administrative Console, but can't see device status. Any advice would be greatly appreciated!
I believe I need to delete the ISY Admin Console from the Java cache, but I'm unable to do so here. Clicking on the "Delete" icon produces an error message that pops up and disappears before I can read it. I believe this is the key -- being able to delete this app from the Java cache. Again, any help will be greatly appreciated!
Thanks for the idea, larryllix. I hadn't tried this yet because GreyFox reported it hadn't worked, but I did just give it a try. I uninstalled Java and then downloaded and installed the latest version. I opened the Java Control Panel and tried to delete temporary files. I had the exact same experience as before reinstalling -- an error message when trying to delete cache files and unable to remove the ISY Admin Console app from the Java cache. I'm open to any other suggestions. Thanks again!
Thanks again, larryllix! I was planning to try that next but waited to see if anyone had a better idea. That did fix my immediate Java problem. Now that I'm past that issue, I continue to have other problems with the ISY Admin Console. (Socket Open Failed errors) I hoped that fixing the Java issue would fix these, but not so. I know I've seen other posts on the board about those issues, so I'll see what progress I can make with the resources that are out there. Thanks again for your help!
Has anyone got any "real" answers to this issue? I have the exact same problem and it appears to be an old 4.6.2 version of the admin console. It's funny that I can see the contents of the jnlp file in the Java Control Panel by going to General/View... and then right clicking on the Application in the window and selecting show JNLP file. But I can't figure out where the JNLP file itself is, or where the link to it is. I tried searching my entire disk for admin.jnlp and nothing is found. I also tried running the Java Configuration utility with admin privileges with no change in the results. It sounds like no one really understands why this is happening.
Sometimes, attempts to uninstall JDK through the Windows Add/Remove program leave behind some Java entries in the registry that are not fully removed. These left behind registry entries can cause problems in installing a new version of Java. The following are the methods to cleanup registry entries:
To save the registry key before deleting, in the menu bar, select File and then Export. In case you deleted the wrong registry key, you can restore the registry from your saved backup file by selecting from the menu bar File and then Import .
When you install JDK 22 and then install JRE 8, and then run the java -version command, 1.8.0 is displayed in the output instead of 22. This is because the javapath is placed before JDK 22 location in the user environment path.
I used the cna-windows-k9-installer-6-0-en.exe installer to try and remove the 6.3.4 version. During the install of 6.0 it said a previous version was installed and asked if I wanted to uninstall that version first. I said yes and it did uninstall version 6.3.4. I am running windows 10 1909.
So i thought "It must be active now" and then I cancelled the install and sure enough when i ran my existing install the splash screen came up and it worked fine. That is a fast repair if you encounter the issue when running rather than when uninstalling.
Also if you click cancel and then try to uninstall it works too. i would suggest you do it that way b/c then you know it is using the same uninstall scripting and locations and hive entries as the actual local program unlike their delete procedure on the other installer which may miss items and won't be as clean.
Afterwards I tried uninstalling this version but got the same message.
in the window where you must choose the java.exe, I went to the install location for CNA (in my case c:\program files(x86\cisco\cna) and found the "runtime....." folder. Here was a java.exe and choose that one. It then uninstalled my cna completely.
I started to work on the uninstall part and have one small issue. Installing 3 versions of Java on my computer for testing it seems to get 2 out of 3 and requires me to run the script again to get the 3rd. So it is removing it, but question is why do I have to run it again. I added a Sleep() incase it was a issue with running too fast (Like I ran into the other day with renaming files in a loop) but still the same.
Edit: Hmm I have an idea of what it might be... Need to test. If I have two java uninstall strings right next to another and say I was in loop 100/300 and it gets uninstalled. The second instance of java may then fall into spot #100 in RegEnumKey() and get skipped as the next iteration of the loop would be 101/300
At some point I am going to have to tweak this probably to remove all but Version X of java, I was just going to do If StringInStr() AND NOT StringInStr() kind of thing based on my code above, how would you pull that off in the WMI method?
With PS it would be an easy for me, but the autoit version you posted has a bunch of other stuff I am not familiar with like winmgmtns, impersonationlevel etc. Do we have a help file for all that somewhere?
%Java% filters returns all products with a name containing "java". In my case : JavaScript Tooling, Java(TM) 6 Update 31, Visual Studio Extensions for Windows Library for JavaScript, Java Auto Updater.
Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."
We are planning to uninstall Java on the SQL servers due to a vulnerability that is found within the existing Java version and is planning to uninstall a different version. Would there be any issues if we uninstall Java on the SQL server machines? I mean are there any dependent services that use java that might get impacted if we uninstall the existing java version?
SQL Server itself is not dependent on Java. Before uninstalling Java, you should first identify all the applications and services that depend on Java and make sure they will not be impacted by the removal of Java. You can check the installed applications and services that require Java in the Control Panel.
You may also want to consider upgrading to a newer version of Java that addresses the vulnerability instead of uninstalling Java completely. Upgrading to a newer version may help ensure that all dependent services and applications continue to work properly.
Anyway I downloaded Revo Uninstaller and started to use it until I got to the screen showing a large number of registry items and got nervous so I cancelled out pending some more advice. Here is a PDF of screen shots showing the steps as I went through it.
Java Verify failure unable to Configure Java Control Panel does not open ( Fix : )
this is a regular ( windows 7 bug related ) problem after successful installation of Java ( jre ) and fresh installation of Windows7 64bit or 32bit on my laptop or desktop. what worked perfectly for me was setting COMPATIBILITYMODE=WINDOWSNT to make windows launch the JP2LAUNCHER.EXE and JAVAW.EXE files properly.
jp2launcher.exe windowsNT compatibilty solves Java Verify failure problem at
javaw.exe windowsNT compatibilty solves unable to open or Configure Java Control Panel problem.