I have been doing java development on a windows machine from quite some time now, I was thinking of switching to mac, does anyone have any experience on this migration. Which is better mac or windows for a java developer to work on?
Obviously there's no right answer to "which is better" -- people have their own opinions. But I will say that the Mac environment is very well-suited for Java development, and many programmers prefer it. There's nothing a Java programmer can't do on a Mac that you can do on Windows.
I love my MacBook Pro, but the fact that Apple is dropping the JDK would give me pause if I had to bet the farm on the platform right at this moment. OpenJDK is apparently filling in the gap, but I've seen some problems reported on Ubuntu Linux with OpenJDK.
Another thing to keep in mind is that you can also run Windows (or Linux!) on a Mac via Boot Camp or VirtualBox, so if you do run into something that just plain won't work on OS X, you still have some options.