Results 1 to 5 of 5
  1. #1
    jorma1998b is offline Member
    Join Date
    Oct 2012
    Posts
    2
    Rep Power
    0

    Default First Time I download

    Hi there, experts. I'm new to Java and trying to download it right. First question is, ok,most computers run java and therefore, have it downloaded, and updated on a regular base. Therefore, why downloaded again?
    I don't even know where exactly is Java stored, in what folder or directory.
    Also, assuming I need JDK for development purposes, I'd like to store it separately, what would be a good directory?

  2. #2
    SJF
    SJF is offline Senior Member
    Join Date
    Oct 2012
    Posts
    108
    Rep Power
    0

    Default Re: First Time I download

    Most times people refer to having Java installed, they are referring to the JRE (Java Runtime Environment). This allows programs written in Java to run on that machine. If you intend to program in Java, you will need the JDK (Java Development Kit) which includes the JRE, but also includes the Java Compiler (among other things).

    As far as where it is stored depends on many things, not the least of which is what operating system you're running. You can have multiple JREs (and, for that matter JDKs) installed on the same machine if you want.

    Windows default installation: C:\Program Files\Java\jreXXXXXXX for JRE (XXXXXXXX = version # i.e. jre1.5.0_21 or jre7)
    C:\Program Files\Java\jdkXXXXXXX for JDK

    on 64-bit windows with 32-bit java they will be in C:\Program Files x86\ by default. MacOS and Linux there should be a link from /usr/bin/java to the default java install

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is online now Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default Re: First Time I download

    Quote Originally Posted by jorma1998b View Post
    what would be a good directory?
    The default one, chosen by the install file. Or do you have a good reason to not want to use that?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    jorma1998b is offline Member
    Join Date
    Oct 2012
    Posts
    2
    Rep Power
    0

    Default Re: First Time I download

    Thanks for a great answer.
    Perhaps if I say that i have an ordinary Dell Inspiron with Windows 7, then what i would like to have is a separate storage of JDK vrs. the standard version that comes with most computers. Assuming that I do, would JDK be subject to constant automatic updates by Oracle?
    Also, is it advisable to download Eclipse? I read you can train yourself with that piece of software.
    Finally, is it advisable to buy Java for dummies 2011 with Java 7? or would you suggest another book?
    Appreciate your support.

  5. #5
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,960
    Rep Power
    19

    Default Re: First Time I download

    The jre is stored in one location, and the jdk in another.
    Usually "Program Files/Java/JDK" and "Program Files/Java/JRE".
    The JDK does not get auto updates.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Replies: 5
    Last Post: 02-29-2012, 10:07 AM
  2. is there any way to handle ideal time session time out
    By javastuden in forum Java Servlet
    Replies: 0
    Last Post: 02-03-2012, 11:02 AM
  3. Replies: 3
    Last Post: 12-07-2011, 07:00 AM
  4. Replies: 3
    Last Post: 08-23-2011, 12:46 PM
  5. calculate time diff for particular time period
    By baktha.thalapathy in forum New To Java
    Replies: 2
    Last Post: 05-24-2010, 04:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •