请有人为我提供简单的分步说明,让 javafx 在 raspberry pi 3 上工作.我已经尝试了一整天将 javafx 添加到 raspberry pi 3,但我仍然收到错误:
please can someone provide me with simple step by step instructions for getting javafx working on raspberry pi 3. I have tried all day to add javafx to raspberry pi 3 and i am still getting the error:
在活动的 JDK 中找不到 JavaFX 部署库"
"JavaFX deployment library not found in the active JDK"
当我尝试构建时在 netbeans 中,即使我的代码中没有显示错误.
in netbeans when i try to build, even though there are no errors showing in my code.
我在这里下载了用于 javaFX 嵌入式 sdk 的 gluon 社区构建:http://gluonhq.com/labs/javafxports/downloads/并按照此处的说明进行操作:http://docs.gluonhq.com/javafxports/
I downloaded the gluon community build for javaFX embedded sdk here: http://gluonhq.com/labs/javafxports/downloads/ and followed the instructions here: http://docs.gluonhq.com/javafxports/
请任何人提供任何易于遵循的建议,让 javaFX 在树莓派 3 上运行!我对linux很陌生
please can anyone offer any easy to follow advice on getting javaFX working on raspberry pi 3! i am quite new to linux
如果您已阅读文档 这里,在 2.1.4 嵌入式先决条件下:
If you have read the documentation here, under 2.1.4 Prerequisites for Embedded:
你可以先下载到你的电脑上,然后移动到树莓派上,或者直接从树莓派上下载,解压安装.
You can download it to your computer first, and then move it to the Pi, or directly download it from the Raspberry Pi, unzip and install.
在此处,然后复制到您的 Pi.将下载的JavaFX Embedded SDK解压,将以下文件复制到JDK 8安装目录中:
Download the latest version of the JavaFX Embedded SDK port, available here, and copy to your Pi. Unzip the downloaded JavaFX Embedded SDK and copy the following files into the JDK 8 installation directory:
您可以在 Pi 上部署 JavaFX 项目,直接从计算机复制它们,或者使用 NetBeans(远程平台)或 IDE 的 Gluon 插件提供的远程部署.
You can deploy JavaFX projects on your Pi directly copying them from your computer, or using the remote deployment available with NetBeans (Remote Platform) or with the Gluon Plugin for your IDE.
有关在 NetBeans 上创建远程平台的简短指南,请查看此 链接.对于 Gluon 插件,请检查这些设置.
For a short guide on creating a remote platform on NetBeans, check this link. For the Gluon Plugin, check these settings.
这篇关于我怎样才能让 JavaFX 在树莓派 3 上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!