Anyone know a good Java IDE for the Pi? I tried downloading Eclipse but it didn't work (probably because it's too heavyweight). I need an IDE with low RAM usage and low memory usage, just so it will actually work :) Help appreciated.
A simple lightweight IDE is Geany.
apt-get install geany
Geany - support: java syntax highlight, geany projects to store custom javac compile and java run arguments if needed, you need to specify -classpath to include external java libraries. one button compile/run.
I also recommend looking at DrJava, it is also a lightweight IDE written entirely in Java Swing. DrJava got a built-in powerful "interactive" mode that allows quick experimentation with java expressions similar to using interactive python, thus suitable for use by new java students. DrJava support breakpoint debugging and junit test creation. Installation is a snap you download the latest DrJava .jar and run it:
java -jar drjava-stable-20120818-r5686.jar
Going a step further from one of the earlier answers and imho an easier alternative:
NO NEED FOR AN IDE :) keep eclipse-like memory hogs off your pi. Or if you really want to be more hardcore, use vim or emacs with syntax highlighting and compile your .java files to .class files via command-line with javac. Or find some light-weight IDE or sublime text / eclipse replacement. However... if you have a stronger alternative system at your disposal (which I suspect most of us have) and can run eclipse on there, then there's no need for extra work.
- you can develop a java program on any other IDE on another system
- once you have your program ready, export it as a runnable jar file
- copy this jar over to your pi (through SCP if on the same network or flashdrive)
- run this jar on your pi (java -jar [yourJarName.jar])
Caveats: java compatability between where you developed and with the JRE from the pi (or else you'll get the unsupported major/minor exception)
You could use BlueJ, it is now optimized for running on the Raspberry Pi.
From version 3.14, BlueJ fully supports the Raspberry Pi