Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 8 of 8

Thread: I CAN'T find JAVA JDK standard Edition for MAC OS X!!!

  1. #1
    Junior Member
    Join Date
    Nov 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I CAN'T find JAVA JDK standard Edition for MAC OS X!!!

    i've been looking all over. I even go to the Java Sun/Oracle site and where it says "choose your platform" Mac is not included, only the basic Linux, Windows ....anyone know where i can download JDK for Mac???


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: I CAN'T find JAVA JDK standard Edition for MAC OS X!!!

    Doesn't MAC OS come with a pre installed JDK?

    As a rule you cannot install other versions of Java on a Mac than those provided by Apple through Software Update. If you need Java 6 you must have a 64-bit Intel computer. You should always have Java 5 and 1.4 and perhaps 1.3 installed if you have at least OS X 10.4.
    See if this link helps:

    Apple Developer Tools for Java
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  3. The Following User Says Thank You to JavaPF For This Useful Post:

    coolmate108 (November 18th, 2010)

  4. #3
    Junior Member
    Join Date
    Nov 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: I CAN'T find JAVA JDK standard Edition for MAC OS X!!!

    Quote Originally Posted by JavaPF View Post
    Doesn't MAC OS come with a pre installed JDK?



    See if this link helps:

    Apple Developer Tools for Java
    Thank you so much for trying to help but yes, i am able to find Java in: System > Library > Java > Java Virtual Machines, which brings up JDK 1.6 but it only shows the Java Preferences I have like 4 different java development kits there....

    Where do i go to launch them? You can't launch there in the "Preferences" page nor can i find the LAUNCH or RUN file in /usr/bin/

    How in the world do i get JDK SE so i can use its compiler and start coding?!?!?!?

    Jesus!

  5. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: I CAN'T find JAVA JDK standard Edition for MAC OS X!!!

    It should be installed and on the Path.Open a terminal window (Applications->Utilities->Terminal), and type 'javac -version'. It should respond with the current compiler version number. You can also type 'java -version' and it should respond with the current version of the JRE. Use these commands to compile and run.

  6. #5
    Junior Member
    Join Date
    Nov 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: I CAN'T find JAVA JDK standard Edition for MAC OS X!!!

    Hello, i appreciate your help,

    On the terminal for java and javac i got

    vinicio-paredess-macbook:~ vinicioparedes$ javac -version
    javac 1.6.0_22
    vinicio-paredess-macbook:~ vinicioparedes$ java -version
    java version "1.6.0_22"
    Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-9M3263)
    Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
    vinicio-paredess-macbook:~ vinicioparedes$

    Sure it says i have it, but how do i run it? or launch it? Whatever happened to clicking on a button and installing it =(

  7. #6
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: I CAN'T find JAVA JDK standard Edition for MAC OS X!!!

    Quote Originally Posted by NetBeaner View Post
    Sure it says i have it, but how do i run it? or launch it? Whatever happened to clicking on a button and installing it =(
    Not sure what you mean...that is how you run it. See Hello World for a demo on using java and javac. They are command line utilities. In the long run an IDE (such as Eclipse) makes things much simpler, but I'd always encourage new users to become familiar with the command line.

  8. #7
    Junior Member
    Join Date
    Nov 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: I CAN'T find JAVA JDK standard Edition for MAC OS X!!!

    Pardon my ignorance. I am using xcode for my text edit, or i can even use the mac's text editor, but now you're saying to code, all you need is the "Terminal" command and a text editor?

    I thought JDK was an IDE on itself. I see, the command line is the JDK on mac...hmmm? Thank you! I'm very new at this. I will be back later to Thank you further when i write my first "hello World" program =P

  9. #8
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: I CAN'T find JAVA JDK standard Edition for MAC OS X!!!

    The JDK is not an IDE, it is in fact a Java compiler, a Java debugger (somewhat difficult to fathom without an IDE), and some other helpful utilities which beginning Java programmers probably won't use.

    Any text editor will work for writing your source code. Note that it must save in plain text format, not RTF or XML (something like Microsoft Word/Open Office wouldn't work).

    If you want an IDE, the one I would recommend is called Eclipse. Download link: Eclipse Downloads (pick the one for "Java Developers").

Similar Threads

  1. STANDARD CALCULATOR
    By asdfg in forum What's Wrong With My Code?
    Replies: 5
    Last Post: August 27th, 2010, 08:41 PM
  2. Can't Find Problem
    By aussiemcgr in forum What's Wrong With My Code?
    Replies: 7
    Last Post: August 15th, 2010, 09:42 AM
  3. How to capture standard output from another program ?
    By ni4ni in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: March 3rd, 2010, 11:00 AM
  4. Replies: 2
    Last Post: November 3rd, 2009, 06:28 AM
  5. [SOLVED] How to a set java class path?
    By captjade in forum Java Theory & Questions
    Replies: 1
    Last Post: March 10th, 2009, 06:40 AM