JRE vs JDK install

Just installed JDK 1.6.17. I like to change the default install directory from '...Program Files...' to something my own (C:\SFTWR\Java\jdk). As the last step of the install process, it installed the JRE and it also asked me where to install it so I said C:\SFTWR\Java\jre. It completed installation successfully, HOWEVER, it appears that, in addition to the JRE i specified where to install to, it also installed one under the JDK directory (C:\SFTWR\Java\jdk\jre). So now there are TWO JREs. I wonder why this is happening and whether this is some sort of a bug in the install process and if i can get rid of one of the JREs? When I went into Eclipse to see which JRE it is using, it was the one under JDK (C:\SFTWR\Java\jdk\jre).
This kind of annoys the c**p out of me ...
Thanks for help

First off, let me just say that it was NOT a bug. It installs the first jre you talked about (C:\SFTWR\Java\jre) so that if you ever decide that you do not require the JDK anymore and you uninstall it, the JRE under the jdk, C:\SFTWR\Java\jdk\jre)
will also be uninstalled. The JDK installation is a bundled one, so it installs the JDK(which includes the JRE) and the standalone JRE itself. Getting to the point, I'm trying to say that if there weren't two JREs, and if you feel like you don't need the JDK anymore and uninstall it, you would have to go download the JRE another time. Hope that cleared up the issue.

Similar Messages

  • JAVA_HOME, JRE and JDK

    Does anyone know what JAVA_HOME should be pointing to if only the JRE in installed? What it should be pointing to if the JDK is installed?
    On Windows, I notice that c:\program files\JavaSoft gets created after install. For which install does that happen? For the JRE and JDK install? Should JAVA_HOME be pointing to that directory?
    I couldn't find any java.sun documentation about the role of the JAVA_HOME env var. If anyone can piont me to some, that would be appreciated. :-)
    Version: 1.3.1
    Thanks in advance.

    Dear dinogg
    Does anyone know what JAVA_HOME should be pointing to
    if only the JRE in installed? What it should be
    pointing to if the JDK is installed?
    set JAVA_HOME=C:\jdk1.3.1\bin
    On Windows, I notice that c:\program files\JavaSoft
    gets created after install. For which install does
    that happen? For the JRE and JDK install? Should
    JAVA_HOME be pointing to that directory?
    actually it is for jre but when u install jdk it also install jre if you notice there is a part setting up java runtime environment
    I couldn't find any java.sun documentation about the
    role of the JAVA_HOME env var. If anyone can piont me
    to some, that would be appreciated. :-)
    not sure where you can find it
    Version: 1.3.1
    Thanks in advance.
    version 1.4.0 is out and it is nice
    new stuff like scroll mouse, undecorated dialogs, xml transformer better focus management and etc
    Thanks
    Joey

  • Unable to find an installed JRE or JDK of version 1.4 or higher

    hello friends,
    i have facing an error when i tired to install JEdit setup and i hav faced this error before also but what is this error...
    *"unable to find an installed JRE or JDK of version 1.4 or higher"*
    I have installed jdk5 and i have set Environmet variables as below
    JAVA_HOME: E:\JAVA_ALL\JDK\jdk5.0
    and in path---->
    PATH: %JAVA_HOME%\bin;%JAVA_HOME%\lib\tools.jar;
    * do i need to give any thing more than this...?
    thax in Adv.
    Ajay

    http://community.jedit.org/

  • Installing JMS 3.6 without JRE and JDK

    I'm looking for a way to install JMS only, without installing the new versions of JRE and JDK. The application I'm working on works with JRE 1.5.0_02 only, and there is no plan to change that in the near future, however we want to upgrade to JMS 3.6 to be able to use the new imqPingInterval.

    Are you shure you have included the jre PATH (not CLASSPATH) in your PATH variable?
    Assuming you're working in a Linux (or unix) environmet, check the PATH: it should contain /usr/local/jdk1.3.1_01/jre/bin.
    I'm not sure this is really the answer, but there's no damage on trying it! :-)
    bye
    Michele

  • Installed jre and jdk and setup environment  variable

    installed jre and jdk and setup environment variable but still i am not able to rum program?
    cannot find symbol class string
    package system does not exist

    if removing 1 jre will help your disk space problems
    then you urgently need a bigger disk.
    Btw i never notice Java installing 2 different JRE's
    so i dont think it will harm remvong one, make sure
    you dont delete one you are using :)I assume that you don't run MS os; that's the only one that installs 2 JRE's.
    To OP: This has been discussed by Sun, but no changes have been announced. Maybe the relocation in version 1.5 of the private (aka developer) code to the Program Folder is a start of this change?

  • How can I run a application on a machine without JDK installed?

    Hi all,
    I'm new to java,I want to know if there's a way to run a application on a machine without JDK installed, I noticed that some server application such as Domino have CORBA applications running in background,how can I set up such environment without JDK installed?
    Thanks.

    I believe there are two basic ways you could go about this.
    1) Install the JRE (Java Runtime Environment) on the machine in question.
    2) Use JSP to make a server side app that interacts via browser on the local machine.

  • Why can't I run my Java program with just the JRE, the JDK is required?

    I've recently written 3 programs in Java using the Netbeans IDE with JDK 1.6 as the default Java platform. The compile-time libraries include the Swing Application Framework. I use BuildDesk from ProductiveMe to package the each program into a Windows installer.
    When I install the programs on a new computer without a JRE or JDK being present, and attempt to run them I get an error (as expected) stating that there is no JVM. The messages says that I need to install JDK 1.3 or higher. I downloaded the latest JRE onto the new computer and attempted to run the programs and I get the same error message. My question is, why can't I run these programs with just the JRE installed? Why do I need the JDK? When I install the JDK, the programs run fine. The typical user may not have the JDK on their system, but they likely have the JRE if they've run Java programs before.
    Is the answer as simple as there must be library functions being used by the programs that belong to the JDK, but not the JRE? I'd rather a user not have to install the JDK verses the JRE because they may also have to update some Windows environment variables.
    Thank you for any help on this issue.

    915088 wrote:
    Thanks for your replies. I further investigated BuildDesk and found an option which allows a JVM check but that check needs the JDK. I stopped the JVM check and rebuilt using BuildDesk and it now only requires the JRE to run the programs. The reason why I use BuildDesk is to package more than just the jar file for the user. BuildDesk allows me to create a installation folder structure as well as include any other files in the build. I could just as well zipped all this together for the user but decided against that method.I don't think anyone will question your usage of an installer tool; that is entirely up to you. But what is questionable is that you have problems with that installer tool and then go look for help in a Java programming forum. The next time, go look for help at the source. If there is no way to acquire help (support, a forum, a mailinglist, anything) then that is a very good reason to not use the product in question.

  • Java (JRE) won't install??

    While visiting a site, the java applet, on the site would not run. Further browing discoverd that I needed an updated version of the JRE. Having had problems with Java, in the past, I removed my old version before installing the new version.
    MSIEXEC.EXE logged the removal of the old version.
    FIRST TRY: attempted the "online" install version. After downloading NOTHING happened. Lots of disk activity, but no installation program was run. NO errors were displayed. Tried this twice, same results.
    SECOND TRY: downloaded the file for manual install. Download went fine, no problems. Closed browser, ran installation program. AGAIN lots of disk activity (unpacking files?). Same results as before, i.e. no installation program appeared and no errors were reported.
    Third tries and onward: Re-downloaded the files from different locations, on the possibility that the files were corrupted some how. All files were the same and were checked to be true copies.
    Some snooping around led me to find that the disk activity was caused by the file unpacking an MSI file. Attempted to run the MSI file. It failed, with this error:
    *** Begin Quote ****
    This installation package could not be opened. Verify that the package exists and that you can access it or contact the application vendor to verify that this is a valid windows installer package.
    **** End Quote ****
    Fisrt Question: (Obviously) why won't the installation progam run?
    Second Question: has support for win 9x been dropped?
    Hope someone here has an answer. because this one has me stumpted.
    Bill

    I have been trying to install the latest command line programming JDK, Java SE 6 (any recently updated "subversion" so to say), and have found that the Microsoft Support, today, sent me to Sun and I presume Sun will send me to Microsoft (since, for now, I'm using Windows 98 SE "not supported" blahblahblah) -- Point: I was glad to find this thread x 1 googleplex.
    But I don't know if by .old you mean change, literally, the name of the file (using DOS rename command? which I've done, nothing yet ecept message telling me I have to insert the last of the disks first?!?) to MSIEXEC.OLD -- or if by ".old" you meant something else, something prehensile or obsolete MSIEXEC.FOO, in other "words" -- which, if so, I need to know the actual real extension name/spelling of (unless you can draw me a picture.
    I have no small amount of urgency wrapping this around my hypothalamus. Must have the command line prgramming tools -- the jdk -- installed. Can not fail. Therefore: thanks again for your help!
    I don't know if the Sun forum this is on will inform me of a reply; please, if you have some anonymous way to send one to my email I'd really appreciate it: [email protected] (I already get so much spam I don't mind posting that adress. Yours will be destroyed in a burst of atomic flame as soon as I get the Java SE 6 running the programs in Herbery Schildt's superbly written Java, The Complete Reference.) --A. Zope (I know this's way non-tech writing verbose, sorry.)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JRE OR JDK just for ARM processor

    Dear friends,
    Really need you help, please, please.
    Firstly, I need help to know where I can download a jre or jdk just for ARM 9 Processor. I found one on the website of http://www.blackdown.org, and I try to use tar to extract it in hyperterminal of Windows XP OS, but always problems. Do you know where I can get one which is good to use. Please, please, please
    Then, I want to ask if the file for ARM Processor "j2re-1.3.1-RC1-linux-arm.tar.bz2" is good to use, how can I install it in ARM Embedded Linux OS. What I did through hyperterminal which link to ARM Processor as follows:
    step 1: mkdir test
    step2: mount dev\sda1 \test
    step3: tar -xvf j2re-1.3.1-RC1-linux-arm.tar.bz2
    after this, it's always displayed as invalid magic, no such file or sth. like that.
    Please, please give me some suggestions, what's wrong with that? Really sad, sad, sad!!!
    Thank you very much.

    I need jvm for 32bit arm processor. Moreover the size of jvm must be small. Can anybody provide some information.
    Regards,
    Nitin

  • To get JRE or JDK version using Java Programs

    How do get JRE or JDK version using Java Programs?.
    Kindly Reply...
    By
    Mani

    If you're talking about current program's runtime environment (as opposed to all installed JDK/JRE) : System properties

  • How to find out if JDK installed on solaris 10

    I just installed Solaris 10. How do I find out if Java JDK installed on the system? I typed in java -version and only the JRE was displayed but I want the JDK. Thanks

    # pkginfo | grep -i java
    You can download the latest jdk at http://java.sun.com/

  • How do I specify JDK install directory for JDK 1.6 (silent install)

    How do I specify the JDK install directory (on Windows, and on other platforms) using silent install parameters?
    I know how to specifry the install directory for the "public install directory" for the JRE, but what about the JDK directory? I don't want to put it on the "C" drive .

    I know the answer.
    You can use something like this: jre-6-rc-windows-i586.exe /s INSTALLDIR=D:\java\jre
    Then JRE is installed into D:\java\jre
    For more information, please read: http://java.sun.com/javase/6/webnotes/install/jre/silent.html
    Best wishes.

  • Why does the JDK come with a JRE and JDK?

    I was wondering why when I download the JDK does it install a JRE and JDK. The JDK (I believe) includes all the JRE files as well as the compiler files. I can just as easily get rid of the JRE and as far as I know it wouldn't make a difference so why both?

    I thought it was a 2-for-1 deal ;-)
    Seriously, it doesn't make sense for me either. What
    would make more sense
    is for the JDK installation to install that separate
    JRE, but to use that JRE instead of
    installing a second one inside its folders.That would make much more sense, but I am guessing there is some intracacies that I'm not aware of or speed reason or something of the sort that would explain this. The first thing that comes to mind is knowing people might be copying the jre, someone might accidentally pull the jre out so they still wanted the sdk to work with the built in one. This is a pretty big stretch i know but there must be a reason somewhere.

  • JRE Command Line Install - Error Opening File Java3BillDevices.jpg

    We are installing JRE using a command line script. We keep getting the following error. Is this a bug with the Installer package? Anyone know how to fix it?
    Error opening file C:\Users\USERID\AppData\LocalLow\Sun\Java\jre1.6.0_38\Java3BillDevices.jpg
    Error: 2
    JRE seems to install and work correctly, but the error is perplexing. We are of course installing with Administrative privileges. There are a bunch of posts on the interwebs about this, but nobody really seems to know how to fix it.
    OS: WIN7 64bit
    JRE: 1.6.0_38
    Install Command:
    C:\scripts\Java_JRE_1.6.0_38_32bit_W764\jre-6u38-windows-i586.exe /s INSTALLDIR=\C:\scripts\Java_JRE1.6.0_38_32bit_W764\" IEXPLORER=1 MOZILLA=1 STATIC=1 JAVAUPDATE=0 JU=0 UPDATECHECK=0 AUTOUPDATECHECK=0 /L C:\scripts\LOGS\Java_JRE1.6.0_38_32bit_W764_Install.txt

    On 30.12.2013 10:06, contentdevelopment wrote:
    >
    > Hi Laura,
    >
    > Thanks for your reply, I used to try this installer setupsp.exe, but it
    > prompted the following error:
    >
    > ---------------------------
    > Novell Client Support Pack Install
    > ---------------------------
    > Error: Unable to locate required Support Pack installation files.
    >
    > Attempted control INF: C:\491psp5_IR2\NLS\ENGLISH\SETUP2K.INF
    > Attempted install INF: C:\491psp5_IR2\NLS\ENGLISH\SETUP2K.INF
    > ---------------------------
    > OK
    > ---------------------------
    >
    > And there is no install.ini file in the 491psp5_IR2.zip.
    Please try the full client install:
    https://download.novell.com/Download...d=XBMCanfiNDY~
    CU,
    Massimo Rosen
    Novell Knowledge Partner
    No emails please!
    http://www.cfc-it.de

  • Which JRE version to install on 64bit OS (win server 2008)

    Hello everyone
    I'm not sure what Java and JCO versions / releases to install on a Windows Server 2008 Standard 64bit Edition. We're installing  Edge BI 3.1... apparently this is 32bit Software. I understand that we need to install JCO 2.1.9. Normally I prefer to install 64bit versions of a software on a 64bit OS.
    In the JCO 2.1.9 installation preliminaries I read:
    The SAP Java Connector (JCo) 2.1.9 requires a Java Runtime Environment (JRE) version 1.3 or 1.4. The 64-bit JCo versions need a 64-bit JRE version 1.4. Please see SAP note 549268 for a current and detailed list of supported platforms and Java runtime environments.
    Unfortunately I can't find a 64bit JRE version 1.4... just a 32bit JRE 1.4.2_19 version. Furthermore this Java version is end of life. See http://www.oracle.com/technetwork/java/javase/download-138376.html.
    So question is: what versions exactly for JCO 2.1.9 (32 or 64 bit) and JRE should I install?
    Thanks for some clarification in advance to anyone!
    Renaud
    EDIT:
    According to [this|Re: BOE SAP integration kit issue - Java connector] posting it seems that it is required to install the 32bit version of JCO 2.1.9

    Actually, this problem is only partially solved. I still get "Can't connect to local MySQL server through socket '/var/mysql/mysql.sock..." when I type 'mysql'. I can access mysql by typing 'sudo mysql', but still get the socket error when connecting via php, so I think I still need to get to the point where I can type mysql without sudo.
    Also, I went ahead and installed MySQL 5 with the tar package.
    Message was edited by: rabbitdog

Maybe you are looking for

  • Windows Vista disk will not install in bootcamp

    I have been trying for several days to install Win Vista home premium (full version). The dvd drive always does the same. It starts to spin up and then I hear it read twice and then it stops and I end up with the light grey screen. I have gone as far

  • What is the best application to sync meetings and events through the iPhone and iPad with Outlook work e mail

    i need my secritart to place events on my calendar through an application without having to go through my works calendar ,, for example if there is an event sceduled for tomorrow i want them to just log into the app assign the event date and time on

  • The quota on a tablespace isn't being set incorrectly via SQL

    So I'm using QTODBC and I run a script to create a user, set the quota, etc. But when running the following syntax, the quota doesn't seem to be set correctly when the user is created. create user DATABASE identified by password default tablespace DA

  • XML Messaging and JSP.  Is it possible?

    Here is my situation. We are developing JSP with a backend interface to external/remote Java/C++ applications. We like to implment, if possible, XML messaging between JSP and remote programs. First of all, is this possible? Can JAXM be used in JSP? T

  • Seq editor E box?

    Very simple question but I recently installed Test stand 2013 and every time I run a sequence I get this dialog box in the corner.  Seq Editor E(lapsed timer?) cant resize cant close and generally its in the way.  How do I turn this off?