Raspberry Pi Raspbian

Raspbian で JAVA_HOME 設定

投稿日:

Raspberry Pi 3 Model B と Raspbian (July 2017)

例えば、

sudo sh -c "echo 'export JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt' >> /etc/profile.d/jdk.sh"
sudo sh -c "echo 'export PATH=\$JAVA_HOME/bin:\$PATH' >> /etc/profile.d/jdk.sh"
source /etc/profile.d/jdk.sh

-Raspberry Pi, Raspbian

Copyright© hirooka.pro , 2013-2018 All Rights Reserved.