Re: Working with JavaFX
Le 6/12/2015 17:17, Cecil Westerhof a écrit :
> I want to start writing desktop applications. I have done some (but not
> much) Swing and Qt in the past, but as I understand it I should use
> JavaFX nowadays.
Swing is still a good API for classic desktop applications.
> How should I install JavaFX?
On Debian, either install the openjfx package (from the backports if you
are using Jessie) or install the Oracle JDK (you can convert the Linux
tarball into a .deb with the make-jpkg tool from java-package.
> I am using Java 7, because
> I do not want to use unstable packages without a reason and at the
> moment I think Java 7 is good enough.
JavaFX 8 requires Java 8. The earlier versions of JavaFX aren't as
mature, I wouldn't recommend them.
> I understood that JavaFX should be installed with Java, bit it is not.
JavaFX isn't an official part of Java, but it's packaged with the JRE
distributed by Oracle. In Debian it's a separate package (openjfx).