Java ME Plugin
Tools > Plugins > Available Plugins
Java ME *
File > New Project… > Java > Java Application
Project Name > finish
........
Project 右鍵 > Clean and Build
Project 右鍵 > Run
Tools > Java Platforms > Add Platform…
Remote Java Standard Edition > ........ > Finish
Project 右鍵 > Properties > Run > Configuration >>New... > ... > OK
Runtime Platform >> Select > OK
Tools > Java Platforms > Add Platform…
Remote Java Standard Edition > ........ > Finish
Project 右鍵 > Properties > Sources
Profile >> Select
run >> Configuration > New > ........
Runtime Platform >> Select > OK
wget http://get.pi4j.com/download/pi4j-0.0.5.deb
sudo dpkg -i pi4j-0.0.5.deb
Pi4J installed at 「/opt/pi4j/lib」
File > Java Project…
Categories >> Java,Projects >> Java Application
........ > Finish
Project >> Libraries 右鍵 > ADD JAR/Folder…
Select ....pi4j-core.jar
........
Project 右鍵 > Clean and Build
Check >> Tools > Java Platrofms
Project 右鍵 > Properties
Run > New… > ....
Runtime Platform > Select ...
Tools > Java Platrofms > Select ....
Exec Prefix >> sudo
Go to project directory/dist
java -jar project.jar