使用gradle在树莓派上运行javafx11时出现错误 [英] Getting errors when runing javafx11 on raspberry pi using gradle

查看:213
本文介绍了使用gradle在树莓派上运行javafx11时出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够构建我的javafx11应用程序,但是使用./gradlew run

I am able to build my javafx11 application, but I get errors when running it using ./gradlew run

我收到的错误说明无法打开DISPLAY

The error I get says something about unable to open DISPLAY

我尝试过仅在终端上安装raspbian和完整的桌面安装.

I have tried on both a terminal only install of raspbian and a full desktop install as well.

到目前为止,我已经完成了这些事情: 1)安装bellsoft full jdk 2)git clone gradle项目 3)./gradlew运行

So far I have done these things: 1) Install bellsoft full jdk 2) git clone gradle project 3) ./gradlew run

我在做什么错了?

推荐答案

没关系,我在经过更多,更多的谷歌搜索后才弄清楚了.我最终使用了nodm.

Nevermind, I figured it out after much, much more googling. I ended up using nodm.

这篇关于使用gradle在树莓派上运行javafx11时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆