We are going to detail the steps used to install OpenJFX on pcDuino.
1. Download JDK 8 file from java website.
Select ARM version as shown above, and click download. You can also download using command line:
- $sudo wget http://download.java.net/jdk8/archive/b99/binaries/jdk-8-ea-b99-linux-arm-vfp-hflt-17_jul_2013.tar.gz?q=download/jdk8/archive/b99/binaries/jdk-8-ea-b99-linux-arm-vfp-hflt-17_jul_2013.tar.gz
2. After download, please unzip the files to directory /opt. You can also put under /usr/lib. Just remember to to set environment path.
- $tar zxvf /media/NANCY/jdk–8–ea–b99–linux–arm–vfp–hflt–17_jul_2013.tar.gz –C /opt
3. Check the version:
- $/opt/jdk1.8.0/bin/java –version
After configure the environment path. We can run:
- $java –version
4. Run simple Java game:
- $java –jar game.jar
- <a href=“http://www.pcduino.com/wp-content/uploads/2013/08/game.jpg”><img alt=“game” src=“http://www.pcduino.com/wp-content/uploads/2013/08/game.jpg” width=“504” height=“73” /></a>
Results:
Leave a Reply
You must be logged in to post a comment.