How portable is JavaFX 2?

I am going to start a JavaFX project on my 64 bit Windows 7 machine . I am developing a full-screen console application. It is not interactive except for a barcode scanner.

I am developing this for what, in my opinion, will be a Ubuntu laptop or another version of Linux, although another Windows OS also has an option (as well as a 32-bit version). From what I understand, Java FX version 2.x has made great strides in portability from its predecessor, but I wanted to tell the community about their experience in deploying JavaFX applications.

Did you manage to use them on different architectures? What problems have you encountered?

+7
source share
2 answers

Place an order for EstiMate as an example, an all-in-one jar, which is launched by double-clicking.

https://bitbucket.org/atill/estimate/downloads

It requires the installation of Java7u10. I plan to make the correct installer for this later using the javafx maven plugin. https://github.com/zonski/javafx-maven-plugin . I have not tested it on Linux or Mac, but it works through 32-bit and 64-bit WindowsX windows.

+2
source

As long as your barcode scanner works on ubuntu in the same way as you win, and you do not use any external libraries, you will not notice the difference between these systems from your application.

I found installing the oracle JRE on ubuntu the most difficult task. (with JRE_HOME etc.) Even on Archlinux was easier than ubuntu.

However, once the JRE is installed, your application will even work on the Raspberry Pi (this is not an x86 ARM)

Be aware of the differences in file system between systems.

+1
source

All Articles