My Raspberry Pi OS is Raspbian Wheezy (Hard Float). Therefore I am using Java SE 8 for ARM Early Access which can have stability and compatibility issues. The instruction for installing Java in R-Pi can be found here.
The installation of Java can be checked by issuing the following command in the terminal:
$ which java (where is the java installed?)
$ java -version (what version has been installed?)
After getting the directory of java, JAVA_HOME environment variable has to be configured by adding the following line to /etc/environment:
JAVA_HOME="/opt/jdk1.8.0"
There are other stuffs to be configured as well. Refer instructions in the Reference below.
Reference:
http://www.savagehomeautomation.com/projects/raspberry-pi-installing-oracle-java-se-8-with-javafx-develop.html
http://www.openremote.org/display/docs/OpenRemote+2.0+How+To+-+Install+Controller+on+Raspberry+Pi
Go to the open remote bin directory and do a change mode to make the bash file executable.
$ sudo chmod +x openremote.sh
Finally, run the controller by issuing the following command:
$ ./openremote.sh run
Go to http://localhost:8080/controller
will show the default controller management page. Log in and sync with the Online Designer.
However Midori or Chromium don’t seem to be able to display the web console and it will hang for forever.
The only way to solve this is to access the web console from another PC from the same network by accessing R-Pi IP address, for example : http://10.0.0.132:8080/controller