Changing the active JRE version between several available paths

Hello, I need help with a rather risque subject.
I know it isn't recommended, or preferable, but I need to upgrade the Java on a server that has to be maintained at as close to 100% availability as possible. Now, I can allow for the post-upgrade reboot time, but I can't afford to have the server be up, but none of the programs working because of the switch in java for any extended length of time.
For this reason, I need to know how I can switch between versions which are installed in different directories (be it via registry or anything else).
There must be some way to do this, and, tedious though it may be, I need to know it.
Can anyone help?

Now, I can allow for the post-upgrade reboot time, What is it? Why should the system be rebooted because a new program was installed? Is it vindoze?

Similar Messages

  • How to change the default JRE when there are several version of JRE in Sys

    How to change the default JRE when there are several version of JRE in System?
    i have installed j2sdk1.5.0 then installed j2ee1.4,then installed Weblogic6.1 which use jdk1.3
    Now the JRE is jdk1.3\bin
    When run class that was compiled with jdk1.5,throw:
    java.lang.UnsupportedClassVersionError
    How can i change the jre to 1.5?

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

  • How can I know about the latest updates / versions which when available for all the CC products, without having to install and check it with the Desktoip Creative Cloud Application ?

    How can I know about the latest updates / versions which when available for all the CC products, without having to install and check it with the Desktoip Creative Cloud Application ?

    Thanks for looking into this Jeff!
    I work with an Inventory module software and is responsible for software detection across several computers. Once an updated version comes up, I update our database with latest software details to get it detected if installed on any machines.
    The problem tracking updates with Desktop Creative Cloud Software are;
    1)We have to have it installed with the CC applications in-order to get the notification of the latest updates and have to check everyday.
    2)Only relates to the latest updates, so in-between we may miss a prior update unknowingly.Hence, the remote machines having those updates may not get  detected with the software version update which would create problem in reporting.
    3)For all CC products, there is no base or previous updates available for installation if we miss one.
    I went through the Adobe Products Update pages [Product updates] which holds good when it comes to Acrobat and Reader software which I follow to track down any newer updates but this is inconsistent when it comes to CC products like in After Effects CC, Dreamweaver CC etc...
    So overall to be very specific, is there any one channel I can follow to get the notifications only for the updates on CC products and then may be I can rely on Desktop Creative Cloud for installation if not available anywhere like in product update pages of Adobe ?
    Regards,
    Subrat

  • Change currently active LV version in batch script

    Hello,
    I use two different applications on my computer and one of them should run in LV 2011, the other one in LV 2012. Both versions are installed and it works fine as long as I start the correct LV version manually before starting the application (by starting and closing the required LV version from C:\Program Files (x86)\National Instruments\... before starting my application).
    I want to do this automatically in a command script, so basically I want to do the following:
    * Check which LV version is currently active (which LV version was started last)
    * If the currently active LV version is NOT the required one: change to the required LV version (by starting LV and closing it, or preferably doing it differently if someone could tell me how)
    * If the currently active LV version is the required one: Do nothing
    There are two problems I could not solve so far:
    * How do I get the currently active LV version (I checked windows registry, but I only see my installed LV versions, and not which one is currently active)
    * How can I close LV with a batch script (or how can I change the currently active LV version w/o opening and closing it)
    Thanks in advance,
      Tobias
    PS: I did the same for different TestStand versions, by reading out the TestStand system environment variable and if requuired changing the TestStand version via the command line of the TS Version Selector. This works fine, but there is no system environement variable that tells the currently active LV version.
    Solved!
    Go to Solution.

    They might have different toolkits installed. Block diagrams on our old projects are included, but on our new projects we plan to not include them anymore. Driver compatibilty is a problem that we check each time we have this situation with different versions to make sure that it is working as expected. On one project I did not install the new driver, but kept the old one to make sure there are no changes to the old project.
    It is a problem when we execute old code with a newer LV version than the version was used during the validation of the same code. We probably would have to do some revalidation with the newer LV version and this is what I try to avoid (working in the medical device industry means a lot of validation).
    I could not find the current LV version in the Windows registry. But it must be located somewhere, since TestStand gives the Active LV Version in the LV Adapter configuration and when I open a VI in Windows Explorer the last used LV version is started.
    So my question is where does TestStand and Win Explorer read this out, since then I could read the same thing out in my batch script.

  • Can I Programmatically Change the Active Group on a Hypertrend in DSC?

    I would like to know how to programmatically change the active group of a hypertrend in Labview DSC.  I saw a link which said it can be done in Lookout.  But in the DSC module, the active group is read only.
    I know of a hard way to do it.  I could save the hypertrend settings as xmlSettings to a temporary file.  The active group is one of the settings.  I could then change the active group in this text file to point to the new group and then reload the settings.  But this is not a clean way of dong it.
    Anyone know if there is a easy way?
    Solved!
    Go to Solution.

    I found a way to do it but its not very clean.  I dont know why there is not a function to change the current group.
    Here is how I did it.

  • Change the active microphone in AS3

    Is there a way to change the active microphone in AS3 without using the SecurityPanel.MICROPHONE?  All of my attempts stop all microphone activity, even if triggered by a button click.
    Using
    var mic:Microphone = Microphone.getMicrophone();
    works fine, them if at a later point I do
    mic = Microphone.getMicrophone(newIndex);
    and poll mic.activityLevel - the level is always -1.
    If I switch back to the original mic, it works again, which ever was originally selected in the security panel works.  This is with two working mics, and I have switched which is selected via the security panel to make sure it is not mic specific.
    Is this  a security risk and not allowed?  Once you initialize one mic, is that what you are stuck with?  I have switched cameras in air, but that was air.
    - as a side note, the reason for needing this is we get feedback whenever a user is using the computer speakers and is on firefox.  I have set loopback to false and I have brought the SoundMixer level down to 0, but as soon as the security panel microphone window pops up, the level comes up and loopback acts as if it was set to true.  When the window closes, I get control again.

    Figured it out.  It looks as though the Microphone.activityLevel is -1 until you add a SampleDataEvent listener.  You do not need to add this if you are streaming to the server.  In my tests I was updating my reference to the mic for checking the activityLevel in an update loop.  I did not update the SampleDataEvent lsitenre since I was not actaully recording, just checking the mic input level, and did not think it needed tobe in place.
    It seams possible that the Microphone checks that it either has a SampleDataEvent listener, or is connected to a server before updating activityLevel, I just have never seen that kind of thing done.
    I am not certain this is the case, but it is what it looks  like.  If anyone has more infomation, please share.

  • How to change the source module version

    Hi All,
    In the OWB i created a source module and during those steps i clicked on version 10.1, but during deployment in the deployment managaer when i tried to register the location, its giving me an error as "Source verison 10.1 is not matching with the target version 10.2", can any one please help me or Advice me as to how to change the "source module version"?
    Thanks

    Hi
    what i understood is that the source module is associate with the location and you have provided the 10.1 which you need to change.
    so you can change that under location.
    Cheers
    Nawneet

  • Cloning use the different gcc version between source system and target sys

    Hi All,
    Our system is: Application tier and Database tier is split to two servers.
    We should run a cloning, but I found the different gcc version on application tier on source system and target system.
    The source application tier server is RedHat Linux ES3, gcc version is 3.2.3
    The target application tier server is RedHat Linux ES3, gcc version is 2.9.6
    There is the same gcc version on database tier on source system and target system, they are gcc 2.9.6.
    My question: Can I use the different gcc version between source system and target system when I run an erp cloning?
    Thanks & Regards
    Owen

    Not necessarily, you might get some errors if the version is higher and it is not supported by the OS. An example is Note: 392311.1 - usr/lib/gcc/i386-redhat-linux/3.4.5/libgcc_s.so: undefined reference to 'dl_iterate_phdr@GLIBC_2.2.4'
    To be on the safe side, make sure you have the same version (unless you want to give it a try).

  • Can anyone help me to change the file to version 8.6 ??

    can anyone help me to change the file to version 8.6 ??
    Attachments:
    Hydrostatic_Test.vi ‏2362 KB

    Duplicate Post.
    http://forums.ni.com/ni/board/message?board.id=170&thread.id=465548
    Tim
    Johnson Controls
    Holland Michigan

  • Can we change the Software Component Version's Name?

    Hi everyone,
    Can we change the Software Component Version's Name in the Integration Repository? If we can, how can we change it?
    Regards,
    Nick

    hi Nick,
    Procedure:
    1. create a new software component in SLD
    2. create a new version of this software component in SLD
    3. import in into the repository
    4. try using release transfer to transfer objects
    from old on to the new one
    http://help.sap.com/saphelp_nw04/helpdata/en/e8/e8573ba5f13048be50532fc3fcea9c/content.htm
    5.delete the old software component
    /people/siva.maranani/blog/2005/05/22/how-to-delete-software-component-from-integration-builder
    BTW
    <b>do not chage it in the database!</b>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • How can I change the active Midlet using the '*' cell phone button

    Hello
    I've got a problem trying to do that in J2ME MIDP:
    'I have different class extending Midlet that I want to display one after the other. The change may be done when I click the '*' button of my cell phone'
    For the moment I've created a main class that extend Canvas and which contain a vector of objects extending Midlet.
    I'm able to change the objet which I want to display, but not to display it....
    Is it possible to do that?
    Do you have any idea of how to deal with that?
    Thanks a lot...

    Hello
    Thx for your answer .. but I shouldn't have explain correctly my problem because I don't think this answer it .. sorry
    I need an interaction between a Midlet class and a Canvas class.
    In fact I have several forms, and I need to allow my Canvas class to change the form displayed when a button is pressed.
    But If I have a form in a Midlet , I can display it but can't catch the click on a button.
    And if my Canvas is displayed I don't know how to display the form I want to.
    So is it possible to do that... and if so, how?
    Thank you very much...
    Al161084
    Message was edited by:
    al161084.1

  • Problem selecting the right jre version with jnlp

    I am using Webstart 1.4.2.
    When instaling, it correctly found 2 jre versions on my system, 1.4.1_03 and 1.4.2.
    Because our application currently is not working with 1.4.2 I need to force webstart to use 1.4.1_03.
    I tried to set the tag <j2se version="1.4.1_03"
    When loading from the websever I get a "Error Code 11 (11 Could not locate requested version) "...same if I explicitly set to 1.4.2.
    I suspect that webstart is checking the "platform version" which are set for both to 1.4 and not the "product version" (see java preferences in webstart).
    Does somebody know if there is another jnlp tag I can use to force a specific version? or any other workaround.
    In my opinion this is a bug webstart should check the product version
    Thanks Marc

    had the same problem...
    ad the url and try again:
    <resources>
    <j2se version="1.4.1_03" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="...
    as far as I now are not all JRE's available for autodownload.
    Good luck!

  • What is the right way to change the active JInternalFrame for and MDI app?

    I am working on my own implementation of the window menu. The action that is triggered when a customer chooses a window to activate from the list in the menu is not behaving as I expected. The code I wrote (below) switches frames correctly but the caption bar never gets updated and if you restore a frame from an icon the frame is not correctly activated, there is even a restore button which if you push fixes things up and the frame then behaves normally     if (frameToActivate.isIcon ())  {
              //  Restore from icon
              desktopPane().getDesktopManager().deiconifyFrame (frameToActivate);
         desktopPane().getDesktopManager().activateFrame (frameToActivate);
         desktopPane().setSelectedFrame (frameToActivate);I did a search of the web and found a tip on JavaWorld (http://www.javaworld.com/javaworld/jw-05-2001/jw-0525-mdi.html) which led me to try doing this from a different angle - the JInternalFrame's point of view. This code works     try {
              if (frameToActivate.isIcon ())  {
                   //  Restore from icon
                   frameToActivate.setIcon (false);
              frameToActivate.moveToFront();
              frameToActivate.setSelected (true);
         } catch (PropertyVetoException error) {
              error.printStackTrace();
         }My question is why does the desktop based approach not work? If methods exist that appear to let you restore and switch between frames why are the ineffective? Am I missing something obvious that I should be doing?
    If using the JInternalFrame methods is the right way to go then I will It just seems like if the DesktopManager has methods that advertise that is supports managing the active frame then they should work. Before I ignore them I want to check with you to see if there is a right way to use them.
    Ian

    So, this is another batch of duke dollars I cannot assign - since I solved my own problem:-)
    I had an epiphany and tried setting break points to see what code was executed when you click on an inactive frame. From that I determined that DefaultDesktopManager.activateFrame, as implemented, does not activate the frame but acknowledges the activation of a frame and does a small amount of bookeeping work for the DesktopManager. So, the solution is the code I wrote to switch focus using the JInternalFrame's methods. Since I did not want to have to write those nine lines of code in the couple of places I want to programmatically switch the active frame I added a get/setActiveFrame method to my JDesktopPane derivative. In case others face this problem here is the code (warning I have not yet setup building the JavaDocs for this project so I cannot vouch for the validity of the JavaDoc, but the code does work):/**
    * Bring frameToActivate to the front (restoring from icon if neccessary) and make it the
    * selected frame.  This method does all the things required to switch the active frame for
    * an MDI application unlike: @link JDesktopPane.setSelectedFrame, which does not change the
    * focus; @link javax.swing.DefaultDesktopManager.activateFrame which does not correctly
    * handle iconified frames or switch the focus properly; and
    * @link javax.swing.JInternalFramesetSelected which also does not handle iconified frames.
    * @param frameToActivate the frame to bring to the front and become the active window
    * @throws IllegalArgumentException
    public void setActiveFrame (JInternalFrame frameToActivate) throws IllegalArgumentException  {
        if (frameToActivate == null)
            throw new IllegalArgumentException ("setActiveFrame a frame must be passed a non null valie.");
        try {
            if (frameToActivate.isIcon ())  {
                //  Restore from icon
                frameToActivate.setIcon (false);
            frameToActivate.moveToFront();
            frameToActivate.setSelected (true);
        } catch (PropertyVetoException error) {
    * This method returns the currently active frame.  This method returns the same frame
    * as <code>getSelectedFrame</code> and is provided for symetry for <code>setActiveFrame</code>. 
    * @return the currently active frame
    * @see LDesktopPane.setActiveFrame
    * @see javax.swing.JDesktopPane.getSelectedFrame
    public JInternalFrame getActiveFrame ()  {
        return getSelectedFrame ();
    }IL

  • Can't change the shortcut to switch between windows (^F4) to altTAB

    Hi,
    I would like to switch between windows (not applications) by hitting ALT and TAB (same as Windows) instead of ^F4. In the preferences, I tried to change the shortcut labelled something like "Move focus to the active (or next) window". Unfortunately, it always complains that this shortcut is already used by another operation. However I can't find which operation uses ALT+TAB ?!
    How should I do ?
    Thanks in advance,
    Barth

    ecologisto wrote:
    Hi,
    I would like to switch between windows (not applications) by hitting ALT and TAB (same as Windows) instead of ^F4. In the preferences, I tried to change the shortcut labelled something like "Move focus to the active (or next) window". Unfortunately, it always complains that this shortcut is already used by another operation.
    Interesting. I can't use the TAB key in ANY custom shortcuts. it gives an error sound (but no message) when i try. I tried it on 3 different computers. I suggest you try a different shortcut like alt+`. It's very close to alt+tab.
    However I can't find which operation uses ALT+TAB ?!
    How should I do ?
    Thanks in advance,
    Barth

Maybe you are looking for

  • How to write a sql query to calculate weights using CTE

    Hi guys, want some help using a CTE to generate data using recursive SQL - input data in table A to be transformed into table B shown below Table A Instru_id_index     instru_id_name    instru_id_constit  con_name   weight         56                 

  • How to Map OraData to Java

    Hi I'm trying to Map Oracle data to Java. Call some procedure which return nested table of object. I'm using thin driver. Here is my code. type test1 as object (data1 VARCHAR2(40),data2 varchar2(30)); type test2 IS TABLE OF test1; procedure test (ven

  • Allow multiple but only display 1 choice

    with dreamweaver 8, how do I set the display to only show 1 choice initially? e.g. I have a month list. Initially, I want it to display Jan - and Jan ONLY. I want to allow multiple choice of month, e.g. I can choose Jun, July and Aug. I set type to L

  • Excel post journal with fixed rate

    Urgent -There is any transaction as to be able to upload one or more transactions from an excel with a fixed rate without getting the rates from the SAP exchange rate table? It’s like a normal G/L document posting but with a fixed rate. And with capa

  • Discoverer Plus workbook editing window size

    Is there a way to make all (or at least a few) workbook editing windows open as full screen (or larger than the default) ??? Each time I edit something in a workbook, I have to resize all the windows I open and it's kind of annoying. Thanks Michael P