Java + NetBeans + Raspberry-Pi + Javafx

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Java + NetBeans + Raspberry-Pi + Javafx

Hello all,

Having problems displaying GUI written using Javafx.

I have programs that I need to run on the Raspberry Pi and show the output on an lcd connected to the Raspberry Pi.

I have used Java for the programming and JavaFX specifically for the GUI. But on running the program on the Pi, it gives different errors, sometimes not detecting javafx extensions, sometimes not being able to find the main classes.

The OS I'm using for Pi is Raspbian. And performing all the communication on Putty. I have tried using jdk 1.8.0, 1.7.0; ejdk; openjdk. But all seem to give different errors.

It would be really helpful if someone could tell me a way to install the relevant jdk and jre on the Pi, if I format my SD Card and start over with everything.

Also, programs without the use of Javafx run without a glitch on the Pi.
I use NetBeans for development and make connections to the Pi using Putty and SSH on my laptop!

I didn't find the right solution from the internet.

whiteboard animation