Mac I Would Like to Start Learning Java on the Mac

cbrain

macrumors 65816
Original poster
Dec 9, 2006
1,049
0
North-East, UK
Hi,

I would like to start learning Java and writing programs with it on the mac.

Can anyone tell me a good site and a compiler to get me started please?

Thanks.
 

wellmac

macrumors member
Oct 30, 2007
31
0
England
I'm thinking about the same thing. Looks like netbeans might be the ticket.

The only thing that I'm not sure about is that the latest version of the Java JDK (version 6) is available on Mac OS X?
 

wellmac

macrumors member
Oct 30, 2007
31
0
England
Looks like you could use it as the IDE don't know about compiler though. Personally I'd prefer a cross-platform IDE anyway.
 

psingh01

macrumors 65816
Apr 19, 2004
1,408
403
If you are just starting out go ahead and use Xcode. Everything you need is in the developer tools on your OSX CD.

Later on I would recommend using Eclipse. I used to use NetBeans, thought it was great, but have since been converted to Eclipse.
 

hankolerd

macrumors 6502
Sep 19, 2007
351
5
Seattle, WA
you can compile through Xcode, eclipse, or just through the terminal
javac filename.java
to compile it
java filename
to run it
If you have multiple files using each other than by compiling your main starting file all other files should compile at the same time.:apple:
 

twoodcc

macrumors P6
Feb 3, 2005
15,307
25
Right side of wrong
If you are just starting out go ahead and use Xcode. Everything you need is in the developer tools on your OSX CD.

Later on I would recommend using Eclipse. I used to use NetBeans, thought it was great, but have since been converted to Eclipse.
is Eclipse free? i think NetBeans is free.
 

wellmac

macrumors member
Oct 30, 2007
31
0
England
Yeah I'm pretty sure Eclipse is free (money) too. It's also open source.

Does anyone know if/when the latest Java is going to be available for the Mac?
 

torpy

macrumors regular
Jul 28, 2007
122
0
Sydney + Los Angeles
Another vote for Eclipse, it's what I started coding Java on and it's really easy to get into and start using. Though, if you plan on not hardcoding your interfaces, go with netbeans.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.