There are a few choices in doing this. You can install Eclipse on your computer and then deploy and/or debug from your computer connected remotely to your Raspberry PI. This is nice in some ways because you have the power of the full IDE however as you are working remotely, so if you want to tweek stuff right on the Raspberry PI you are constantly flipping from SSH or VNC to your local computer and back.
Alternatively, you can install a lightweight IDE right on the Raspberry PI. This allows you to work locally, edit files locally. No switching back and forth. Here is a list of some lightweight IDE:
- Dr. Java is a lightweight development environment for writing Java programs. It is designed primarily for students, providing an intuitive interface and the ability to interactively evaluate Java code. It also includes powerful features for more advanced users.
- Geany is a lightweight ide as well. You can install it using this the following:
sumo apt-get install geany
- BlueJ is one of the IDE already installed however when you try to open the files you MUST choose Open Non BlueJ
- Algoid is a light weight IDE as well.
There are lots of other ways to work with Java on your Raspberry PI. If you have other ways let me know and I will add them here. Email me at email@example.com and follow me on twitter @BerryPIChris