JRE or JDK??

Hello;
I have jdk 1.2.1 installed in my win 98 machine.I want to upgrade it to jdk 1.3.Sun has newer version of jdk as 1.3 and 1.4 recently.But only the JRE is available in their site.I downloaded JRE from their site but I don't get any folder like jdk 1.4 in my c drive.How can I get total JDK?Is JRE 1.4 is enough to run jdk1.4?I hope some one will help me to make it clear to me.Thank you.

Hello;
I have jdk 1.2.1 installed in my win 98 machine.I want
to upgrade it to jdk 1.3.Sun has newer version of jdk
as 1.3 and 1.4 recently.But only the JRE is available
in their site.I downloaded JRE from their site but I
don't get any folder like jdk 1.4 in my c drive.How
can I get total JDK?Is JRE 1.4 is enough to run
jdk1.4?I hope some one will help me to make it clear
to me.Thank you.Download JDK or download JRE?? Hey, that is depended on what you want to do. Don't tell people that JRE is not enough, and missing the "not enough for what" phase.
JRE is enough, if you are just trying to run java programs.
JRE is not enough, however, if you are trying to program java yourself, in which case, you need JDK.
The download site may be confusing, but shouldn't we find out what the poster want first?
--lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

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

  • 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.

  • 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/

  • JRE vs JDK

    Hi
    I am doing this to find the version of JDK :
    apcltest@TEST:cd /usr/java14/bin then ./java -version
    java version "1.4.2"
    I do this to find the version of JRE:
    ordbtest@TEST:/oradbi2/oracle/testdb/9.2.0/jdk/bin
    ordbtest@TEST: java -fullversion
    full version: J2RE 1.4.2
    Both JRE and JDK versions are the same.
    I read on spots like this
    http://www.novell.com/communities/node/5812/ways-access-oracle-application-linux-environment
    that we should
    "Verify and confirm the version of JRE/JDK of Oracle Application server" This implies that the version of JRE is going to be the same as the version of JDK.
    Is JRE supposed to be the same? Are both found on the Apps server?
    (I can only find JRE on the db end, since the jdk does not exist on $ORACLE_HOME in apps.

    Thanks I will check those right now.
    I was just reading this on Note 418399.1
    A "database" Oracle home contains both a JDK ($ORACLE_HOME/jdk) and a JRE ($ORACLE_HOME/jre/1.4.2).
    In order to find out the current Java versions you can run:
    cd $ORACLE_HOME/jdk/binjava -versioncd $ORACLE_HOME/jre/1.4.2/binjava -version
    For both Oracle 10.1 and Oracle 10.2 database homes, the result for both the JDK and the JRE are usually 1.4.2_x, where x is the "update" number. The update version can be different between the JDK and the JRE.
    So its usually the same version ... but I am still not sure if we should look for JRE / JDK on tha apps, or the db.
    Let me check those notes you posted
    Thanks.

  • 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

  • Jre and jdk differences

    can anybody give the differences between jre and jdk

    [Click Me|http://www.google.com/search?hl=en&q=difference+between+jdk+and+jre&btnG=Search]

  • 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

  • What is the difference between JVM and JRE and JDK?

    Hi , I want to know what actually is JVM,JRE and JDK ? and the difference between them?

    They should at least try. When it comes to
    terminology, if they can find this site, they should
    be able to find google, wikipedia, etc. It's
    reasonable to expect them to try there first, and
    then, if they still have questions, post here,
    indicating what they looked at and how it fell short,
    what they're still confused about, etc.Perhaps this is a valid point.
    I believe physical JVM hardware has also been
    manufactured. I wonder what we'd call that? A JPM
    (Java Pysical Machine)?No. It is simply a hardware implementation of the abstract Java Virtual Machine.
    .class files are executed by software (in fact,the
    software that executes the .class files is calledthe
    JRE and is short for the Java
    Runtime Environment). The JavaRuntime
    Environment is a native program (i.e. it is run by
    hardware) which provides the ability to executejava
    bytecodes (.class files)That's the JVM.No it's not. The JVM is an abstract architecture.
    The JRE is the JVM plus native libraries plus core
    API Java classes.The JRE is an implementation of the JVM along with some additional facilities. The JVM may be used to describe concrete implementations in industry vernacular, but this is not a technically accurate usage of the term per the specification and is therefore incorrect.
    From the preface to the Java Virtual Machine Specification, Second Edition, viewable at http://java.sun.com/docs/books/jvms/second_edition/html/Preface.doc.html:
    "The Java virtual machine is an abstract machine."
    From Wikipedia (http://en.wikipedia.org/wiki/JVM):
    "A Java Virtual Machine (JVM) is a set of computer software programs and data structures which implements a specific virtual machine model."
    Perhaps this misconception is the source of the confusion. This is one reason why I answered deepakorsun rather than refer him to somewhere else: anywhere that would be reliable and/or completely accurate would be too dense to readily understand, and anywhere understood easily enough might not be completely accurate.
    >
    The Java Development Kit (JDK) just provides the
    facilities necessary to write programs that willrun
    on the Java Virtual Machine. It contains acompiler
    It also contains tools such as jar and javap, the API
    docs for the core API classes, the source code for
    the API classes, probably a few other things, and
    generally the JRE (though I'm not sure if that's
    officially a required part of the JDK).I never said it didn't contain jar, javap, javac, java, jdb, jconsole, or any of the other programs or resources shipped with jdk. I simply stated affirmatively something it did contain. As I implied before, technical comprehensiveness is exactly what makes resources such as the JVM specification almost unusable for answering questions like this. That is why I omitted such details in my description. And since we're being all technical here, the API documentation does not ship with the Java Development Kit (at least not as of JDK 5.0), it is a separate download. It is the core API source files that ship in a .zip file with the JDK.
    Don't get me wrong, I do understand that you have probably seen a lot more people come and go from these forums than I may ever understand and that you have helped more people than you can remember, and I don't mean to disrespect that. I understand that dealing with so many people over such a long period of time and hearing the same questions over and over again can probably start to wear on your patience, but I don't think the right approach is to treat anyone that tries to help them with utter contempt and sarcasm. That's not constructive or useful to anyone. I understand why you would be upset if somebody was purposely trying to be lazy, I probably would be too, but you have no real way of determining whether or not they are being lazy or just don't know something and don't know how to figure it out for themselves so they are asking a question. And if they are honestly just asking a question in good faith and looking up the answer on Wikipedia just did not occur to them (or they couldn't understand what it said), yet they somehow ended up on this site, they have done nothing wrong and there is no reason to get angry at them.
    Oh come on, that wasn't nice. Not everybody isable
    to answer their own questions. WTF are you talking about?!? Why waste the time to
    type something out when they can click on a link and
    find 1000 times more information than you can fit
    into one post? Either way - they're
    STILL going to have to read the
    information themselves...
    Ridiculous.So I suppose you've either read the Java Virtual Machine Specification, the Java Language Specification, and the Java Native Interface Specification in their entireties, or absolutely nothing about programming in Java. This is because, by your reasoning, these three books contain 1000 times more than anyone can fit on a tutorial, Wikipedia entry, mailing list, forum, blog, or anything else.
    Criticizing somebody who isn't doing something the exact way you think it should be done is often quite idiotic and non-constructive. I believe this is this case here. Please post something more useful, meaningful, and/or polite next time. And just for future reference, yelling at a beginner does not help them learn faster or better. It just makes them hate you.
    Oh come on, that wasn't nice. Not everybody isable
    to answer their own questions. Java terminologycan
    be confusing and difficult to understand in part
    because of all the acronyms used and all the name
    changes undergone by the various development kitsand
    platforms.Point taken. You have much more patience than
    I, but with lots of intensive therapy and proper
    adjustment of my medications, I may get better.Thank you for this post. A display of wisdom and patience. You single handedly caused me to reconsider participating in a flame war.

  • To get JRE or JDK version in Programs

    How do get JRE or JDK version in Application Programming?. Kindly Reply...
    By
    Mani

    Hi Manivel.
    The System class has methods such as getProperties() and getProperty() that can be used to get almost any system info. To get the version of JRE, for example, you could use something like this:
    System.getProperty("java.version");
    Check the J2SE 1.5 API reference for more info. Use this URL to go directly to the API reference for the java.lang.System class:
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html
    Hope this answers your question.
    By the way, this is the JDBC forum. In the future, please post such questions in the Java Essentials forum (http://forum.java.sun.com/category.jspa?categoryID=5) or the Core APIs forum (http://forum.java.sun.com/category.jspa?categoryID=32).
    Shakeel.
    :)

  • 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 with JDK !!!!!!!!!!!!!

    Hi,
    I am new to Java development.I have a doubt---why does SUN provide JRE along with JDK when u have a runtime environment available within ur JDK. It could have been provided only seperatley for nondevelopers to download.why JRE with JDK...
    Is it marketing :-) or Does the JRE have features that are not there in JDK ???
    Thanx
    Shiv

    The JDK is for development purposes. Sun could, if they wanted to, make the versions different. For instance, the JDK can be compiled with certain flags to help development (debugging, etc.)
    The JRE is used for a "real world" test bed.
    Regards,
    Nick G.

  • 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?

  • JRE and JDK

    Hi,
    Dumb question from a java programmer working for 7+ years, but do I need both the JDK and the JRE? Obviously, a JRE is included in the JDK.
    The JDK is 150 MB and the JDK is also 150 MB relatively, if I recall correctly.
    This is 300 MB of Java, do I really need both or can I remove the JRE since the JDK installation has its own JRE?

    The JDK installation installs its own JRE. You don't need a separate one installed. :)

  • A JRE or JDK must be available in order to run Eclipse

    Hello Colleagues ,
    I have started with the SAP HANA Basics course offered at OpenSAP .
    I am at my first steps for Installing Eclipse .
    Please refer to the following link :-
    http://hcp.sap.com/developers/learningtutorial111.html
    After Downloading Eclipse , i tried to ran the exe file .
    "I got an error A Java Runtime Environment(JRE)  or Java Development Kit(JDK)
    must be available in order to run Eclipse .No Java Virtual Machines were found after searching the following locations".
    Please let me know if I am missing something ?
    Regards
    Nitin

    Thanks for all the Replies to my original post
    When u start Afresh to Learn SAP HANA and installing the tools on 64 -bit windows  :-
    Step 1 : Install JDK or JRE .
    I found a link to share :
    http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
    Step 2 :
    Once you are done with installation, set the env variables. Right click My Computer> properties> Advanced settings->Envoirmental Variables
    Add two system variables:
    E.g. if you have installed JDK . Its rests in the following path
    JAVA_HOME: c:/program files/java/<jdkfoldername>
    CLASSPATH: %JAVA_HOME%/bin
    In My case
    Step 3 : Download and Unzip
    sapjvm-7.1.018-windows-x64.zip
    Step 4 : Download and Unzip neo-javaee6-wp-sdk-2.34.16.1.zip
    Inside your Folder DRIVE:\<Folderpath>\eclipse-jee-juno-SR2-win32-x86_64\eclipse
    eclipse.exe file would be there run it .
    Create workspace and start using .
    Cheers
    Nitin

Maybe you are looking for