JavaFX is NOT part of the JDK 14 [duplicate] - javafx

This question already has answers here:
IntelliJ can't recognize JavaFX 11 with OpenJDK 11
(7 answers)
Closed 2 years ago.
Oracle has clearly stated:
"As of JDK 7u6 JavaFX is included with the standard JDK and JRE bundles."
Currently I have JDK 14 on my desktop computer; I search the entire system to find such a file as jfxrt.jar; but nothing found. Also System.getProperty("javafx.runtime.version") returns null.
Additionally, I installed JavaFX SDK from OpenJfx and took a look inside its lib directory. The following are the only thing I found (nothing for run time; no jfxrt.jar):
Where can I download jfxrt.jar then?

JavaFX was removed from JDK since JDK 11.
Since JDK 9, java is modular.
JavaFX was split into modules.
Hence there is no longer a single jfxrt.jar file. There are several JAR files, one for each module.

Related

No valid kits found in QT [duplicate]

This question already has answers here:
QtCreator: No valid kits found
(10 answers)
Closed 4 years ago.
I am trying to create my first project using the QT.
Here is the problem I am getting into:
I am using Windows, so, the first solution from here does not apply to me.
What should I do to create a basic project in QT? It seems so painful to do that.
I think that the problem might is that I did not install QT itself, but just a QT creator. But when I try to install the latest version of QT from over here its size is more than 7Gb and when I come 30% over the installation it just closes and deletes the folder in which I try to install it.
A Qt kit is detected by Qt Creator by its respective qmake. You Qt Creator simply can't find a qmake. If you have installed Qt properly all you need to do it is to add the location of qmake to the PATH variable.
The size of the download (7GB) of Qt seems rather odd. If your installation has failed (according to your post it does when the installer hits 30%), needless to say you cannot expect to have a functioning Qt hence Qt Creator will also not be useful in this situation.

Javafx application built in JDK 7 doesn't run with Java 8

I've developed a JavaFx application using JDK 7, but now that Java 8 was released, my client unistalled jre 7 and installed jre 8, and now the app is not running anymore:
I'm not sure but jre8 should not be compatible with previous versions of java? At least the last one ?
What can I do to solve this?
EDITED: I'm using exe4j to distribute my app as .exe
Here's a link http://progressinjava.blogspot.com/2014/12/using-applications-own-jre-and-not.html
It uses launch4j to create .exe file and show you how to distribute your application with jre.
Muskan answers was very helpful because gave me a hint to bundle a jre with my application.
Actually I've not used launch4j instead I've used exe4j, which is very similar but I've used before.
If you decide to use this approach you can find step by step here.

FlexVersion compatibility has already been read - _NOT_ Flex 3 to Flex 4 issue

To be clear, this code was working for many years using Flex 4.5.1. As such, this is not answered by; Error migrating Flex 3 to Flex 4
I am bulk generating Font CSS SWF in Flash Builder. There are nearly 700 of them, so I cannot do it in my main project, but have a related project to do so. Both projects are compiled using the same SDK (I have tried 4.6.0 (Adobe), 4.12.0 (Apache Flex), 4.13.0 (Apache Flex)).
However, since upgrading to 4.6+ from 4.5.1, I can no longer import fonts on demand as they immediately trigger Error: Compatibility version has already been read. error on load.
Can anybody direct me to a workaround for this? Or explain what causes compatibility version to be written on load of SWF?
See my comment above. This was resolved to inconsistent SDK in a complex build environment. Once everything matched (exactly) the issue disappeared.

Is it possible to use the latest version of JavaFX with JDK 7?

Is the latest version of JavaFX that is included in JDK 8 compatible with Java 7? Oracle says here that the latest version is included in JDK but I wonder if it is included in the latest update of JDK 7 and whether or not it is the same version as in the JDK 8?
The latest version of JavaFX 8 is incompatible with Java 7 !
You can use javafx 2.x with any version of Java 7. But in order to use JavaFX 8, you need Java 8 !
Update (as per user requirement)
There are loads and loads of bug fixes from javafx2 to javafx8. There are many noticeable changes as well. Few of them are as follows :
New Look - Javafx8 comes with a new UI, a fresh look called Modena. For more details, visit this
Print API - After Java Printer API, used in awt, for the very first time a new Printing support has be added to JavaFX
Swing Node - Swing node will allow you to embed swing components inside a javafx scene. Support for the opposite, is already possible via JFXPanel.
Improved 3D support - Camera, 3Dprimitives, Light, 3DAttributes are few things that you can look in JavaFX8 3D support. There are many more.
New UI Controls - DatePicker and the TreeTableView controls has been added
Support for Hi-DPI displays has been added in this release.
The whole list of changes can be found What's new in JDK 8, under the JavaFX section
Is it possible to use the latest version of JavaFX with JDK 7
There is a OpenJFX 8 backport to Java SE 7. I don't know its current state. I think its maintained by the OpenJFX on Android/ iOS community.
https://bitbucket.org/narya/jfx78/wiki/Home
But I recommend to use Java SE 8 if you want to use JavaFX 8.
Oracle says here that the latest version is included in JDK but I
wonder if it is included in the latest update of JDK 7 and whether or
not it is the same version as in the JDK 8?
Oracle's Java SE 7 contains JavaFX 2.x and Oracle's Java SE 8 contains JavaFX 8.
They are not the same.

JavaFX license - is including javaFX jar on your app server not breaching the license? [duplicate]

This question already has an answer here:
May JavaFX 2.0 be redistributed? [closed]
(1 answer)
Closed 7 years ago.
So I've got an application which starts via Java WebStart. It requires javafx jar to work properly. If I place the javaFX jar on my server (so that it could be downloaded when starting the application) would it be ok with the license?
I'm not sure about the license (it should be possibe to provide native bundles which include the jre + javafx), but for Java WebStart the recommended way is to install the latest JRE on client-side, which comes with JavaFX. So you don't need the javafx jar on the server.
You should include the JavaFX start classes in the main jar, however, and have the correct JavaFX Manifest entries. But since the JavaFX Ant task provided by Oracle is copying these start classes to the main jar, I guess it's ok to use them. But I'm not a lawyer.

Resources