Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Question about Java deployment

- - - - -

  • Please log in to reply
3 replies to this topic

#1
dubsdj

dubsdj

    MCITP

  • Member
  • PipPip
  • 238 posts
  • Joined 26-June 07
  • OS:none specified
  • Country: Country Flag
Hi there
I manage roughly about 1000 computer devices in my Active Directory organization / split between sites

I try to deploy java through group policy, but the problem is that it's sometimes not reliable due to old versions still lingering on some of the more ancient computers. And users, sometimes can't log in because Java deployment has gone wrong and has halted the PC waiting for administrator input. So I have had to resort to doing manual installs just because deploying it causes more hassle..

The main issue I find with Java is that the install does not remove the older versions, which I think is very annoying.

I am completely aware that if they were always deployed with group policy then old version removal is achievable but the problem is that this isn't the case, some were installed manually over the years. (And I have around 1000 pc's)
This has caused a real headache for me.

Adobe flash recently have started appearing through windows updates (on the IE 10 PC's) , I wish java would do the same.

So I'm wondering is there some other 3rd party patch deployment tool that would remove old versions of Java and install new ones

or is there a way to somehow allow Joe bloggs to install Java themselves without getting an elevated warning prompt asking for admin rights?

Does anybody else have another way around this as I find it probably ranked as number 1 most annoying network management task!

Thanks


How to remove advertisement from MSFN

#2
bardman

bardman
  • Member
  • 2 posts
  • Joined 31-August 10
  • OS:Windows 7 x64
  • Country: Country Flag
Hi dubsdj,

What versions of Java you are trying to install and what versions do you have on the 1000 PCs?

Java has some of the nastiest programming for an applications we use in our company when it comes to silent removal for old Java versions.

I had all kinds of issues using GPO to install software so I use PDQ Deploy and PDQ Inventory (free versions available for both) for software installations along with start-up scripts.

Obviously, you are extracting the msi from the exe then using GPO to install Java. You DO NOT want the user user to self install or update Java or any other apps themselves or you will have the same issues you are having now by not being able to uninstall previous Java versions.

The Java exe, at least, latest few versions, have a nice silent install just by using the /S switch. Use PDQ Inventory to uninstall old versions. As you stated, many of the old versions have broken installers, preventing them from being removed and or the newer versions from being installed. I recommend using WICU (Windows Installer Cleanup Utility-can be scripted for silent removals), IOBIT Uninstaller, or your other favorite force removal application to remove the bad version of Java.

Only after you clean all bad versions will you be able to install the latest version using GPO, PDQ Deploy, or your favorite other installer application.

I can provide some assistance on using the PDQ tools or WICU if you need any. Also, PDQ has excellent support for their tools.

Actually it may be easier if you have a lot of bad multiple Java versions installed to just reimage the client.

Good luck!

#3
dubsdj

dubsdj

    MCITP

  • Member
  • PipPip
  • 238 posts
  • Joined 26-June 07
  • OS:none specified
  • Country: Country Flag
Hi... what versions... well take your pick! They seem to have a new version every other week!
I did Java at University and used to love it very much.... But now that relationship has gone really bad..

Yes you have described exactly my problem. It's such a pain really! Thanks for the info about that software, I will try it.

I have used the Microsoft uninstaller utility before to remove broken Java, however I have heard that Microsoft pulled that utility because they said it could cause problems on your network.

to be honest It has worked every time for me so I don't see the fuss.

I was not sure that you could script uninstalls with that! That's interesting. I don't fancy manually running that utility on 1000 computers or re-imaging them either.


thanks

Edited by dubsdj, 04 December 2012 - 10:49 AM.


#4
Escorpiom

Escorpiom

    Junior

  • Member
  • Pip
  • 89 posts
  • Joined 18-January 09
  • OS:none specified
  • Country: Country Flag
It's not that hard, it only takes a bit of reading.
The only correct way of automatically removing old Java installations is by means of the Windows Management Instrumentation (WMIC).
It will remove any and all Java version on the system. You can use a vb script for that.

Installation of the updated Java package is a little tricky on x64 OS. First do the x64, afterwards the x86 part.
I made my own dual arch Java package based on Kels ideas, it kills and uninstalls automatically all old Java stuff by means of WMIC.
Haven't released it yet, but if you want to test it drop me a line.

Cheers.

Edited by Escorpiom, 24 December 2012 - 01:48 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users