• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Java on a Mac?

 
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?
 
Marshal
Posts: 67280
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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.
 
Ranch Hand
Posts: 693
Mac OS X Eclipse IDE Firefox Browser
  • 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
Marshal
Posts: 67280
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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).
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • 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
Marshal
Posts: 67280
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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: 693
Mac OS X Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's good to know.

Kaydell
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • 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
Marshal
Posts: 67280
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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 ]
 
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
Marshal
Posts: 67280
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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: 693
Mac OS X Eclipse IDE Firefox Browser
  • 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
Marshal
Posts: 67280
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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: 693
Mac OS X Eclipse IDE Firefox Browser
  • 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 ]
 
Maybe he went home and went to bed. And took this tiny ad with him:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!