PDA

View Full Version : Eclipse on a Mac?




rozner
Feb 23, 2008, 01:18 PM
Hi,

I've had my MacBook Pro for a few months now, it's my first Mac ever. Haven't had too much of a chance to develop anything on it since I do that all day at work. When I first got the system I decided to put Eclipse on just to see how it runs as I do mostly Java development. For some basic programs it seemed to work fine. Now I have a small little application I want to develop, and I've started actually using it on the Mac, but it crashes constantly. I'm doing a dynamic web project at the moment. Sometimes creating a class, or just opening a file (xml or something) and it crashes. So is Eclipse any good on a Mac? I've tried switching workspaces too, same problems.

So anyone else had a similar experience? Also anyone tried Netbeans or IntelliJ for Mac? Not sure if Netbeans is available for Mac actually, but I know IntelliJ is, although it's not free.

Thanks



Animalk
Feb 23, 2008, 01:42 PM
Eclipse has been just as rock solid for me on my MBP as it has been on any of my windows machines. Though I believe Apple is somewhat behind on their Java specifications. I have been drowning in C++ lately so I am not really paying attention to the Java world in recent times but I do believe Apple is still in Java 5 specifications while everyone on the Windows platform has long been in Java 6. I just typed "java -version" in my terminal and my fully updated machine is indeed still in Java 5. I am nowhere close to my windows machines to check them out at the moment :(

I have never tried NetBeans on Mac and I have never tried IntelliJ on any platform.

danny_w
Feb 23, 2008, 01:50 PM
I don't use Eclipse for Java on my Mac, but I do use it in my work environment for exploring cvs repositories and and simple file viewing; I use BBEdit for my heavy work, as I have never gotten comfortable with Eclipse as a whole (it is just so very different from anything else in the universe). For what I have been using it for it is rock solid; I don't think I have ever seen a crash of any kind. Just my 2 cents.

AlmostThere
Feb 23, 2008, 02:31 PM
FWIW:

I used to use eclipse but also experienced performance and stability issues on 1.6GHz G4 1.5Gb, both Tiger and Panther (Home) and MBP 2Ghz C2D 2Gb (Work). At one point, i ended up having to reinstall the OS (no joke) to get eclipse to run again.

I have recently switched to IntelliJ, which I have found much better, although I keep eclipse for things like PyDev (python), which i still use for some older projects. Eclipse is very good for a broad range of plugins.

Haven't found any major features missing with IntelliJ, the stability and performance improvements are well worth the licence fees (also got a personal one for myself). It imports and exports eclipse projects pretty well and has very good support for Groovy (which really improves Java as a platform, IMHO) and apparently Ruby, but that's not something I have used at all..

Can't speak for NetBeans though - looked at it very briefly but settled with IntelliJ even before the demo period was up.

whitehexagon
Feb 23, 2008, 02:50 PM
For what it's worth eclipse is 100% stable on Leopard for me doing some OpenGL, Swing, Tomcat type work. I had some issues under Tiger with similar instability to what you describe, but I suspect that was down to an optional plugin I was using (extended vs Presentation - although I see it's been updated since then). So maybe you can check what pluggins you are using.

Cheers

Peter

PS Since Leopard switch I have had some issues with jspc under eclipse ant not working, currently using command line.

eclipse 3.3.1.1

jap652
Feb 23, 2008, 02:57 PM
Hi,

I've had my MacBook Pro for a few months now, it's my first Mac ever. Haven't had too much of a chance to develop anything on it since I do that all day at work. When I first got the system I decided to put Eclipse on just to see how it runs as I do mostly Java development. For some basic programs it seemed to work fine. Now I have a small little application I want to develop, and I've started actually using it on the Mac, but it crashes constantly. I'm doing a dynamic web project at the moment. Sometimes creating a class, or just opening a file (xml or something) and it crashes. So is Eclipse any good on a Mac? I've tried switching workspaces too, same problems.

So anyone else had a similar experience? Also anyone tried Netbeans or IntelliJ for Mac? Not sure if Netbeans is available for Mac actually, but I know IntelliJ is, although it's not free.

Thanks

I use Eclipse 3.3.1.1 and I haven't experienced any problems with it on my personal MBP and, at work, a Mac Mini. Both these Macs have Leopard installed. I enjoy using it with a Mac OS X interface.

I agree that Apple should move up to JDK 6.0 but it's not life threatening.

I know that several Java developers have had problems with Eclipse since upgrading to Leopard. Their problems led them to try out IntelliJ!

rozner
Feb 23, 2008, 03:57 PM
Ok, thanks for the input, from what everyone's said it seems like there is some kind of issue on my end that's causing it to crash. The only plugin I have installed is subclipse, which is used to connect to SVN repositories. I suppose I can try disabling that and see if it makes any difference.

Mac Java is certainly behind, I noticed it was only on Java 5 but I'm still using 1.4.2 at work so 5 is still nice :)

I used IntelliJ (Windows version) at another company I used to work for. I was reluctant to move away from Eclipse at the time but after a week or 2 I actually liked it better than Eclipse. It's certainly an option here, but this is also just a small side project so for now I'll stick with Eclipse if I can get it to be a bit more stable.

whitehexagon
Feb 23, 2008, 04:14 PM
subclipse has been fine for me on both Tiger and Leopard. Have you checked the eclipse log file for any clues?

jap652
Feb 23, 2008, 05:19 PM
Ok, thanks for the input, from what everyone's said it seems like there is some kind of issue on my end that's causing it to crash. The only plugin I have installed is subclipse, which is used to connect to SVN repositories. I suppose I can try disabling that and see if it makes any difference.

Mac Java is certainly behind, I noticed it was only on Java 5 but I'm still using 1.4.2 at work so 5 is still nice :)

I used IntelliJ (Windows version) at another company I used to work for. I was reluctant to move away from Eclipse at the time but after a week or 2 I actually liked it better than Eclipse. It's certainly an option here, but this is also just a small side project so for now I'll stick with Eclipse if I can get it to be a bit more stable.

I found lots of problems with subclipse from not connecting to the svn server to crashing. I use the command line version instead, which can be installed from a dmg file.

By the way, I would recommend using Maven as your build tool, which saves you adding your jars to eclipse path and can easily deploy to a web server (Jetty).

sord
Feb 23, 2008, 06:45 PM
I find Eclipse completely unstable on my machine (along with a large number of other machines I've used it on, especially FreeBSD machines).

I primarily use NetBeans 6, which works great (though the interface and in editor compiler is a little slower than Eclipse), but its rock solid. And the built in subversion plugin is great.

I've only tested IntelliJ as a trial and was pretty happy with it, but in the end I stuck with NetBeans.

Also, NetBeans has a maven plugin that actually works well, compared to Eclipse's horrible plugin

tfbattag
Mar 25, 2008, 11:13 PM
Hi,

I've had my MacBook Pro for a few months now, it's my first Mac ever. Haven't had too much of a chance to develop anything on it since I do that all day at work. When I first got the system I decided to put Eclipse on just to see how it runs as I do mostly Java development. For some basic programs it seemed to work fine. Now I have a small little application I want to develop, and I've started actually using it on the Mac, but it crashes constantly. I'm doing a dynamic web project at the moment. Sometimes creating a class, or just opening a file (xml or something) and it crashes. So is Eclipse any good on a Mac? I've tried switching workspaces too, same problems.

So anyone else had a similar experience? Also anyone tried Netbeans or IntelliJ for Mac? Not sure if Netbeans is available for Mac actually, but I know IntelliJ is, although it's not free.

Thanks

I'm experiencing the same thing using Eclipse 3.3.1 Europa on Leopard. Both are updated, and generally I am crashing due to PermGenSize. I have tried different settings, but nothing seems to help.

Incidentally, I also have a licensed version of IntelliJ. It's great, but there are certain things that Eclipse does better. Lately, trying to develop some MyFaces and RichFaces stuff, IntelliJ seems to be messing up the class path such that I get dual requests for every browser submission. I thought that I would try to simplify things and re-develop in Eclipse. The application works better and properly, but Eclipse crashes if I want to debug, create a file, or do anything new within the project.

The log always refers to the PermGenSize, but I've tried from 256 to 1024. Nothing seems to help.

wrldwzrd89
Mar 26, 2008, 07:09 AM
I, too, get crashes with Eclipse on my Mac, but only when I try to create a new class with something other than the defaults. :confused:

Monkaaay
Mar 26, 2008, 07:22 PM
I'm also using Eclipse on my MBP to do some pretty heavy Java development. Never have had an issue with it.

chelsel
Mar 30, 2008, 11:25 AM
Eclipse on Tiger was just not stable but Eclipse on Leopard has so far been rock solid!

Aside from Java 1.3 disappearing in Leopard and still no Java 1.6, I'm a pretty happy Java developer again...

I can live with 1.3 disappearing but no 1.6!?

Cromulent
Mar 30, 2008, 11:25 AM
Eclipse on Tiger was just not stable but Eclipse on Leopard has so far been rock solid!

Aside from Java 1.3 disappearing in Leopard and still no Java 1.6, I'm a pretty happy Java developer again...

I can live with 1.3 disappearing but no 1.6!?

1.6 is coming from what I know. Apple are just taking their time :).

Monkaaay
Mar 30, 2008, 11:48 AM
You can download a preview of 1.6 at developer.apple.com. I'm using it on my machine.