树莓派3中安装JDK
树莓派3中安装JDK
一、简介
树莓派3(Raspbian系统,下载地址:https://www.raspberrypi.org/downloads/raspbian/),安装JDK8,直接运行:apt-
get install openjdk-8-jre 会出现下列错误:
missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'.
二、正常安装
sudo apt-get purge openjdk-8-jre-headless
sudo apt-get install openjdk-8-jre-headless
sudo apt-get install openjdk-8-jre
树莓派3中安装JDK
https://www.dearcloud.cn/2018/09/21/20200310-cnblogs-old-posts/20180921-树莓派3中安装JDK/