MatrixPanel: JavaFX custom control on the Raspberry Pi

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

You need 1.8, so get the early access version from here: jdk8.java.net/download.html

Be aware that you can have both 1.7 and 1.8 installed on your mac, and you should choose which plaftorm is required for any of your projects.

Jose

Автор

Hi, you just need to install in your Pi (with hard-float Raspbian image) the early version of JDK8 for ARM, from here: jdk8.java.net/download.html. Check at the end for instructions.
Then download the JFXtras snapshot for Java 8 from here jfxtras.org, create your project with it on your computer, and then move it to your Pi, it should run without any problems!

Good luck!
Jose

Автор

when I install jdk8 on my mac it get the folowing error
Error:
JavaFX runtime JAR not found.

ossssama
Автор

Thank you :) which java jdk do I install on my mac, 1.7 or 1.8 :)

ossssama
Автор

I get this error in my pc
Executing com.javafx.main.Main from using platform
objc[5828]: Class JavaLaunchHelper is implemented in both and One of the two will be used. Which one is undefined.

ossssama
Автор

Sorry, I don't have a mac, and I can't help you with these errors. Note that jfxrt.jar is included in jdk1.8 platform. If you use Netbeans, try to create a simple Java project (not JavaFX), and set the main class to extend Application, add the start method, and in main call 'launch(args);'

You can check github.com/HanSolo/Enzo for excellent samples for Java8 that will run both on mac and Pi.

Jose

Автор

Would you be able to email me the project. I am having issue eunning any code on the respberry when using the jfxtras library but not on my computer

ossssama
join shbcf.ru