How to switch between JRE version dynamically

hi,
I have got both jre1.4.1 and jre1.5.0_07 installed on y machine. But i need different version of jre to access two different applications.
How can i switch between jdk versions.

Are the JREs being invoked by a browser, if so you can define the preferred version.
In IE
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width="100" height="100" name="anApplet">
    <PARAM NAME="code" VALUE="yourClass.class">
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.4.1">
    <PARAM NAME="scriptable" VALUE="true">
        No JDK 1.2 support for APPLET!!
</OBJECT>Substitute type paramter for
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.5.0">When running a Java 5 applet
In Firefox
<object classid="java:yourClass.class"
              type="application/x-java-applet;version=1.5.0"
              height="100" width="100" >
</object>Bamkin

Similar Messages

  • How to switch between jre 1.5.0 and 1.4.2 when running applet in browser?

    Hi,
    I have JRE 1.5.0_05 and 1.4.2_04 installed and currently applet in browser is always run under jre 1.5. How to run the applet under jre 1.4.2 in browser?
    Thanks a lot

    Hi,
    Thanks for the info. I was thinking that the note didn't work for me, apparently I didn't use the conventional APPLET tag.
    Is there other way to switch JRE if I'm not using APPLET tag?

  • How to switch between messages in the BlackBerry Hub

    With the release of BlackBerry 10 version 10.1, we’ve added a new gesture to the BlackBerry Hub that allows you to quickly switch between your next and previous messages. It’s simple: while viewing a message drag your finger from the left to the right and in one continuous motion swipe up or down.
    For example, in the following screenshot you’ll notice I am viewing ‘Test 08”. To get to the next message, “Test 09”, all I need to do is swipe from left to right (red arrow) followed by swiping up (green arrow) in a single motion. To switch to the previous message, “Test 07”, I complete the same gesture, but swipe down instead (blue arrow).
    Tip: Using a BlackBerry Q10 or Q5? On top of using this gesture to switch between messages, you also have the option of pressing the N key to view your next message, or the P key to view a previous message.
    If this gesture doesn’t appear to be working on your device, verify you are using BlackBerry 10.1.0.4181 or later by going to Settings > About and reviewing the OS Version field. If the OS Version is lower than 10.1.0.4181, check for updates by going to Settings > Software Updates.
    For more details about the availability of BlackBerry 10.1, check out Inside BlackBerry’s post on BlackBerry 10 Software Updates.
    VIA | helpblog.blackberry.com
    http://helpblog.blackberry.com/2013/10/how-to-switch-between-messages-in-the-blackberry-hub/
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

    I would set up a variable before you get to that node, lets call it $EmpID and assign to it the value of the prompt you want to play lets say 12345 which would be the library promptID. It will then play prompt, get digits, and once you validate if it goes through the expression that flags it as invalid, in that node re-declare the variable, but this time give it the value of the new prompt you want to play, then sent it back to the node which will then play the new prompt and collect the digits.

  • How to switch to older version of final cut pro x from 10.1.2?

    How to switch to previous version of Final cut pro X after once it is updated to 10.1.2?

    M. Stochholm wrote:
    This project plays 1:50:00.
    Kindly
    Michael
    Not sure what that means…1 minute  and 50 seconds? Or 1 hour and 50 minutes?
    Russ

  • MSI R9 290 How to switch between Gaming Modes?

    Hi, I just got a MSI R9 290... with Afterburner installed. This card has 3 preset modes that are supposed to be easy to switch between OC Mode 1007Mhz, Gaming 974Mhz, Silent 947Mhz... How do I switch between modes? I just tried to up the MHz in Afterburner and must have done something wrong, becuase I froze everything instalntly and had to reboot. Can someone please advise me how to switch between these modes? Do I have the right software installed, Afterburner or is there another suite specificly for this card? I did not install the card, and sorry I am a noob when it comes to OC. . . Noob to gaming in general, but I am getting some pretty bogus 30FPS on a 2012 game, LA Noire, which shouldnt even be demanding for t

    Quote from: kris.meaney on 07-March-15, 18:45:04
    This card has 3 preset modes that are supposed to be easy to switch between OC Mode 1007Mhz, Gaming 974Mhz, Silent 947Mhz... How do I switch between modes?
    You need the Gaming APP for switching (not Afterburner): http://download.msi.com/uti_exe/gamingApp.zip
    Afterburner is for manual overclocking (for advanced users) if not using the modes.

  • How to switch between markets in AppStore?

    How to switch between markets in AppStore? It says that I cannt buy in Russian market because my account registered in other

    Follow the directions here:
    http://support.apple.com/kb/ht1311

  • Question How to switch between tabs automatically? for example every 30 seconds

    Question
    How to switch between tabs automatically? for example every 30 seconds

    Tab Mix Plus has that feature.
    *Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • AS: how to switch between screen modes?

    hi @ all,
    does anybody know how to switch between the 4 screen modes in ps cs3?
    - standard
    - maximized
    - full screen with menubar
    - full screen
    I looked around but could not find anything discribing a way doing this by applescript.
    the only thread I found
    http://www.adobeforums.com/webx/.3bc85cba/0
    refers to javascript but I was not able to adopt it.
    thanks for any help
    Claus

    To do it with AS only, you need to simulate the "f" key with System Events:
    tell application "System Events"
      tell process "Adobe Photoshop CS3" to keystroke "f"
    end tell
    That will loop thought the screen modes as if you did it manually.
    To run the JS from the other thread, you need to use the "do javascript" command. Remember to escape all the quotes in the JS:
    tell application "Adobe Photoshop CS3"
      do javascript "var screenModeOptions = new Array(4);
         screenModeOptions[0] = \"screenModeStandard\";
         screenModeOptions[1] = \"screenModeMaximized\";
         screenModeOptions[2] = \"screenModeFullScreenWithMenubar\";
         screenModeOptions[3] = \"screenModeFullScreen\";
         applyScreenMode(screenModeOptions[0]);
         function applyScreenMode(mode){
          var desc = new ActionDescriptor();
          var ref = new ActionReference();
          var menuID = stringIDToTypeID( mode );
          ref.putEnumerated( charIDToTypeID( \"Mn  \" ), charIDToTypeID( \"MnIt\" ), menuID );
          desc.putReference( charIDToTypeID( \"null\" ), ref) ;
          executeAction( charIDToTypeID( \"slct\" ), desc, DialogModes.NO );
    end tell
    The JS is the better solution if you wanted to skip directly to the desired screen mode without looping through the others.
    Carl.

  • How do you switch between JRE v1.4.x and v1.5.x

    Java 2 Runtime Environment, v1.5.0_02-b09 Control Panel doesn't appear to let user switch back to a 1.4.x version. Hoping someone can can me how to do this.
    I have an application that uses JRE 1.4.2 and does not allow user into the interface until they switch their configuration to the 1.4.2 version by going to Start > Settings > Control Panel > Java Plug-in, selecting the Advanced tab and choosing the 1.4.2 version from the pull down provided in the Java Runtime Environment Section. This process worked fine if the user had v 1.4.x or lower, but does not work now that users have v1.5.x due to the changes in the Control Panel. Does anyone know the equivalent procedure with the new 1.5.x Control Panel so user can specify 1.4.x? (I did play around with the setting in the Java tab, Java Application Runtime Settings section to no avail.) Thanks.

    We have had backwards compatibility problems before and must ensure that the product we deliver works for our user community due to the nature of the product. We have compiled our code with 1.4.2 and test internally with 1.4.2_04. In addition, the product that we deliver is in maintenance mode and is not currently funded for development/updates - just need to let the users who have updated to 1.5.x know how to switch back and forth between 1.4.x and 1.5.x. Currently, I can only tell them to remove 1.5.x, which is not desirable.

  • How to switch between libraries?

    I have got to do a disk repair. I'm making sure my backup is correct as I don't want to lose all my precious pics. Lucky I checked as I've just discovered I've got two iPhoto libraries! The one I appear to be using is in the mac folder - where Users folder is, Library, System Folder, Updaters etc. It's the first area you come to when you double click on your mac's symbol in upper right corner.
    However, I also have an iPhoto library within a folder which is in my User/Pictures area.
    I want to make sure that the iPhoto library I'm using is within my user/pictures folder as it's my user files which are being backed up. However, I don't want to trash the one which is there without looking in it to see what's within. How do I switch between libraries?
    If it's empty, I can presumable just bin it then use the recommended technique to move my other library to User\Pictures.
    Thanks!

    If you use iPhoto LIbrary Manager like Larry suggested it will display the library name in the top iPhoto frame like this:
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • How to find out jre version installed ,using a java program?

    Hello,
    Is there any way to find out the installed JRE version using a java program ?
    The requirement is as follows:
    There is a html page with 4 steps to install a software. each step is a link, which upon clicking does its work.
    the first step is to install jre 1.4.2_11 if its not installed in the system. But how can i find out whether jre 1.4.2_11 is installed or not ?
    Thanks in advance

    For the hell of it... here is a list of properties you can query:
    java.version Java Runtime Environment version
    java.vendor Java Runtime Environment vendor
    java.vendor.url Java vendor URL
    java.home Java installation directory
    java.vm.specification.version Java Virtual Machine specification version
    java.vm.specification.vendor Java Virtual Machine specification vendor
    java.vm.specification.name Java Virtual Machine specification name
    java.vm.version Java Virtual Machine implementation version
    java.vm.vendor Java Virtual Machine implementation vendor
    java.vm.name Java Virtual Machine implementation name
    java.specification.version Java Runtime Environment specification version
    java.specification.vendor Java Runtime Environment specification vendor
    java.specification.name Java Runtime Environment specification name
    java.class.version Java class format version number
    java.class.path Java class path
    java.library.path List of paths to search when loading libraries
    java.io.tmpdir Default temp file path
    java.compiler Name of JIT compiler to use
    java.ext.dirs Path of extension directory or directories
    os.name Operating system name
    os.arch Operating system architecture
    os.version Operating system version
    file.separator File separator ("/" on UNIX)
    path.separator Path separator (":" on UNIX)
    line.separator Line separator ("\n" on UNIX)
    user.name User's account name
    user.home User's home directory
    user.dir User's current working directory

  • How to get active plan version dynamically

    Hi all,
    I am making some HR reports in which I am pulling up position long text from hrp1001 by giving condition - where plavr = '01' . Now if the active plan version is not 01, my condition becomes vague.
    Please let me know how to determine the active plan version dynamically in my sample code below
    SELECT APERNR AOTYPE B~STEXT INTO CORRESPONDING FIELDS OF TABLE ITAB_EMP_DEATILS3 FROM PA0001 AS A
    INNER JOIN HRP1000 AS B ON BOTYPE = AOTYPE AND BOBJID = APLANS WHERE ( BOTYPE = 'S' AND BPLVAR = '01' AND AENDDA = '99991231' AND BENDDA = '99991231') AND A~PERNR IN PNPPERNR.
    SORT ITAB_EMP_DEATILS3 BY PERNR.
    DELETE ADJACENT DUPLICATES FROM ITAB_EMP_DEATILS3.

    Simply call FM RH_GET_PLVAR  

  • How to switch between two query in Web templete.

    Hi all,
      Here i am facing problem to switch between two query in web template by using one 'table' web item. is there any way to use hyperlink 'SAP_BW_URL' and we can switch to query. here i am using these HTML code..
    <table><tr><td class="SAPBEXBtnStdBorder" cellspacing="0" cellpadding="0" border="0"><tr><td>
    <table><tr><td class="sapbexbtnstd" ><A href="<SAP_BW_URL cmd='reset_item' item='table_data' query_ID='ZSD_ZSD_M01_Q20' apply_cmd_on_target= "X">" >Switch to other query</A></td></tr></table>
    but i am not getting correct functionality.
    please help me to solve this problem.
    I know the best way to say thanks in SDN.
    thanks
    Kiran Patel

    Kiran,
      Use the web api reset_data_provider as links or in select option in HTML.
       Onchange event of this select option should call JAVASCRIPT method and
       this in turn resets the current dataprovider to your concerned one.
       How to change graphs:
       The graph item has the default data provider:
       <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="CHART_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="TMP_CHART_DATA_HANDLE" value="IIP_49MOXB0UVNOMM6JOZMZU7QO21"/>
             ITEM:            CHART_1
       </object>
      So if you change the DATAPROVIDER_1 using RESET_DATA_PROVIDER to your concerned DP, this changes chart as well !!
       Please use this method and refer to sample code for Onchange Event on SELECT OPTION:
      <HTML>
    <HEAD>
    <script>
    function callDP() {
         if(document.forms[0].dp.value == "1") {
            //form your URL here..
           url = SAP_BW_URL_Get() + "&CMD=RESET_DATA_PROVIDER&DATA_PROVIDER_1=..&...";
            SAPBWOpenURL(url);
            //or docuemtn.location.href = url..
            //etc..
    </script>
    </HEAD>
    <BODY>
    <form>
    <select name="dp" onChange="javascript:callDP();">
    <option value="1">1</option>
    <option value="2">2</option>
    </select>
    </form>
    </BODY>
    </HTML>
    HOPE THIS HELPS !!!

  • How to switch between apps in mission control shortcut key

    I open two apps in my macbook, how can i select the app without clicking on it?.I know that f3 > mission control and then click, but i want to switch between apps with keyboard shortcut.Thanks in advance for your help.( I am runnig lion).

    Hold down the cmd (⌘) key and briefly press the tab key (⇥) then use the left/right arrow keys to select the application you wish to switch to.  When done release the cmd key.

  • How to compare between two versions of template project???

    Dear All,
    We are doing some cleanup activity in our solution manager system. For this actually we have created the replica of this project from production system to a sandbox system. We can do the cleanup of this project and can transport this new project to our production system and can move on.
    But the pbm we are facing now is, how do we bring in the data captured or added to the production system after we have copied it to the sandbox system?
    Can anybody throw in some light into this issue?
    We tried the option of creating different version for the template and using the sa_project_upgrade transaction to compare between two versions of the template using "Current Version in Project" option. Not sure whether this will work out.
    {{We thought that if we try in this way, we can find the difference between the two versions of the template project, and from there, might be we can bring in the new changes into our new project manually. We do agree that this is not the right approach.}}
    But the end result we got was like we got the information regarding where all there is the difference between the current version in the template project to that of the original(in our case it checked against BPR as we selected the scenarios from BPR for this template). But what we expected was a difference between two versions of the template.
    Pls help. Pls make a try to help. Any thoughts in this direction will help us to move forward.
    Any info will be suitably rewarded.
    best regards,
    Krishna.

    Hi Andreas,
    Thanks a lot for your immediate reply.
    I too had that doubt that my appraoch will not work. But wanted to get confirmation that it will not work. Also wanted to know about any other approach. Thank you for providing me with some alternative approach.
    I tried the option suggested by you. But while running the comparison report for the newly copied project with the option "New Version of Original", I am getting the below error. I do agree that this approach should work. But for some reason I am getting the below error. Can you pls look into the same and help me out.
    Internal error
    Message no. AI_COMPARE006
    Diagnosis
    An unexpected error has occurred in:
               program CL_SA_PROJECT_UPGRADE_ONLINE==CP
               include CL_SA_PROJECT_UPGRADE_ONLINE==CM002
               line                                                  102
    Procedure
    Restart the transaction. If the problem persists, check if a SAP note is existing for this problem. If not please send a message to the SAP hotline.
    Thanks a lot in advance.
    best regards,
    Krishna.

Maybe you are looking for