User Tools

Site Tools


raspberry_pi_java

Java on the Raspberry Pi

  • Install SD card with Debian Wheezy.
  • Connect Ethernet.
  • Connect power.
  • Find Ethernet address grabbed by RPi by snooping from another machine:
sudo tcpdump -vv -ieth0 port 67 and port 68
  • Connect to the RPi using this address, e.g.
ssh 10.0.1.8 -l pi
<raspberry>
  • Get and install the OpenJDK JRE and JDK:
sudo apt-get install openjdk-6-jre openjdk-6-jdk

Other Resources

  • This one is no longer correct, but contains useful commands (e.g., the tcpdump parameters):
https://blogs.oracle.com/hinkmond/entry/quickie_guide_getting_java_embedded
  • This one contains the useful Debian commands to pull the OpenJDK.
http://raspberrypi.stackexchange.com/questions/48/how-can-i-run-java-software
raspberry_pi_java.txt · Last modified: 2012/12/20 15:00 by jtkorb