Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-01-2011, 10:43 PM   PM User | #1
code beginner
Regular Coder

 
Join Date: Sep 2009
Posts: 165
Thanks: 15
Thanked 1 Time in 1 Post
code beginner is an unknown quantity at this point
New MacBook Pro... where is the Java 1.6 JDK?

Hello,

This is confusing as can be.

I just got a new MacBook Pro with OS 10.6.7.

I want to write Java programs.

I understand I am supposed to have the Java JDK SE 1.6 installed.

I go to the Oracle site to download JDK SE 1.6 for Mac and I DO NOT SEE IT.

All I see is stuff for Windows, Solaris, and Unix.

I read some stuff on the Apple site: http://www.apple.com/macosx/specs.html

I scroll down halfway on the above web page. In the section "What's In the Box". It says it has this: Complete Java JDK, including javac, javadoc, ANT, and Maven tools.

I don't know if "Complete Java JDK" means JDK 1.6 SE, or if it means something else. I also do not know if this stuff is already installed on my machine. It says "What's in the Box" like you are going to buy the OS as a separate purchase. I just bought an entire new computer with OS 10.6.7 Snow Leopard. "What's In the Box" is not the same sentence as "You have this installed on your machine that you just bought".

I search around some of the directories on my MacBook Pro and I do not see any Java JDK.

I would love to say the Mac version of Java JDK SE 1.6 is "hiding in plain sight" from me. But that would be an extreme stretch of the phrase "plain sight".

I was going to use IntelliJ Community Edition and Java JDK SE 1.6 from the Oracle site. That was my "plan" anyway.

What should I do?

Last edited by code beginner; 05-01-2011 at 10:52 PM..
code beginner is offline   Reply With Quote
Old 05-01-2011, 11:27 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
I thought mac shipped with jdk (which yeah is provided by apple and not sun)? Execute a command for which javac, does it list a path for javac?
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Old 05-02-2011, 12:05 AM   PM User | #3
code beginner
Regular Coder

 
Join Date: Sep 2009
Posts: 165
Thanks: 15
Thanked 1 Time in 1 Post
code beginner is an unknown quantity at this point
Thanks.

Could you tell me how to do this step by step?

I have no idea what a javac is, how to access it, or how to type a command line on a Mac.

I know how to do "consumer" stuff like find the Chess game in the pre-installed applications. But coding on a Mac is completely new to me.
code beginner is offline   Reply With Quote
Old 05-02-2011, 03:14 AM   PM User | #4
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Can't help you there, I don't know anything about a mac.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:02 AM.


Advertisement
Log in to turn off these ads.