• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java on a Mac?

 
RJ Cavender
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ive scraped along trying to learn Java on my XP machine, now I am thinking about getting a new iMac. Are there suitable IDE's for the Mac environment? Anybody here had experience with programming Java on a Mac?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Absolutelty! In fact, a large number of javaRanch staff, myself included, use OS X on Macs for development.

All the major IDE players work just fine on a Mac, as do open source utilities and servers such as Tomcat, Ant and ilk.

The only drawback I can think of to Java on the Mac is that the latest Java version lags behind those available for the other platforms. That's not an issue for those just trying to get work done -- who aren't going to use the latest version until it's well-proven in the field anyways -- but may impact those that need to be on the bleeding edge at all times.
 
Kaydell Leavitt
Ranch Hand
Posts: 689
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are three free Java IDEs for Mac that I'm aware of: 1) XCode from Apple (for Mac only), 2) Eclipse free open source, and 3) NetBeans which is also free open-source.

I'm using Eclipse because I'm developing cross platform desktop applications.

NetBeans sounds good because Sun is endorsing it, Sun's tutorials reference NetBeans and now there is an upgrade path from the ultra-academic BlueJ to real-life NetBeans, and NetBeans has a Swing GUI editor built-in

I'm sticking with Eclipse for now, but I'm keeping an eye on NetBeans.

As for the JDK version, if you buy and iMac now, I think it will come with JDK version 5 installed as the default version of Java, and some of the older versions of Java installed as alternate versions. For Java 6, I think you'd have to download the pre-beta, developer preview version 6 in which you should be able to run the tutorial code from but you wouldn't want to ship for Java 6 until Apple declares it production software.

Kaydell
[ June 10, 2007: Message edited by: Kaydell Leavitt ]
 
RJ Cavender
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot. Ever see an iMac 24"? BEAUTIFUL machine....but if i get it, I dont want to lose the ability to develop.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by RJ Cavender:
Thanks a lot. Ever see an iMac 24"? BEAUTIFUL machine...


Droolable.

but if i get it, I dont want to lose the ability to develop.


No, in fact you will find your development capabilities quite enhanced if you can wrap your mind around a unix command line (or even if not).
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NetBeans sounds good because Sun is endorsing it...

That has to be the worst reason to ever use anything I've heard in a while. The JDK being the exception, I tend to run screaming from anything Sun endorsed (EJB, JSF, Netbeans, etc). Screaming I tell you, screaming.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Things may have changed, but last time I was forced to use Netbeans I would rather have stuck toothpicks through my eardrums.
 
Kaydell Leavitt
Ranch Hand
Posts: 689
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's good to know.

Kaydell
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And of course IntelliJ IDEA is available for the Mac, and I vastly prefer it to Eclipse (although Eclipse isn't toothpick-inducing, it's still no IDEA.)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aside: IntelliJ is my IDE of choice as well.
[ June 21, 2007: Message edited by: Bear Bibeault ]
 
Frank Tollenaar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just got a Mac myself. Eclipse runs without any trouble, but it's more the 'sidekicks' that are not available for OS X, or don't work.
ClearCase client tool is one of them. Very important if you use ClearCase.
Skype behind a proxy is another pain.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Frank Tollenaar:
Skype behind a proxy is another pain.


What's the proxy have to do with OS X?
 
Kaydell Leavitt
Ranch Hand
Posts: 689
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...I tend to run screaming from anything Sun endorsed (EJB...


What would you use instead of EJBs? Spring?

Kaydell
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been writing enterprise-level web apps from over 7 years and never used EJBs. Or Spring. Or any of the other large Rube Goldberg frameworks.
 
Kaydell Leavitt
Ranch Hand
Posts: 689
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm splitting this thread into the EJB forum, as suggested, since I'm getting off-topic now, here in the Mac OS X forum.

Continued

Kaydell
[ July 24, 2007: Message edited by: Kaydell Leavitt ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic