If you can afford it I'd recommend a macbook. I've done a fair amount of development on both Windows and OSX, but I definitely prefer OSX. Can't beat that bash terminal and the file structure is a light nicer. The only reason to use windows for dev work is if your doing .NET stuff which is great because Visual Studio is god tier. Overall, though I definitely prefer my mac for development.
Also, if you want an IDE for java, use intellij, fuck eclipse. vim > emacs. And sublime is my favorite text editor right now because there are some great shortcuts in it. One more thing, I'd definitely recommend just using a plain text editor for c or c++, i pretty much only use vim when doing those but I don't do them that often.