树莓派 armv几_如何在具有armv6处理器的树莓派板上安装和使用Java 11和JavaFX 11

本文详细介绍了如何在拥有armv6处理器的树莓派设备上安装并使用Java 11及JavaFX 11。通过遵循此教程,用户可以在树莓派上顺利运行这两个组件。
摘要由CSDN通过智能技术生成

树莓派 armv几

In a previous post “Installing Java and JavaFX on the Raspberry Pi”, you can read how to install BellSoft LibericaJDK to be able to run JavaFX applications with a graphical user interface on a Raspberry Pi with ARMv7 or ARMv8 processor.

在上一篇文章“在Raspberry Pi上安装Java和JavaFX”中 ,您可以阅读如何安装BellSoft LibericaJDK以便能够在具有ARMv7或ARMv8处理器的Raspberry Pi上以图形用户界面运行JavaFX应用程序。

But this won’t work for some (older) versions of the Raspberry Pi as these use an ARMv6 processor which is not compatible with the default OpenJDK 11 which is part of Raspbian OS.

但这不适用于某些(较旧)版本的Raspberry Pi,因为这些版本使用ARMv6处理器,该处理器与Raspbian OS的默认OpenJDK 11不兼容。

This post will guide you through the steps to have a working Java JDK and JavaFX 11 on these Raspberry Pi board versions.

这篇文章将指导您完成在这些Raspberry Pi电路板版本上运行Java JDK和JavaFX 11的步骤。

准备一个ARMv6 Raspberry Pi板 (Prepare an ARMv6 Raspberry Pi board)

For this post, I’m using an old Raspberry Pi B+ 1.2. To be sure which ARM-version is used, check the output of “cat /proc/cpuinfo” in the terminal:

对于这篇文章,我使用的是旧的Raspberry Pi B + 1.2。 要确定使用哪个ARM版本,请在终端中检查“ cat / proc / cpuinfo”的输出:

$ cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2835
Revision : 0010
Serial : 000000005f9ba615
Model : Raspberry Pi Model B Plus Rev 1.2

For a clear overview of the different board- and ARM-version, check this table on Wikipedia. The boards with ARMv6 are:

要清楚了解不同的Board版本和ARM版本,请查看Wikipedia上的 。 ARMv6的主板是:

  • Raspberry Pi 1 A and A+

    Raspberry Pi 1 A和A +
  • Raspberry Pi 1 B and B+

    Raspberry Pi 1 B和B +
  • Compute Module 1

    计算模块1
  • Zero 1.2, 1.3 and W

    零1.2、1.3和W

使用Raspbian OS准备SD卡(完整) (Prepare SD card with Raspbian OS (Full))

We start with a fresh new Raspbian OS on the SD card using the “Imager” tool.

我们首先使用“ Imager”工具在SD卡上使用全新的Raspbian OS。

When we now boot the Rasberry Pi board with an ARMv6 processor and check the Java version we get this result:

现在,当我们使用ARMv6处理器启动Rasberry Pi板并检查Java版本时,将得到以下结果:


    
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值