-
Notifications
You must be signed in to change notification settings - Fork 0
DRAFT, trying to get java on pi
install java (thanks http://www.rpiblog.com/2014/03/installing-oracle-jdk-8-on-raspberry-pi.html)
open a web browser on the pi and go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html download Linux ARM 32 Hard Float ABI (I got 8u221)
$ cd Downloads $ ls see the file you downloaded? make sure to use that name in the next line (in case you don't get 8u221) $ sudo tar zxvf jdk-8u221-linux-arm32-vfp-hflt.tar.gz -C /opt $ cd /opt $ ls see jdk1.8.0_221? make sure to use that name in the next lines (in case you don't get 8u221) $ sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_221/bin/javac 1 $ sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_221/bin/java 1
you can now compile with javac and run with java!
$ sudo apt-get install openjdk-8-jdk -y
$ sudo apt-get install openjfx -y
https://www.raspberrypi.org/forums/viewtopic.php?t=231427
https://wimdeblauwe.wordpress.com/2017/08/26/using-javafx-on-raspberry-pi-3-with-gluon/
https://github.com/openjfx/samples/blob/master/HelloFX/CLI/hellofx/HelloFX.java
installing OpenCV (thanks space RAIDers frc#2537 http://wiki.team2537.com/wiki/VisionFramework)
############################################################################################################################################3 installing opencv https://towardsdatascience.com/setting-up-raspberry-pi-for-computer-vision-installing-opencv-e0f973d38819
$ sudo apt-get install guvcview
y
$ sudo apt-get install synaptic
y
$ sudo apt-get install python-dev
(~5 min) $ sudo apt-get install python-numpy python-scipy python-matplotlib python-pandas python-nose
y
$sudo apt-get install build-essential cmake pkg-config
y
############################################################################################################################################### http://www.rpiblog.com/2014/03/installing-oracle-jdk-8-on-raspberry-pi.html