Eclipse Makes Java Development on the Mac Easier
An anonymous reader writes "While the Java development environment is fully integrated into Mac OS X, the Eclipse developer IDE brings a fully integrated Java development environment to Mac OS X that provides a more consistent and easier to develop cross-platform experience. This article shows you how quickly you can be up and running with Eclipse and Java development on the Mac. 'Whether you're a Mac OS X Java developer working on cross-platform Java projects, a Linux developer switching to Mac OS X because of its UNIX-based core, or a general Java developer looking to develop applications targeted to Mac OS X, you'll want to look at the Eclipse IDE because it provides a solution to each of these development needs. While Mac OS X provides Xcode as its primary Java development IDE, Eclipse provides a more robust cross-platform development environment, with application frameworks for reporting, database access, communications, graphics, and more, and a rich-client platform framework for building applications.'"
So where's the fucking news, Zonk?
This announcement confuses me. Doesn't the fact that eclipse took so long to be ported to OS X indicate deficiencies in java as a cross platform language (assuming that I am rembering the facts correctly, and that eclipse is written in Java)? I mean if cross-platform development in java was a snap the fact that eclipse was ported wouldn't make headlines now would it (and would have been done a long time ago)? Of course simple applications might be easy to port in java, but Eclipse seems to be targeted at people working on complex applications (otherwise you wouldn't need all that overhead).
Philosophy.
I guess a better conclusion would be a disclaimer: -
I do not know what I am talking about!
Eclipse + Java + CVS, woohoo. Welcome to three years ago. How about instead let's try:
* Textmate / Netbeans
* Ruby (Rails or Merb for web programming)
* SVN or Git for source control
What the hell? Ever heard of or used Netbeans? Eclipse is done after everyone switches to Netbeans. I can't believe this made it through the moderator. Hold on, don't I have some moderator points?
In a nutshell? Netbeans is slow. Eclipse is fairly speedy. Netbeans works pretty much everywhere that Java does, Eclipse tends to be a little behind in getting successfully ported to different systems, which usually means that the latest version of Java isn't fully supported by the most recent stable release. Netbeans has a focus on Swing, Eclipse on SWT. Netbeans uses the standard ant build files for its project files, Eclipse uses its own project format. Netbeans appears to be more supported by Sun than Eclipse is.
File under 'M' for 'Manic ranting'
At the university i attend as a CS major, there is a big push in the CS classes to use the Eclipse IDE, and trying to use any other one is frowned upon and teachers try to pressure you into switching due to some hidden policy.
My question is anyone have an earthly idea why eclipse is being pushed so much?
From what i've tried, there are other IDEs that are more widely used/accepted as efficient IDEs, and others that i just plain work faster in and are less full of clutter. So did eclipse use to be some industry standard at a forbes 500 or do they have marketing trolls or what?
-Confused Student
You never realize how much manually made unmanaged "linked" lists suck, till you have src.link.link.link.link...
This article interested me greatly, as I have just recently secured a contract working for a project based on Java and Oracle (developed in Windows). I've taken the code, installed Eclipse for Mac (J2EE), changed the DB connection to MySQL (running on my Mac) and got it running.
And pretty mostly, while I've relearnt Java (from a lapse of 8 years) and got to grips with all the cool and new stuff (like Hibernate, JUnit, Swing, Ant, JBoss etc), I've been able to run the tutorials I've found without too much tweaking.
Now, I'm not a great coder, but getting the pieces to work (like all mentioned above, plus things like Derby) hasn't been a big drama. The cross-platform dream really works! The book I bought, "eclipse Web Tools Platform" published by Addison Wesley (which I highly recommend), isn't focussed on Eclipse Development using a Mac. The examples and diagrams are all Windows looking - BUT I can follow them on my Mac, and get the same results.
I can't compare Eclipse to anything else, but it's doing the job.
PS I'm actually more a Perl programmer - so I thought I'd search for a Perl plugin. Well, there is! EPIC. Easy install (like the other plugins for Eclipse I've grabbed), and so I can do Perl in Eclipse too.
And finally, after reading the foreword in the above mentioned book, I like the philosophy of the whole Eclipse project. It's a worthy project to support - regardless of what platform you use and favour.
Go Eclipse! And Thanks to all the people who're making it happen!
Eclipse has been available for Mac OS X for years. What's the news here?
No, it shows why it's a bad idea to write Yet Another GUI Framework - SWT needed to be ported to have Eclipse run. Netbeans has always been just fine...
I've used both, and each have thier strengths.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
Um, duh. I've been using Eclipse on Mac for two years now...
I'm a Java programmer and I use eclipse. The reason I can't use a Mac is that
1) it still does not support java 1.6 because Apple chooses to bundle new Java versions with new OS versions instead of distributing them separately like the rest of the world does. In practice that means there's up to 1 year or longer (as in this case) before new Java versions find their way onto the Mac.
2) sun does not directly support Mac OS X but leaves the job of porting to Apple, unlike linux, windows and solaris which it does support.
3) If you want to use Sun's OSS Java version on the Mac, you are on your own and will just have to come up with the native mac specific stuff yourself.
4) eclipse has a long history of compatibility issues with Apple's Mac OS X UI Java bindings in their native code for SWT (i.e. this is a C portability issue, not a Java portability issue). It sort of works now but is not quite ideal.
If all of the above is acceptable to you, by all means use a mac for Java development. For me, all of these are unacceptable because I require early access to new Java stuff.
Jilles
I've used Netbeans and Eclipse and found out that the typical memory usage for Netbeans is 80-120 megs while Eclipse uses about 150-250 (once it was even 350 megs!). The more memory is used, the less is available for other applications and using Firefox with Eclipse on 512 megs of RAM is SLOW, especially if I'm reading a 200-page RFC in Firefox while something is compiling (another memory-hungry task).
I guess the latest JVM (6) has finally made Swing work as fast as SWT.
It also seems that Eclipse's text editor has a more advanced highlighting engine that takes a lot of time to parse the code and while it is being parsed the IDE locks up. E.g. static methods are displayed in italics and that means every method has to be checked if it's static.
...will resemble Java's overall stagnation as it moves into its rightful place as the more or less irrelevant cobol of OOP
... and eclipse runs just fine on the java that osx has. as does intelli-j and netbeans, and any other pure java application.
java irrelevant?
heh, back to objective c with ya then talladega. that'll learn you all about irrelevant. ( just go trawl the it jobs section and do a count on the number of objective-c ads compared to java...)
as for the rest of your bizarre rant, java runs just fine on osx.
why no swing canvans painter in eclipse? because it uses the SWT gui toolkit, ya donk! geez, and i thought zonk was bad enough spewing this crap as news in the first place!
If Apple didn't do the porting, there would be no Java for Mac OS X at all.
Did this story get caught in a time warp, or is the poster simply an Eclipse shill (and not a particularly good one)?
Eclipse has worked for years on OS X. So, for that matter, has NetBeans. They're both cross-platform and always have been.
Am I part of the core demographic for Swedish Fish?
It's nice to see Eclipse for the Mac, but Eclipse could learn a LOT about the user interface and experience from Mac apps. For example, plain ordinary "File Open" and "File Close" and "Import" features, workspaces be damned. Eclipse's current way of handling the opening and importing of source code is excessively difficult, and needs to be changed. The "workspaces" concept is idiotic when the file / folder system works just fine. Hell, BlueJ, another coding program, kicks the crap out of Eclipse in this specific regard and it's used to teach 1st year comp sci students!
Yes, just like the Microsoft Mac team, Eclipse devs could learn a lot from the Mac, I think this will be a good step for them.
WTF.
the only people that complain about java are ones who have never bothered to learn it past the simple hello world application. take away
For the simple reason that SWT uses Carbon for its GUI widgets, instead of Cocoa. Only Cocoa and Java will be made 64-bit, with Carbon being left behind like the legacy pre-OS X API that it is.
In fact, the only reason Carbon exists at all on OS X is because Adobe and other third party developers were too cheap to port their apps to OS X, so Apple had to guarantee backward compatibility for old apps.
Also, more NetBeans is better supported on OS X that Eclipse because more of the developers working on NetBeans code use OS X. This means NetBeans looks and feels better on OS X than Eclipse.
I've tried both on Mac, and this is indeed the case.
This space left intentionally blank.
Now admittedly I am not a Java Programmer, I am however a programmer, and as I understood Java's ENTIRE purpose in life it was to be a "Build it once, run it everywhere a JVM existed" environment where no platform dependencies existed.
There was no porting of your applications, there was simply copy it over there and it just ran. Things like SWING, AWT or whatever they call the framework this week, made sure that a java call for say an "About Box" was translated the the native UI engine for whatever platform it was running on. The programmer didn't have to even think about it, just call it.
So WHY does anything written in Java have to be "Ported"? It is because, at least in my opinion, Java has failed miserably at the most promising goal it aspired to.
Most Java apps are reasonably well behaved, the performance of most, well the best that can be said is that it is adequate but they just gulp resources like no tomorrow.
One day I will re-visit Java and see if it is any closer to its vaunted goal, but for today, it is at best "OK" for doing non GUI server side stuff, but for real GUI applications where the user experience really sells the application, I will stick with other tools that truly understand the notion for X-Platform.
Hey KID! Yeah you, get the fuck off my lawn!
The Eclipse 3.3 RCP does not allow developers to build correct Mac application bundles. It forces the developer to place resources outside the bundle in the parent directory. The reason given for this was to avoid "user confusion" for troubleshooting settings and plugins. First, since experienced Mac OS X users know that you can right click on bundles to open them this justification only applies to the Eclipse authors involved. Second, troubleshooting Eclipse framework settings and plugins is NOT something which needs to be easily accessible to end-users of an RCP application! After having my own issues deploying an RCP update site and discovering this limitation in OSX bundles I am avoiding the Eclipse RCP for any of my own projects.
I have to agree with the parent. Is using Eclipse on Mac OS X, something you could easily for 3 years, really news? I mean hell, I've been writing Java for paying gigs on a Mac for three years now--right when I got my first PowerBook. This article doesn't even describe anything new. Maybe this is all revolutionary for XCode users, but there aren't that many XCode Java users on the Mac. Even WebObjects uses Eclipse.
So where the heck is the news here? You might as well post an article about how Linux is a great platform for C development.
This is article is almost a big "duh".
Now what *would* merit an article is if MyEclipse and the Apple Java team buried the hatchet and fixed MyEclipse so that it worked flawlessly and with every feature it has for Windows and Linux. Right now, Apple says it is MyEclipse at fault and MyEclipse says it is Apple at fault. I was in two separate Java sessions at the WWDC where people basically asked Apple flat out to just get it working, no matter whose fault it is. If MyEclipse worked completely on the Mac JVM, *that* would be news for nerds, stuff that matters.
"Doubt your doubts and believe your beliefs." -- Switchfoot, Ode to Chin