How to uninstall Java (JRE MSI) while keeping Internet Explorer open?

I have a situation where I need to have the ability to uninstall Java (currently JRE 1.7 Update 75, but could really be any version in the future).  We are using the JRE MSI.  I know how to uninstall it silently just fine, but the gotcha problem comes in that we have thousands of computers and some of them may have IE running during the uninstall.
Now normally I would just use taskkill.exe to terminate IE ahead of time then run Java uninstall.  However, we are being told for the uninstall, this isn't an option even if we notify the customers about IE closing.  So I'm looking for a command line way to uninstall Java, but allow it to be successfully uninstalled if IE is running (If a reboot is required after the fact, that is fine).
I have tried several things without success already:
MSIRESTARTMANAGERCONTROL=Enable (And Disable)
IEOPEN=1
IERESTART=1
In every case, I keep getting a Java Window that reads the below:
If I choose Later, then it will continue upon the next restart of the computer, which would be fine, except there doesn't seem to be a way to choose this option using the command line or a property??
I would be even be happy to trick Java into thinking it isn't being used currently even if the browser is open, but I can't seem to figure out how Java knows it is being used or not currently used.
(FYI, if you install Java while IE is running that is fine, and if you don't close IE after the fact then run the uninstall command right after, it uninstalls fine even though IE is running.  I believe that is the case because the plug-in didn't fully get activated in IE until a close and reopen).
Any ideas on how this can be accomplished?  Thanks.

I have a situation where I need to have the ability to uninstall Java (currently JRE 1.7 Update 75, but could really be any version in the future).  We are using the JRE MSI.  I know how to uninstall it silently just fine, but the gotcha problem comes in that we have thousands of computers and some of them may have IE running during the uninstall.
Now normally I would just use taskkill.exe to terminate IE ahead of time then run Java uninstall.  However, we are being told for the uninstall, this isn't an option even if we notify the customers about IE closing.  So I'm looking for a command line way to uninstall Java, but allow it to be successfully uninstalled if IE is running (If a reboot is required after the fact, that is fine).
I have tried several things without success already:
MSIRESTARTMANAGERCONTROL=Enable (And Disable)
IEOPEN=1
IERESTART=1
In every case, I keep getting a Java Window that reads the below:
If I choose Later, then it will continue upon the next restart of the computer, which would be fine, except there doesn't seem to be a way to choose this option using the command line or a property??
I would be even be happy to trick Java into thinking it isn't being used currently even if the browser is open, but I can't seem to figure out how Java knows it is being used or not currently used.
(FYI, if you install Java while IE is running that is fine, and if you don't close IE after the fact then run the uninstall command right after, it uninstalls fine even though IE is running.  I believe that is the case because the plug-in didn't fully get activated in IE until a close and reopen).
Any ideas on how this can be accomplished?  Thanks.

Similar Messages

  • How to cancel TV and Phone while keeping Internet and Home Security

    We have moved to CA and have Xfinity TV and Internet connected at our new address. However, we still have Triple Play (TV, Phone, Internet) AND Home Security service at our prior address in MN. We need to disconnect TV and Phone in MN immediately, but keep the Internet and Home Security services for another few weeks until we close on the house sale. We've spoken to multiple reps in CA and MN and been given the run around. Xfinity Home refers us to Comcast customer support, which refers us vack to Xfinity home. CA reps say only MN can get the MN account sorted out. Complete cluster.

    ComcastZach, I think I love you. 

  • How to uninstall java plugin without removing JRE completely

    how to uninstall java plugin without removing JRE completely.
    Hope someonce can help, all the documentation ive seen till now shows how to uninstall the Java plugin by completely removing the JRE.
    Also if you install JRE 1.4.1_01 and do not choose to install the browser plugin on the browers prompted ... does it not install the plugin?

    In IE
    Tools -> Internet Options -> Settings -> View Objects
    Delete the ActiveX control for the Java Plugin
    This removes the ActiveX control (plug-in) from the browser but doesn't delete the JRE.

  • Anyway to uninstall java jre using the windows xp command line

    Hi,
    Is there anyway I can uninstall Java JRE 1.6_6 by using the xp cmd.
    I need to do this for my team project where ive made a custom installer that installs a JRE and my java application. I then also need to make an uninstaller which removes my application (ive done that), and also removes the JRE. I know you can do this from the control panel but I need to uninstall both at the same time in one simple interface.
    Im using batch scripts to do this, as the installer package im using is useless.
    Thanks
    Shazan

    You could try uninstalling via the silent approach. The original jre install bundle is necessary.
    See http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/silent.html (this is 1.4.2 specific, but it should work for 6 also)
    <jre>.exe /s /v "/qn [REBOOT=Suppress]" /x
    Looks like the command you'll need.
    How much has your custom installer modified the java installer ? I don't think you're allowed modify the jre bundle in any way.

  • How can i change the font size of internet explorer pg or smart web printing pg photosmartd7560

    how can i change the font size of internet explorer pg or smart web printing pg photosmart d7560

    Go to tools
    then internet options
    fonts

  • How to automate the Acrobat Reader plugin in Internet Explorer

    Hi,
    I have been trying to figure out how to automate the Acrobat Reader plugin in Internet Explorer. My goal is to find a way to allow users of our web application to print PDFs to the default printer without having to go through the plugin's GUI. Our application includes a browser helper component, and I had hoped it would be possible to use the IWebBrowser2 interface's get_Document() method to get at some sort of interface to the plugin (as is possible for, say, a Word document hosted in Internet Explorer) and then use this to print the document. However, this does not work: get_Document(), when called on an IWebBrowser2 instance with a PDF loaded, returns E_NOINTERFACE. I also tried calling the IWebBrowser2 interface's ExecWB() method with OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, and PRINT_DONTBOTHERUSER, and printed a blank page rather than the PDF.
    Is it possible to do what I am attempting? Like I said, my core goal is to print a PDF from within Internet Explorer without requiring user interaction. I'd appreciate any suggestions as to how I might accomplish this -- it doesn't _have_ to be by automating the plugin (maybe that is a the wrong approach... though it sure would be nice if the plugin provided access to its object model via IWebBrowser2->get_Document()).
    Thanks in Advance,
    Steve Mckinney
    Senior Developer
    Paxon Corporation

    IF that were entirely true, then the whole purpose of this thread is moot (automating printing server side). It is possible to load the file via URLs using the following html code:
    "<"body>
    "<"OBJECT id="pdf"
    type="application/pdf"
    width=800
    height=600 >
    "<"param name="src" value="http://localhost/pdfs/vorder_nc.pdf"/>
    "<"/OBJECT>
    "<"script language="JavaScript">
    function waitLoad()
    setTimeout("printFile()",2000);
    function printFile()
    var objPdf = document.getElementById('pdf');
    objPdf.PrintAllFit(1);
    "<"/script>
    "<"/body>
    So, if I used php or some other scripting language on the server to fill in the name of the pdf, I can load it via a URL, wait a couple of seconds for it to load, and then print it without user interaction. I wish that the LoadFile method would load a URL so that when it returns, I know it is loaded and I don't have to put faith in a timer that may not be enough for a large file.
    This is the situation I'm in. This way works but I don't like the timer. I'd rather have the plugin let me know when it's loaded. Is there another method that can help me do what I want?
    Thank again.

  • Can I download Firefox and keep Internet Explorer as my default browser?

    I am being prompted to install Firefox to use the MobileMe site with my IPAD. Before I download, I'd like to know if I can KEEP Internet Explorer as my Default Browser. I am NOT great with my computer and therefore would have difficulty fixing any technical challenges.

    Yes you can keep IE as your default browser when installing Firefox, just answer NO when Firefox asks if you want to set it as the default browser.
    What's that about the iPad? You can't install either IE or Firefox in the iPad, neither has a version for iOS.

  • Cannot uninstall Java JRE 1.7 32bits

    For some reason my firefox browser stopped detecting java and now I can't run anything with java on it because it says that it's not installed, so I went to add/remove programs and tried to uninstall java but it just won't get removed.
    http://rcupload.com/images/IDSnu.png
    So when I try to uninstall it (Java(TM) 7 Update 5) a little window appears with a progress bar, after it completes it disappears but Java is still there..
    this is the window that appears: http://rcupload.com/images/HLUwZ.png
    Here's what I tried to do:
    1) Use CCleaner to uninstall it: - I choose the program, press uninstall and it disappears, but when I refresh the list it will still be there. I also tried using the "remove entry" button in CCleaner and i just get a message saying "cannot delete msi installer'.
    2) I tried using JavaRA: - I ran it as administrator, clicked "remove older versions", and I got the message that Java JDK 1.7 was uninstalled and all the files, but now I see that there is no folder for it at "C:\program files (x86)\Java\" (there was one inside before, called something like jre-7) and the icon in the installed programs appears like a white box instead of looking the like the java logo.
    3) I tried downloading java and installing it: - I run it, it downloads and it gets to a screen where it asks me if I want to install a toolbar, I click next and I get this message: http://rcupload.com/images/xiCIu.png
    I also tried changing the destination folder. same result.
    -- Resumed: I need to get rid of Java(TM) 7 Update 5 but the uninstaller seems not to work and files are missing.
    Any help will be appreciated!
    Thanks.

    Hi - using the Microsoft fix-it tool available here, running as administrator, did the trick for me: http://support.microsoft.com/mats/Program_Install_and_Uninstall
    I selected the options that allowed me to manually choose which program to uninstall...then I was able to re-install java from the Oracle Java 7 download/installer.
    Good luck!

  • How to UNinstall Java Web Start?

    How can I uninstall Java Web Start from my computer? I have Java 2 Runtime Environment, and the option to uninstall it appears in my Add/Remove programs menu, but I'd like to leave Runtime on and just remove Web Start. How can I do this?

    As of JRE 1.4.2, Java WebStart is part of the JRE and can't be uninstalled separately.
    Why do you wish to uninstall it?

  • How to uninstall Java 2 Runtime v1.3.x silently

    I am trying to uninstall old version v1.3.x of Java 2 Runtime Environment silently (through command-line) using script. but I can't find a way to do so. Is there someone know how to uninstall old version silently?
    That would be a great help if someone can reply back with proper answer. Thanks in advance. Raj

    I'm not sure if this is the correct forum for your question, what OS are you running? Sun's first two Java Desktop System releases have Java 1.4 JREs preinstalled.
    The general case for uninstalling rpms with no dependencies is:
    rpm -e {rpmname}
    So if: rpm -qa | grep j2re shows that j2re-1.3.something is installed, then you can remove this with: rpm -e j2re-1.3.something Make sure you have a suitable replacement.

  • How do I install Snow Leopard while keeping files, applications, and settings

    I need to update my system, I realized that I need Snow Leopard (quiet late) before Maverick. My question is, how can I install it keeping files and all the data. I found this on Internet, does it work?
    Install Snow Leopard while keeping files, applications, and settings
    If you follow these steps, the installer will replace your operating system if one is already present, but will preserve your account information and personal files.  You may have to reinstall some applications, however.
    Insert the install disc (or the first install disc if you have more than one) into your disc drive. Restart your computer while holding down the c key. This causes your computer to start up from the install disc rather than your hard drive. When you see the gray Apple insignia, release c . 
    The Mac OS X installer should open automatically. Follow the on-screen prompts to read and accept the license agreement and begin the installation. When prompted to choose a destination disk, select your preferred location and click Install. 
    When the Mac OS X installation finishes with the disc, restart your computer. After the installation completes, a configuration program may begin automatically if you are installing for the first time. You will need to supply basic setup information for your computer. 
    Update your system software to ensure that you have the most recent operating system components.  From the Apple menu, select Software Update... , and then follow the instructions on the screen. Often, you will have to restart your computer, and you may have to run Software Update multiple times before it can completely update your system.

    That's why you need to back it up. You won't need to restore the backup immediately afterwards unless something goes wrong during the upgrade, but you'll need it later; the drive will eventually fail.
    (105428)

  • How to Uninstall Java Dialog Instance

    Does anyone know how to uninstall a Java Dialog instance?
    The install instructions, 'SAP Web Application Server 6.40 SR1 Java on Windows: MS SQL Server' suggest that I should go to the control panel and select the add/remove program and then find the instance and remove it.  However, the instance does not appear in the list.
    Note:  I have the ABAP stack (DEV) and the java stack (JDV) installed on the same box. But, the java stack is not an add-in.  The ABAP stack instance does appear in the add/remove program list.

    ok Doug,
    i've a workaround for that.
    Go to registry editor.IF YOU Find the Service corresponding to J03(SAP<SID>_03). Delete it. (if you want to be fail safe, export that contents to a file using FILE --> EXPORT and then delete it. you may import it later if you want). and RESTART the PC.
    this process will ensure that there is no instance according to your system (coz no registry entry is found). it is as good as removed. but the files that were created during the instance installation will remain in your hard drive.
    IN CASE you need this instance later or this workaround gives you any trouble, just import the registry contents file which you have exported earlier and RESTART THE PC.
    it is as good as it was!!!
    this is an easy work around but slightly risky as u are fiddling with your SYSTEM REGISTRY ENTRIES.
    Regards
    Arun.
    PS: Remove the corresponding entry in the WINDOWS SERVICES file. otherwise, it will give PORT IN USE during later installation with instance number 03.
    Message was edited by: Arunkumar

  • N8: How to assign custom SMS tone while keeping it...

    The task is pretty much outlined in the topic title, but I'll still elaborate:
    I want to assign Knock.aac (just a renamed Message 2.aac from my old N73) as a message tone, while keeping it hidden from the music library.
    Hiding it is simple: I just put it to E:\Sounds\Simple and the library cannot see it. But what about assigning it as default tone for messages? When I open it via music player, the only option is to use it as the main ringtone, which is not what I want. When I open the Profile customisation screen and try to find it from there, it's simply nowhere to be found.
    The only workaround I was able to find is putting it in E:\Sounds\Recordings as a .WAV file. This way it can be assigned as a Sound Clip. But I'd like to keep it .AAC or .MP3, and that's not possible in this workaround, because Sound Clips have to be .WAV, otherwise they can't be seen in the list.
    Any ideas how to achieve this task in a civilized way?
    Solved!
    Go to Solution.

    move it back to your gallery,then go to profiles and use the tone then move it back?
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • How to uninstall java 8 update 40 from my macbook air

    Using MacBook Air Mid 2012, software OS X 10.10.2.  Want to uninstall Java 8 Update 40 from my system
    as it is causing some problems in reading some files.  Could someone guide me how to do that as the Java
    software does not show in Applications folder and I am unable to find any other way.

    The feature is called Continuity.
    And it requires an iPhone using the same  Apple ID for Messages as the Mac, and that Text Message Forwarding be enabled in Messages settings on the iPhone.
    If all is set correctly, try signing out and back in of Messages on both the iPhone, and the Mac.

  • How to uninstall java 6, because of installed java 8

    Hi.
    I have yosemite running on my mac.
    I've needed java, so I installed it from
    Java for OS X 2014-001
    OK so far.
    I downloaded eclipse and wanted to code some stuff as I realized that I need Java JRE 1.8
    So I downloaded and installed it:
    http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.h tml
    The issue I have is, that I do not have the possibility to code under 1.8,
    all I have in /System/Library/Java/JavaVirtualMachines is 1.6.0.jdk
    Also the class path under eclipse (LUNA) looks strange, means that there is an entry for JVM ... 1.6
    Any ideas how to fix that?
    Thanks a lot in advance

    Contact Oracle tech support and/or post in their forums.

Maybe you are looking for

  • Kernel panic in Snow Leopard on 2007 Macbook

    My girlfriend has had a Macbook since July 2007, and it's served her just fine for the past four and a half years. Recently, in the past couple of months, she's been getting intermittent recurring kernel panics. I've found various suggestions for "fi

  • Calling Remote function tool leads always to a logon screen

    Hello, I run an remote function tool in system A. In System B I run a report calling this function module. Each time, I execute the report, a remote logon screen appears. It looks the same like the one you logon the system. You have to specifiy clien

  • DM material

    Hi All, We have created the Purchase order and enter Delivery block in item detail customer data, the purpose is we block the purchase order.  But system allowing to do the outbound delivery.  Any body can please tell me how can we resolve this issue

  • Crystal Groups

    Hi, I have a problem in a report.  I want to do a group with the numbers of several invoces. I want to group by number. Imagine I have 20 rows and one of them doesn´t have any number. Well, when i refresh the data, Crystal it makes me a report just w

  • Migrating a Sun Cluster Running Oracle to New Hardware

    Has anyone attempted this? Essentially we are moving a Sun Cluster from one location to hardware at another location while maintaining the same node names. From what I can tell, I need to (on an install lan): 1) Load the OS 2) Configure the IPs 3) In