Skip to content

Instantly share code, notes, and snippets.

@monkstone
Created November 3, 2019 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monkstone/e00f5d165ddf19b124cee1f53242b7df to your computer and use it in GitHub Desktop.
Save monkstone/e00f5d165ddf19b124cee1f53242b7df to your computer and use it in GitHub Desktop.
Oracle jdk8 on raspberrypi
sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_231/jre/bin/jar 100
sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_231/bin/javac 100
sudo update-alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_231/bin/jar 100
export JAVA_HOME=/opt/jdk1.8.0_231
sudo jgem install jruby-launcher
Building native extensions. This could take a while...
Successfully installed jruby-launcher-1.1.10-java
1 gem installed
jruby 9.2.9.0 (2.5.7) 2019-10-30 458ad3e OpenJDK Client VM 25.212-b01 on 1.8.0_212-8u212-b01-1+rpi1-b01 +jit [linux-arm]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment