Install JDK 8 on Raspberry Pi and set JAVA_HOME and PATH

Опубликовано: 28 Сентябрь 2024
на канале: an Erik
9,824
28

how to download JDK 8 on a host computer running Ubuntu Linux (not on Raspberry Pi), then copy to Raspberry Pi, ssh to Pi to setup JDK 8 and set JAVA_HOME and PATH in .bashrc.

http://helloraspberrypi.blogspot.com/...

Updated
The new Raspbian preloaded java 1.8.0. By default, both java and java are in PATH, but no JAVA_HOME set, if you need set JAVA_HOME, refer to the updated post "Set JAVA_HOME for Raspbian pre-loaded java 1.8.0" (http://helloraspberrypi.blogspot.com/....