User Tools

Site Tools


howto:linux:install:raspbian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
howto:linux:install:raspbian [2014/07/22 20:35]
nx3 [Install Oracle Java for ARM]
howto:linux:install:raspbian [2014/07/22 20:39]
nx3 [Configure Java]
Line 9: Line 9:
  
 "Oracle JDK 8 for ARM has JIT compiler and supports hard float point instructions. This is the fastest (1.5x-10x times faster than other JVMs) Java option for Raspberry Pi" "Oracle JDK 8 for ARM has JIT compiler and supports hard float point instructions. This is the fastest (1.5x-10x times faster than other JVMs) Java option for Raspberry Pi"
- 
-Download Java from (this might change) 
-http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 
 ==== Install Oracle Java for ARM ==== ==== Install Oracle Java for ARM ====
  
Line 23: Line 20:
  
 ==== Configure Java ==== ==== Configure Java ====
 +Decompress the tar file, the file name will change depending on the version you download
 +<code>
 +sudo tar zxvf jdk-8u6-linux-arm-vfp-hflt.tar.gz -C /opt
 +</code>
 +
 Change the owner of JAVA: Change the owner of JAVA:
 <code>root@raspberrypi /opt $ sudo chown -R root jdk1.8.0</code> <code>root@raspberrypi /opt $ sudo chown -R root jdk1.8.0</code>
Line 33: Line 35:
 </code> </code>
  
-Set version+Set version, you get to set as new versions of Raspbian have JDK7 preinstalled, you can install JDK8 as well just set which runs.
 <code> <code>
 sudo update-alternatives –config javac sudo update-alternatives –config javac
Line 45: Line 47:
 </code> </code>
  
-Version numbers will update from the example below);+Version numbers will update from the example below;
 <code> <code>
 pi@raspberrypi ~ $ java -version pi@raspberrypi ~ $ java -version
-java version "1.8.0-ea+java version "1.8.0_06
-Java(TM) SE Runtime Environment (build 1.8.0-ea-b36e)+Java(TM) SE Runtime Environment (build 1.8.0_06)
 Java HotSpot(TM) Client VM (build 25.0-b04, mixed mode) Java HotSpot(TM) Client VM (build 25.0-b04, mixed mode)
 </code> </code>
howto/linux/install/raspbian.txt · Last modified: 2016/01/27 16:45 by szati