|  | 
 
| Edited by xwalter at 2016-2-17 23:11 
 I use java 8 and Netbeans to develop with my orange pi plus 2
 Following this istructions I hope you get help .
 First of all you have to update and upgrade your system by typing
 
 Copy code
sudo apt-get update 
sudo apt-get upgrade
Download the embedded java 8 jdk from Oracle at  http://www.oracle.com/technetwor ... nloads-2133151.html
 Select jdk-1.8.0_73-linux-arm32-vfp-hflt.tar.gz and download it into Downloads folder
 Move the terminal in this folder and type
 
 Copy code
sudo tar zxvf jdk-8u73-linux-arm32-vfp-hflt.tar.gz -C /opt
Set default java and javac to the new installed jdk8.
 
 Copy code
sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_73/bin/javac 1
sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_73/bin/java 1
And then
 
 Copy codesudo update-alternatives --config javac
sudo update-alternatives --config java
After all, verify with the commands with -version option.
 
 Copy codejava -version
javac -version
Now you can download and install Netbeans 8 as well , to this link https://netbeans.org/downloads/index.html
 Download the complete version with Platform  " OS indipendent zip"
 Navigate to Download folder again and unzip the netbeans.8.1.xxxxx.zip  file .
 Navigate until ...../home/orangepi/<yournetbeansfolder>/bin
 Give the permission and the file executable with
 
 After that ,to run Netbeans you have to type
 
 Then you can install modules and plugin for several language such C/C++, PHP and java of course
 It's working well .
 ciao
 Walter
 
 | 
 |