Uninstalling multiple version of Java across a LAN

We have people using all kinds of diferent version of Java from 1.4.1.x to 1.5.x.x but we need every one to be on 1.4.2.06 for a training application. I have been tasked with getting every one on the same version.
I wanted to uninstall any and all version on the system and then install the correct version. But I dont see how to do that.
I would be happy if I could just install the correct version and have it override the older or newer version.
Any one have a clue how this could be done?
All I really need is a command line I could use ...

Depending on exactly what you are doing, just installing the 1.4.2_06 JRE (not SDK) may be the solution.
Try it and see.

Similar Messages

  • Multiple version of Java on one machine

    Is it possible to have multiple versions of Java co-exist on the same XP Pro machine?
    Here is our scenario: we have apps that use Java 1.5, but we have one critical app that doesn't support that version yet. It has to use the 1.4 version. Is there a way to allow both versions to exist and be usable for their respective apps? If so, how?
    Thank you.

    I can't, however it's never a good idea to have
    multiple versions of Java on one machine. Try and
    standardise if possible. If OP used JAVA_HOME as you
    often suggest, then he would be knackered wouldn't
    he? JAVA_HOME can only point to one JDK. Your
    advice is conflicting kaj.Nope. JAVA_HOME should always be defined in the start script/file for a java application, so it's not set per system. It's very common that companies have applications that requires different JDK/JRE versions, and it's usually very expensive to upgrade all applications (if it's possible at all). You can of course also alter the PATH variable if you want to in the script.
    /Kaj

  • Can't install Adobe Flashplayer 11. Uninstalled old version. enabled Java. Allowed cookies. Install button grey.

    Can anyone help me with this problem of installing Adobe Flashdrive 11, the latest version ? I'm bashing my head against the wall. Started when iPhoto would not load to Facebook and was advised it could be Flashplayer update after troubleshooting other options including deleting extraneous iPhoto files. I uninstalled older version, enabled Java, allowed cookies, downloaded installer but when I try to download it, the install button is grey and won't work. (This is, coindcidentally the same problem that suddenly began today with iPhoto which always worked fine before....grey button for "publish") It is ALWAYS a problem installing Adobe anything, and usually this same problem. All my software updates are current. Now I have NO Flashplayer and can't use YouTube at all, much less iPhoto.

    Also, sounds like others are having this problem. Read other posts, didn't find an answer. OBVIOUSLY did not solve my problem. No delete ? First time here, sorry.

  • Run multiple versions of Java

    Hi,
    We run Oracle 12.1.3, Business Objects, Agile and a few bank applications that all require different versions of Java.
    What is the best way to run multiple versions of Java on one laptop so our users can access all of the Java based applications?
    Business Objects requires Java 6, and the bank application require Java 8.
    Thank you.

    Given that that's been possible for over a decade, there's no need for such "tools". All you need is knowledge of your operating system.

  • Uninstalling All versions of Java from Windows Silent

    Hi Everyone,
    If there is something somewhere on Sun sites that does this already I appologize, but I have to get all previous version of Java from Sun uninstalled from over 700 hundred PCs and so I have created a set of scripts to uninstall all previous versions.
    You would copy 'java-uninstall.bat' and 'java-uninstaller.vbs' to c:\temp (make sure you have one) the script can be modified for another location of your choosing. Then you can execite the batch file or have it scheduled to do that with the NT 'AT' command. It will uninstall anything that shows up in Add/Remove programs with 'Java' in the displayname and 'Sun' as the publisher. This would including removal of SDK amd JRE versions, so keep that in mind.
    This could probably be used in the login script, but thats not how I deploy updates, it may be fashioned to work with SMS, I don't know. I have a script that goes through network copying files to c$ shares and scheduling it for later in the night.
    Also note this just uninstalls the older versions I have another script that does the reinstalling of the newer version.
    Files below:
    [java-uninstall.bat]
    REM <start>
    @echo off
    if not exist c:\temp\. mkdir c:\temp
    REM Export the Uninstall registry keys
    start /wait "" REGEDIT /E c:\temp\registry.tmp HKEY_LOCAL_MACHINE\SOFTWARE\microsoft\windows\currentversion\uninstall
    REM Filter only the {} keys that Java might be in
    type c:\temp\registry.tmp | find /i "\{" | find /i "}]" > c:\temp\uninstall.tmp
    REM Run the Vbscript that uses this file to find Java Sun entries to uninstall
    cscript c:\temp\java-uninstaller.vbs
    REM <end>
    [java-uninstaller.vbs]
    '<start>
    Set WshShell = WScript.CreateObject("WScript.Shell")
    Dim fso, MyFile
    Set fso = CreateObject("Scripting.FileSystemObject")
    Const ForReading = 1, ForWriting = 2
    'Open the exported registry file
    Set MyFile = fso.OpenTextFile("c:\temp\uninstall.tmp", ForReading)
    Do While mYFile.AtEndOfStream <> True
         ReadLineTextFile = MyFile.ReadLine
         Uninstall = ReadLineTextFile
         CLSID = Mid(Uninstall, 73, 38)
         On Error Resume Next
         'DisplayName
         DisplayName=WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"+CLSID+"\DisplayName")
         'Publisher
         Publisher=WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"+CLSID+"\Publisher")
         'Search for presence of Java and Sun in DisplayName and Publisher
         search1 = Instr(1, DisplayName, "Java", 1)
         search2 = Instr(1, Publisher, "Sun", 1)
         'Execute removal if there is a match
         Uninstaller="MsiExec.exe /X"&CLSID+" /QN"
         if search1>0 And search2>0 Then Return = WshShell.Run(Uninstaller , 1, TRUE)
    Loop
    '<end>

    Here is a batch file that I wrote to accomplish the same objective of uninstalling all versions of Java Virtual Machine JVM from a XP/Vista box:
    You can name it anything you like, such as cleanjava.bat:
    @echo off & cls
    Rem List all Installation subkeys from uninstall key.
    echo Searching Registry for Java Installs
    for /f %%I in ('reg query HKLM\SOFTWARE\microsoft\windows\currentversion\uninstall') do echo %%I | find "{" > nul && call :All-Installations %%I
    echo Search Complete..
    goto :EOF
    :All-Installations
    Rem Filter out all but the Sun Installations
    for /f "tokens=2*" %%T in ('reg query %1 /v Publisher 2^> nul') do echo %%U | find "Sun" > nul && call :Sun-Installations %1
    goto :EOF
    :Sun-Installations
    Rem Filter out all but the Sun-Java Installations. Note the tilda + n, which drops all the subkeys from the path
    for /f "tokens=2*" %%T in ('reg query %1 /v DisplayName 2^> nul') do echo  . Uninstalling - %%U: | find "Java" && call :Sun-Java-Installs %~n1
    goto :EOF
    :Sun-Java-Installs
    Rem Run Uninstaller for the installation
    MsiExec.exe /x%1 /qb
    echo  . Uninstall Complete, Resuming Search..
    goto :EOFAdditional Info: http://tinyurl.com/29cdah
    Hope this helps.

  • Will Java 8 include a Tool that will allow multiple versions of Java to run together?

    We continue to struggle with an absolute need to run multiple versions of JAVA at the same time on the same PC.
    Will JAVA 8 include a Tool, add--on, extension, something, that will allow this requirement to be executed?

    Given that that's been possible for over a decade, there's no need for such "tools". All you need is knowledge of your operating system.

  • Uninstalling Multiple Versions of Flashplayer from 10,000 Machines

    We are preparing to upgrade Adobe Flasplayer to the most recent version. The major headache in the past has been uninstalling older versions of Adobe Flash Player. I downloaded uninstall_flash_player.exe and cannot even get a list of switches to use with the /? switch. I keep getting a message stating
    Adobe Flash Player Installer/Uninstaller 10.3 r181 has encoutnered a problem and needs to close. We are sorry for the inconvenience.
    The frustration level in attempting to use your products on a large network is difficutl to describe, but I am frustrated already and have not even gotten past the first step. Needless to say I do not have the option to touch each machine manually. I am running this on a Windows XP Service Pack 3 machine, but will also be uninstalling/installing on 64 bit Windows 7 machines.
    Any help would be appreciated.

    Hi Sandy Martin,
    I ran your query past a member of the engineering team that focuses on install and uninstall issues, and got the following response:
    Can you please ask [the poster] for the FlashInstall.log file located in \Windows\System32\Macromed\Flash directory and a screenshot of the error? 
    Also, if he/she has 10,000 machines to update, I hope they’re licensing the player and distributing it via SMS Catalog.  Info here http://www.adobe.com/products/flashplayer/fp_distribution3.html and details for this type of deployment are posted in the Admin Catalog (http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide.html).
    I also happened across an article from the Adobe Developer Center that addresses the issue of enterprise deployments: http://www.adobe.com/devnet/flashplayer/enterprise_deployment.html.
    Hope this helps,
    KALTechWriter

  • Multiple versions og Java Web start conflicts

    I have a situation where the same Windows 2000 station will run 2 Java-web-started applications from different Java version (one being 1.3_x with an early 1.0.1_02 version of Java Web Start and the second the most recent 1.4 packages).
    It seems that the installation of the any Java Web Start would overwrite the previous installation, the result is that only one application can work at a time.
    Though, I have one developement machine where both applications can run simultenously, yet I do not know how that was achieved (maybe just fluke).
    I tried to point the Java Web start to different path without success.
    Any idea ?

    Yep...JNLP is a file you configure a WebStart app in and one of the fields (j2se version) you specify what JRE(s) are acceptable. So, one can use 1.3 and another can use 1.4.
    See http://java.sun.com/j2se/1.4.2/docs/guide/jws/developersguide/syntax.html if you want to see details on the JNLP syntax.

  • Uninstall previous versions of Java before applying new version?

    Hi,
    I would like to push out java version 8.0.3.1 to some clients but I would like to uninstall any previous versions before doing so. Is this possible to do so? Maybe using supersendence? I am not sure what the best way to do this if anyone has any suggestions?
    TIA

    MsiExec /X
    {26A24AE4-039D-4CA4-87B4-2F83218025F0} /qn
    Should remove 25,
    You could even stick it in a script and have it run before
    your script installs 31.
    This way the old would be removed and the new installed
    in one deployment.

  • Problems with Multiple versions of java on one computer

    Hi, i current installed 1.3.1_08 on my xp machine and then 1.4.2. I want my "java" command to be using the 1.4.2 version. I try to run some 1.4 native java applets on my xp machine but they fail to run due to the java command being from version 1.3.1_08. I changed both the path and java_home variables in xp to my 1.4.2 installation, but still nothing changes. help plz??

    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin
    java version "1.3.1_08"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_08-b03)
    Java HotSpot(TM) Client VM (build 1.3.1_08-b03, mixed mode)

  • Multiple versions of Java simulaniously?

    Hi,
    We have a situation where the new library system we use will need Java 6 Update 3 specifically. We also use a web-based application that can't use 6 V.3 but something lower like 5. My question is, would having both versions on a PC be ok?
    Thanks,

    If your environment is Windows things are much easier. Every time you install the latest java runtime environment: it is set (by default) as the system's default runtime environment(So there is no problem with the previous versions). Regarding to the Java Development Kit(JDK): i thing your self as non a java developer, so i presume that you don't have any installed to your system.
    So in my opinion there will be no problem if you erase the older java runtime environments.

  • Multiple versions of java

    i have jdk1.4 installed on my system with global variables defined for it.now i am planning to install netbeans 5.5 with jdk6 integrated on my system without removing the previous installation...how to achieve this?....any suggestions..

    Hi Rajym,
    Is that Environment Variables (i.e JAVA_HOME) you refered as global variables?
    Netbeans usualy reads its default values from the following file:
    <YOUR_NETBEANS_HOME>\etc\netbeans.conf
    This file contais all default configuration values used by netbeans at the time of boostraping. Ta variable called 'netbeans_jdkhome' in this file that you can define the jdk directory you want to work with netbeans.
    Perhaps this may give you some hint to solve your problem.
    Cheers!
    Jini

  • Do I need to and how to uninstall older version of JDK 7.0

    Hi,all I have installed both JDK 1.7 update 21(1.7.0.210) and 51(1.7.0.510), and so I wonder do I need to uninstall the older version which is JDK 1.7 update 21, as they both show up in the list of `Programs and Features` on Windows. Second, I tried Java Uninstall Tool, it only reports `There are no older versions of Java on your computer`. So I wonder can I just use the `Programs and Features` that manually uninstall any version of Java if I need to.
    cheers

    daiyue wrote:
    As I also set up `JAVA_HOME` to `jdk1.7.0_21` when I tried to install Android Developer Kit, so do I need to update `JAVA_HOME` accordingly? The installation was tricky, and I don't know if it is this setting up `JAVA_HOME` step made the ADT installation work.
    If the installation instructions of this product require setting a JAVA_HOME variable then yes, otherwise no.
    Trying is certainly a good teacher, but I'd rather read documentation first to at least make it educated tries.

  • Ok to use different versions of java?

    Hello,
    I installed jdk1.4.2_05 a while ago. I have since downloaded a jar file that requires java 5. Would it be ok to download and install this latest version and still have 1.4.02_05 running also?i,e, is it ok to have run different versions of java on the one machine. Would there be any conflicts etc?

    It's quite common to have multiple versions of Java on the same machine. Obviously you shouldn't install them in the same folder structure though.
    /j2sdk1.4.2_03 - contains version 1.4.2_03
    /j2sdkblah.blah - contains version blah.blah

  • Installing Multiple Versions of JDK on same XP Pro Machine

    I have a situation where I have 2 vendors who have software that needs to run under 2 different versions of Java. One of them requires 1.3.1_05 and the other 1.4.x. Is this possible? I have tried to run the software that requires 1.3.1_05 under 1.4 and failed. After talking with the vendor, they said ONLY 1.3.1_05... However, the other piece of software absolutely requires 1.4. It works only under that version and I tried testing it with lower versions and sure enough.
    Why won't the software that requires 1.3.1_05 run under 1.4? This does not add up! Need help fast, this is commodity trading software.
    Miles

    I am having a similar issue on W2K SP4 boxes.
    Qwest's provisioning system runs through Netscape 4.79 and requires Java 1.3.0
    SBC's provisiong system runs through IE 6 and requires Java 1.4
    As soon as I install Java 1.4, Netscape fails to recognize that 1.3 is installed. Reinstalling 1.3 doesn't help.
    I need both of these systems to run on the same machine and am guessing there is a registry setting I can adjust.
    I've read where some people have used a batch script or VB to change some parameters to allow multiple versions of Java to run on the same machine. Even if a user had to click a batch file before opening Netscape to switch the version setting in the registry that would suit my needs.
    Any help would be most appreciated!!!
    Thanks

Maybe you are looking for

  • How to delete all data in a table

    What's the best way to delete all of the data from a table? I wan't to do a data wipe of our database to eliminate all of the test data we've been putting into it over the last few months. I've tried using: DELETE FROM TABLENAME; but killed SQL+ afte

  • Acura TSX 2007 - Bluetooth doesn't work correctly

    I have an Acura TSX 2007. I can't initiate a call from my iPhone 3GS and have it connect via car's bluetooth, even though the iPhone and the car are paired. The call would connect but I can't hear the person on the other end, not through my car's spe

  • How can I erase the DVD-RW to use it again

    I have recorded tv prog from media centre on to a dvd -rw disc. How do i now erase the disc so I can use it again?

  • How to disabled Turbo Boost in Lenovo IdeaPad V570?

    I looked in the BIOS, but the layout "Advanced" hidden. Can still know how to disable TurboBoost? (sorry for my english)  Solved! Go to Solution.

  • Calling Stored procedure which uses Bulk Collect

    Hi All, I have Oracle stored procedure which uses Bulk Collect and returns table type parameter as output. Can anyone please help me how Can I call this kind of stored procedures which returns table type output using VB and Oracle's Driver. (I am suc