This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Mac OS and the fly likes jdk for mac os Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "jdk for mac os" Watch "jdk for mac os" New topic

jdk for mac os

huma naseem

Joined: Jul 07, 2010
Posts: 4
please someone tell me,how can i download jdk for mac os. The apple development center doesnt show any such download as an option.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63052

It's likely already installed.

At a Terminal command prompt type:

javac -version

If you don't get an error you're good to go.

Otherwise see:

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
huma naseem

Joined: Jul 07, 2010
Posts: 4
thanks,for the help. i have been doing the java programminng on windows till now.I want to be able to do it on mac os as well.kindly guide me where to write the code,how to save,compile and run it on mac.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
The first item in the MacOsxFaq will get you started.
jQuery in Action, 3rd edition
subject: jdk for mac os
It's not a secret anymore!