This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
howto:linux:install:raspbian [2014/07/22 20:39] nx3 [Configure Java] |
howto:linux:install:raspbian [2015/09/18 13:12] szati [Configure Java] |
||
---|---|---|---|
Line 22: | Line 22: | ||
Decompress the tar file, the file name will change depending on the version you download | Decompress the tar file, the file name will change depending on the version you download | ||
< | < | ||
- | sudo tar zxvf jdk-8u6-linux-arm-vfp-hflt.tar.gz -C /opt | + | sudo tar zxvf jdk-8u60-linux-arm32-vfp-hflt.tar.gz -C /opt |
</ | </ | ||
Change the owner of JAVA: | Change the owner of JAVA: | ||
- | < | + | < |
Set where the Java components are installed: | Set where the Java components are installed: | ||
< | < | ||
- | sudo update-alternatives | + | sudo update-alternatives |
- | sudo update-alternatives | + | sudo update-alternatives |
- | sudo update-alternatives --set java / | + | sudo update-alternatives --set java / |
</ | </ | ||
Set version, you get to set as new versions of Raspbian have JDK7 preinstalled, | Set version, you get to set as new versions of Raspbian have JDK7 preinstalled, | ||
< | < | ||
- | sudo update-alternatives | + | sudo update-alternatives |
- | sudo update-alternatives | + | sudo update-alternatives |
</ | </ | ||