Install JDK/JRE 1.4.2 *after* JDK/JRE 1.5

Hello,
I've installed the latest JDK/JRE 1.5, but for various reasons I need to install the latest version of JDK/JRE 1.4.2.
I'm using Windows XP SP2, and the Firefox browser is my default web browser.
Is this possible without creating a mess? In other words, will the 1.4.2 JDK/JRE installer recognize that a later version of the JDK/JRE is already installed and not replace such common components as the Control Panel applet with the earlier version? And will I be able to easily specify what version of the JRE the system should be executed with Java programs, jars and applets, as that Java Control Panel is supposed to allow?
I really want JDK/JRE 1.5 to be the usual system default, but allow occasional temporary changes via the Java Control Panel. I would
change over to the JDK 1.4.2 by altering the JAVA_HOME to point to the appropiate directory and placing %JAVA_HOME%\BIN at the head of the PATH.
Will this work?

I've installed the latest JDK/JRE 1.5, but for
various reasons I need to install the latest version
of JDK/JRE 1.4.2.So do it.
Is this possible without creating a mess?Yes. Though you can of course only use one plug-in and only have one in your path.
In other
words, will the 1.4.2 JDK/JRE installer recognize
that a later version of the JDK/JRE is already
installed and not replace such common components as
the Control Panel applet with the earlier version?No, I doubt that. But you could install them the other way around, uninstalling 1.5, then then first installing 1.4.2 andf then 1.5 again.

Similar Messages

  • Problems emerges after installing JDK

    after installing JDK, problems show.
    when I try to open the file on the disk, it takes much more time than before. Or even I can open the subfile.
    But when I install the JDK on anther computer, such phenomina does not happen.
    How to solve this problem, thank you in advance.
    My OS is Windows XP.

    But not on the floppy disk.
    It is on the disk. It takes me too long a time to open the file on the (D:) disk and (E:) as well.
    while doing the same on another computer, it doesnot happen.
    What is the problem ?
    Thank you in advance.

  • Javac not a recognizable command on my computer after i installed JDK SE6

    I am trying to compile my java code so that i can execude it but my computer is telling me that this is not a recognizable command even after ive installed JDK SE6. any ideas?

    You need to update your Java registry variable.
    Go to start> control panel> system> advanced> environment variables>
    Now find the variable called "Path". Click "edit", and after everything else already there, put a semicolon if there isn't one, and the following:
    C:\Program Files\Java\jdk1.6.0_03\bin
    The _03 is for update 3, if you have a newer one, put 04 or whatever it is now.
    DO NOT DELETE WHAT IS ALREADY IN THE EDIT BOX!
    If you delete all of the other things, it will really mess your computer up. This is a vary sensitive process, so be careful.

  • /usr/bin/java Permission denied after installing JDK on linux

    Hi Guys,
    I installed jdk-6u1-linux-i586-rpm.bin and I am getting strange errors like this:
    1 When I simply run "java" in shell I get this:
    /usr/bin/java: line 67: /tmp/javaf10273: Permission denied
    /usr/bin/java: line 67: /tmp/javaf10273: Success
    2. When I try to run an sh file I get this:
    Warning: -ms128m not understood. Ignoring.
    Warning: -mx128m not understood. Ignoring.
    /usr/bin/java: line 67: /tmp/javae10796: Permission denied
    /usr/bin/java: line 67: /tmp/javae10796: Success
    I searched around and as I understand the linux package may have contained some older java version, and the comp is still trying to use that.
    But these notes did not say how to uninstall that older version, orr what to do.
    Can you please maybe point me somewhere?
    Thanks,
    Gyuri

    The RPM installer for the Sun JDK installs Java in /usr/java/jdk1.6.0_01. Just add /usr/java/jdk1.6.0_01/bin to your path before /usr/bin and it should be fine.
    Additionally, there are no -ms and -mx parameters, those should be -Xms and -Xmx.

  • Can't install JDK 5.0 on Windows

    I'm trying to install Java 5.0 on my Windows NT Workstation 4.0 box, but I can't get the installer to work. If I try the combined Netbeans 4.0 beta 2 and JDK 5.0 installer, it installs Netbeans fine, but then stops and complains that there "may have been an error installing" JDK 5.0 and tells me to look in install.log. Unfortunately, it hasn't created an install.log file.
    If I try the separate Windows Offline installer for JDK 5.0, I get the splash screen and the harddisk rattles a while, but then I get a dialog asking me where it can find the "Java 2 SDK, SE v1.5.0.msi" file. I can't find that file anywhere so I have no choice but to click Cancel.
    What's going on? Is there some installer-less version of the JDK somewhere which I can use? Can I cause the installer to run correctly?

    I had a similar experience with both the JRE 5.0 and JDK 5.0 installations on my machine with Windows XP service pack 2. The installations would start coping files and installing. Near the end of the installation, the installation would just freeze. I brought up Windows Task Manager and noticed a java process was running and not taking up any CPU time. I tried but could not kill this java process. I tried to shutdown down my computer, but in the end I had hit the off button my case.
    I uninstalled the JDK and tried again. Once again the installation freezed right when it started a java processes. From the command line I then tried java -version. Nothing happened and the command would not return. I brought up another command window and tried again. Same result. Now I had three java processes in the Windows Task Manager. I tried to "end process" all three java processes, but they would just remain the Windows Task Manger. All three could not be killed. Once again I had to turn my computer off (Shutdown didn't work again, it would just freeze).
    After rebooting I was able to run java -version and get "1.5.0". It seems that whatever the installation did before starting the java process was enough for me to use java 5. What does the installation spawned java processes do?
    I tried several things to get the installation to run all the way through. I cleaned my PATH and other environment variables, I tried stopping all unnecessary processes and services. Everytime I ran the installation I got the same results.
    Here are the steps I had to take on my computer to install j2sdk 5.
    1. Install JDK 5.0.
    2. Watch for java process in Windows Task Manager.
    3. Turn off and then turn on the computer.
    4. Install JRE 5.0
    5. Watch for java process in Windows Task Manager.
    6. Turn off and then turn on the computer.

  • Error installing jdk-1_5_0-windows-i586.exe

    During second phase of the install process, I get this error message: "Error 1311.Source file not found: C:\Program Files\Common Files \Java\Update\Base Images\jdk1.5.0.b64\patch-jdk1.5.0b64\jo150000.cab. Verify that the files exists and that you can access it." After clicking Cancel, OK, and Finish, the installer indicates that the JDK was successfull installed. However, the public JRE was not installed. I have uninstalled the JDK and attempted to repeat the install several times with the same results..
    I' m installing on Windows-XP Home Edition. I have previously installed the second beta and followed the instrustions to unstalling it before installing the release version.
    I also have 1.4.0 and 1.4.2.02 installed.
    Help

    I am receiving a similiar error message:
    Error 1311. Source file not found: c:\Documents and Settings\tee3\Local Settings\Temporary Internet Files\Content.IE5\58W7LIST\Down[1].htm. Verify that files exist and that you can access it.
    This is strange because I have installed jdk 1. 5.0 before and I did not get this error. I needed to re-install the jdk1.5.0 in a different directory. Thats why I am re-installing it. I first un-installed it and then tried to re-install it. Thats when I get the error message above.
    does anyone have a fix for this.

  • Do I need admin rights to install jdk?

    Hi I tried to download and install jdk 1.4 from java.sun.com, but after installation found out that just the jre part of ht einstallation was successful. The jdk is not installed so I can only run java classes but cannot compile any code.
    Is this becasue I may not be logged in as an admin. Please help.
    thanks,
    nik

    It's best that you have admin rights to install jdk...
    What OS are you using?

  • How is windows registry affected on installing JDK

    I have a basic query ,when u install JDK ,JRE also gets installed
    does it make an entry in the registry(windows system).Also the browsers supporting java do they come with their own JRE's ie. a system can have 2 JRE's at the same time or is it that the browsers use the JRE of the JDK.
    I got an unsual error once after lots of successful executions saying that the dll for jre1.3 was not available and incompatible with jre 1.2
    ..dont remember the exact error.
    When i installed the jre1.3 , the same error did not come.
    So I am pretty confused , why did the jdk1.3 installation not install the jre1.3 .....Can any one help

    I have a basic query ,when u install JDK ,JRE also
    gets installed
    does it make an entry in the registry(windows
    system).Also the browsers supporting java do they come
    with their own JRE's ie. a system can have 2 JRE's at
    the same time or is it that the browsers use the JRE
    of the JDK.
    I got an unsual error once after lots of successful
    executions saying that the dll for jre1.3 was not
    available and incompatible with jre 1.2
    ..dont remember the exact error.
    When i installed the jre1.3 , the same error did not
    come.
    So I am pretty confused , why did the jdk1.3
    installation not install the jre1.3 .....Can any one
    helpYes, installing the JDK does put registry entries in. Search your registry for java. It'll list all your JDKs and also which is the current one. You can switch the current one between your JDKs. Also, running java on windows often results ( in certain versions, I know it does on win2000 ) in putting java.exe in the winnt directory, so even though your path variable may point to the correct jdk, if the wrong java.exe is in your winnt directory that will get picked up, with pretty unpredictable results.

  • When trying to install jdk-1_5_0_13 on Solaris geting file is corrupt.

    I am trying to install jdk-1_5_0_13 on Solaris 10 using the following downloaded files from Sun Archive site
    jdk-1_5_0_13-solaris-sparc.sh and jdk-1_5_0_13-solaris-sparcv9.sh
    When tried to install using these self extracting files
    It gives error file is corrupt after accepting the licencing agreement. We have already tried after downloading twice and it give the same error.
    Please could someone explain
    1. Is the set files at the site really corrupt ?
    2. Or is there something else, like instructions given at the site are not 100%
    3. How to make it work?
    Has any one installed jdk_1.5.0_13 recently on Sun Solaris using self extracting files and it worked?
    Your help will be higly appreciated.
    Thanks
    Edited by: SatishKainth on May 1, 2008 4:51 AM

    First make sure that you are logged in as "root", or use su [root password] to be logged in as.
    And then try all that things again.

  • Installing jdk 1.4.2 and 1.5 parallel

    Hello,
    I would like to know it is possible to install jdk 1.5 on a windows XP machine already countaining jdk 1.4.2.
    I need both versions. I want to switch between them with Eclipse build in features or by selecting the whole path to the bin folder of the target version in batch scripts.
    Is this possible or does dll or registry stuff collide?
    Tanks in advance.
    Alex

    When you install a JDK in Windows, you are given the choice to not install a JRE (it's installed by default).
    The JRE uses the Registry and also installs copies of java.exe, javaw.exe, and javaws.exe in /Windows/System32 directory. The JDK doesn't alter or install anything outside of the directory it installs into.
    You can have as many JDK installs (directories) of different versions as you want, and access the programs in each with a full path to the program. You can provide the path information either from the commandline or a .bat file.
    If any of the installs also install a JRE, then the Registry entries and java files in the System32 directory will be for the last version installed. There can only be one active JRE installed.
    Whatever version's files are found first on the PATH environment variable's list will be the version executed when a naked java command (without the path) is issued. This also means that you will [usually] execute the version whose files are in the System32 directory, since that directory is [usually] the first directory listed in the PATh list.

  • How to allow a Java application to run on any PC without installing jdk?

    I'm doing this program that would retrieve infomation of the PC and send it to the server. In order to do that, i have to email the application to all these PCs. The problem is that some of these PCs may not have JRE or jdk to run the application. Cos, i thought that Java was Write once Run anywhere. I've tried to jar and run it on a PC with no JRE and stuff, How can this be done, I know that using applet is an option, but is there any other way. Pls help me, thanx!

    you need a java virtual machine to run a java application, either it is embedded in the browser ( a native or plug-in ) and you can run your applet in the browser, or, if you don't want your app to be an applet, you have to install a jre on the PC...no other way, i'm afraid
    so write once, run anywhere, provided there's a jre anywhere ! it is the jvm that handles differences between os, and you need to handle that difference somewhere, don't you !

  • Problem in installing JDK 5.0

    Hi,
    In order to install ORacle SQL Developer for linux, I tried to install JDK 5.0 according to the instruction. I downloaded the files and installed it. But when running the sqldeveloper, I got the error message:
    Error: This product requires a Java(TM) Platform 5.0 runtime.
    You are using 1.4.2 from /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
    sqldeveloper installation instruction suggests to go to this page:
    http://java.sun.com/javase/downloads/index_jdk5.jsp
    and download JDK 5.0 Update 6. Since this website doesn't have 6, so I downloaded JDK 5.0 Update 10.
    How do I make sure JDK 1.5 is installed?

    Sorry for delay but I was temporary away without
    internet connectivity ;-(
    That commad will print "/usr/java/jdk1.5.0_10" and
    redirect this text (output) to
    /home/cdre/.sqldeveloper_jdk file. If the file is
    exists then contents of file will be replaced by new
    text. If the file does not exeist then will be
    created.
    But there is another problem. Seems you are using
    SQLDeveloper 1.1 and (where some things were changed
    from 1.0) and this command is valid for 1.0.No problem. I have learned a lot about shell scripting recently.

  • Installing JDK 5.0 in MAC

    Hi, im trying to install jdk 5 in my mac. i downloaded the file and everything, i supposely installed it, even open the unzip the src file, but when i go to my terminal to check my java version, still tells me 1.4... im probably installing it wrong, or maybe i have to put it in some path. please help. thanks

    If you are working with a version of the Mac that is prior to X, you will be restricted to 1.1 or possibly 1.2 (can't remember) of the JRE and JDK..
    So I'm assuming you are working with Mac OS X...
    Apple provides it's own implementation of the JRE and JDK for Mac OS X. Currently, the highest available version of Java for the Mac X is 1.4.2
    http://www.apple.com/macosx/features/java/
    When Java 5 becomes available you will most likely want to obtain it via Software Updates.
    http://www.apple.com/macosx/upgrade/softwareupdates.html
    Here is an article on the Sun site about development for Mac OS X
    http://java.sun.com/developer/technicalArticles/JavaLP/JavaToMac/
    And a link to a site about Java on the Apple Developer Connection site
    http://developer.apple.com/java/

  • Installing JDK 1.4, esp. the src.zip file

    I have some questions about installing JDK 1.4:
    1. After running the executable installation file, you get a src.zip file in the installation directory. Does anyone know what this is? The obvious answer is that it is the library of code for JDK 1.4. However, I have run programs on Forte Agent without unzipping this file.
    2. In previous versions of the JDK, when you decompress the src.jar (it is now a src.zip file in the 1.4 version) file, it creates a src folder and decompresses all the information into that. However, in JDK 1.4, it does not create a src folder, but rather, decompresses the files into the installation directory. Is this a fault of the new release or should I create a src folder and have the src.zip file decompress into that folder?
    I am running Windows 2000.

    I have some questions about installing JDK 1.4:
    1. After running the executable installation file, you
    get a src.zip file in the installation directory. Does
    anyone know what this is? The obvious answer is that
    it is the library of code for JDK 1.4. However, I have
    run programs on Forte Agent without unzipping this
    file.The src.zip is the source code for the JDK, not library. Note: The file is not the whole source code, it does not have any native library so you cannot compile it.
    >
    2. In previous versions of the JDK, when you
    decompress the src.jar (it is now a src.zip file in
    the 1.4 version) file, it creates a src folder and
    decompresses all the information into that. However,
    in JDK 1.4, it does not create a src folder, but
    rather, decompresses the files into the installation
    directory. Is this a fault of the new release or
    should I create a src folder and have the src.zip file
    decompress into that folder?
    I am running Windows 2000.No, it is just how Sun zip it. Anyway, as long as you don't care to look at the source, you can just leave it along.

  • Installing JDK for Microsoft Windows

    Hi all,
    I'm installing 8.53 on Win 2008 following
    http://docs.oracle.com/cd/E38921_01/psft/acrobat/PeopleTools_8.53%20_Installation_for_Microsoft_SQL_Server.pdf
    At step Task 2-1-2: Installing JDK for Oracle WebLogic
    there are three choices :
    Develpment kit
    Source Code
    Public JRE
    Which one should I chose ?
    Thank you.

    http://gasparotto.blogspot.nl/2013/08/peoplesoft-on-windows-2012-middleware.html
    Nicolas.

  • Just installed jdk 1.2.2 Now what?

    Hi I have just reinstalled jdk 1.2.2 after completely wiping my hard drive and it seemes to have put all the files in the right place.
    But how do i now get the java and javac commands to work?
    What do i click on. I tried the command executable file and it says:
    Bad command or file name
    so I presume it doesnt recognise the commands.
    Please Help!

    First set the path in the command by typing path=c<or the drive>:\<installed jdk directory>\bin. Then type javac or java and if some options came as a reply it means its working.

Maybe you are looking for