Remove java 6 update 22
I will explain all of this in more detail below. First, What is Java? Let's look at this a bit more closely. Why Do I need Java on my Machine?
Yes, for the same reasons mentioned above. I hope that helps. Got a Computer Question or Problem? Ask Dennis! Filed under:. Windows Tips. Rate this article:. Leave this field blank. Need Help? If you need technical assistance , I can help. Click here to email me now ; optionally, you can review my resume here.
You can also read how I can fix your computer over the Internet also includes user reviews. Most popular articles Being Blackmailed for Money on Facebook?
Forgot Password? Dudes: The last java update yesterday screws up my browser performance - anyone know how to undo it? Thank - rev. May 15th, , PM 2. I'd uninstall it completely then install the last version. You can get older versions here Don't believe everything you think. May 15th, , PM 3. Fink: Thanks - I think the latest version is the culprit. It claims to speed things up but the result for me is 10 seconds before ANY browser window opens, or ANY link on any web page.
I posted that problem as a question here but no one really nailed it - then I realized it went with java updates. I'll uninstall it and try the latest but one. May 16th, , AM 4. The old version won't have been uninstalled unless you uninstalled it -- just uninstall the new one and you're done. FileSystemObject" Find the difference [; ]. I'll need to look at my work computer and see how it's written.
I was typing from an iPad yesterday so I may have typed it in wrong when i was responding back to the thread. Hopefully that is it. Posted by: hipsterdoofus 11 years ago. I ran across this and the script is just what I need. The only problem I'm running into is this: The uninstall works fine, but on installation, it wants me to click to allow the executable to run get a security warning. Is there a way around this? Probably need a different implementation, but I was just running it out of a vbs script.
That's an XP thing, perhaps applied via GroupPolicy? There's nothing a package can do to bypass that. Right-click the file that's throwing this warning, go to properties and see if there's an "Unblock" button. If there is, click it. Identifier , this will show you the stream containing this value. This has to do with the file's ZoneIdentifier telling windows it comes from an untrusted location PJ. Quit End Sub. Posted by: lyonjr 10 years ago.
This script works great, but I have 2 different Java versions that I do not want removed. Can anyone help me with adjusting the script for that? Posted by: hgsisbyoot 10 years ago. Posted by: xyzzy. Any ideas would be a great help.
Thanks in advance. The only thing I can think of is that you are now working on an x64 box. See my above post. First, thanks to the original creators of this script. It's pretty awesome. Here's an updated version of the script I created for our computer labs. It's strictly an uninstall script but it will preserve a desired version. The script does create log files for each individual uninstall in a specified path. Two caveats: 1. Java versions 1. At least I couldn't find a way after a week of searching and testing.
This script reflects that. If you have two or more of these versions installed and uninstall one it breaks the uninstall for the others as ActPanel. You have to remove the uninstall info for the other versions from the registry and reinstall them again to remove them properly. It may also leave lots of cruft on the system. Posted by: pndragon 10 years ago. Is there a specific switch I need to add to the script's parameters to ensure that it runs silently?
Any idea what's going on? I appreciate the time you put into updating this script and whatever input you or anyone else may have on my issue. Thank you. It was originally written to be included in an SCCM deployment as part of a package of scripts that would remove Java and install the newest version.
I never tested it as a startup script but I think I see what happened. It makes a few assumptions, which isn't really a good thing for a standalone startup script. It assumes that the log file directory already exists and is writable to the user account running the script.
If that directory doesn't exist you'll see the errors with MSI packages. Saves a lot of tedious object creation and error checking in a VBS script. The script was also not designed to be run silently. As part of a SCCM package it was intended to be run when no user was present, like overnight. As for the beeping No idea what caused that. Found a fantastic gotcha with SCCM on 64bit machines while testing this script.
Our main deployment scenario is to 32bit machines. This script was tested on 32bit and 64bit machines as an admin user and on 32bit machines under SCCM. Worked great for our purposes. Turns out it didn't work great under SCCM on 64bit machines. The SCCM client was running the script in a 32bit environment on a 64bit OS so all script calls to the registry were being reflected to the WowNode branch.
Essentially the script couldn't see the 64bit uninstall keys in the registry and was running through the 32bit uninstall keys twice. I've updated the script with a new method of calling the registry so it should always see the complete registry even when running in a 32bit environment under 64bit Windows.
It's been working well in our testing so far. I also added a bit more error output if an error does get caught and changed the InstallShield uninstall template file to NOT remove shared files. This fixes the bug with Java versions 1. It leaves a few DLLs on the system but the security increase of removing all old Java versions outweighs that in our environment. Please modify as needed. If you find a bug or add a useful modification please post it back!
Shell" 'Set the logfile path here. This path should already exist. String needs trailing slash. Is it possible to set the script so that it will keep more than 1 version of Java?
The comments explain the changes. Posted by: hahnwo 10 years ago. Newbie question. How exactly do I run this script?
Posted by: EKutsko 10 years ago. I have tested this script on a VM with 3 different versions installed and it works pretty good. It took me a while to figure out I had to run it from and Administrative Command Window, but once I did that it worked really well. I have to ask now how you guys are running this with SCCM. I thought it would be fairly simple, but what I did ended up not working.
I created a package with no source files. Can someone enlighten my on the error of my ways. Yes, I probably should have pointed out it requires admin rights to run. It's really best to run this script with a batch file. I also never run install or uninstall packages when a user is logged in. There's too many chances something the user does screws up the package reboots, shutdown, is running a browser instance that blocks the plugin update, etc.
Please note I haven't actually tested this code, it's off the top of my head for example purposes. I'm also a logging freak if you can't tell. Posted by: victormr 10 years ago. This has to do with the file's ZoneIdentifier telling windows it comes from an untrusted location PJ You can also use the Streams utility from sysinternals. Posted by: serverkudsk 10 years ago.
Hi, this is really a good script. But can't it be made so that it install the version you have specified, as this example I have found. The example works fine on xp but destroy the java in winodws 7 if it is run more than 1 time.
Posted by: jfisher 10 years ago. I ran into a big problem with this script in my environment. It doesn't properly detect the currently installed version as current. It attempts to run in the Java installer again, and when it does, it breaks the installation. The only way I've been able to fix this is to go machine to machine by hand, install the Windows Installer Cleanup Utility, and force remove the application.
Looks like this is going to be our procedure for PCs every time there's an update to Java. Trying really hard to suppress my hatred for Oracle at the moment. Posted by: rpmax 10 years ago. Posted by: mechaflash 9 years ago. I would like to share a batch script I created to execute this script. Just in case you're in a small company without AD or any other advanced methods of deployment. As long as you have psexec you can setup machine profiles via txt files and push the removal and installation of JAVA via the vbs script.
Then when you create the lists, you can use the machine names, entering each one on a new line. Posted by: SpellJammer 9 years ago. A colleague and I struggled with this for months. Something else that complicated our situation was that we were running Oracle which relied on Jinitiator versions 22 and Now if anyone is familiar with these systems, you would most likely be familiar with the JVM.
We automated all of these settings with registry keys and using a deployments. The sequence of our Script is as follows: 1.
Killing IE and Java processes 2. Clearing the registry of the Javasoft string as this leaves traces of old versions despite uninstalling. Installing Java Virtual Machine 5. Installing JRE6U29 6. Properties and config file. Backing up and renaming jvm. Copying new JVM. Disable Java plugin Our Script Has Two Parts. Batch script executed to kill processes then runs the VB script.
Our Deployment. We packaged our script with exports of our reg keys and deployment files with winrar and deployed to all of our workstations using Config Manager without any hassles.
Our next challenge is finding a way to silently uninstall all versions of Jinitiator. Hopefully some of you will find this useful. Please take a look at the following post that explains the issue. This consistency check could cause a repair installation to occur. You can confirm this by checking the Windows Application Event log. Hi stompro, my script was only intended for Windows XP but if you incorporate dimitridelanghe's uninstall method adding a wildcard for version 7 should you need to uninstall certain of these versions as well then it would compliment my script perfectly for windows 7.
Good work! Have you posted this to the 'Package KB'? If not, please do. Posted by: joakimbs 8 years ago. Posted by: mveras 1 year ago.
Comments: You're right now of course.
0コメント