Does IBM's java 7 bundle Java FX 2? I have JDK Version 7 Release 1 for Linux (32 bit) and it doesn't seem to contain it. If it doesn't, can I still use it, and what do I need to do for that?
Thanks
No, IBM Java 7 does not include JavaFX 2.
The Oracle distributions of Java 7 and 8 are the only supported Java runtimes that include JavaFX that I am aware of at this time.
JavaFX 2 is mostly closed source, so you can't really port it to any other runtimes.
JavaFX 8 is completely open source, so you should be able to port it to other runtime environments. Normally JavaFX 8 requires Java 8, but there is a Java 7 compatible back port of JavaFX 8 which you could (try to) run on IBM Java 7. If you want JavaFX 8 to work on an IBM JDK, it would probably be easiest to try building JavaFX 8 against the IBM JDK 8 beta and seeing if that works. I'm sure IBM would thank you if you are able to make it work and let them know how you did it.
Related
I'm trying to find the system requirements for JavaFX? IE what JavaFX versions are supported with different Java versions.
Using an app running with a Java 11 JDK/JRE I can happily use JavaFX 17 controls but is this officially supported?
There are bug fixes in JavaFX 17 I'd like to benefit from, but I have customers who are still wanting to use Java 11 JRE.
Looks like JDK11+ is the requirement. As the JavaFX 18 release notes state:
"As of JDK 11 the JavaFX modules are delivered separately from the JDK. These release notes cover the standalone JavaFX 18 release. JavaFX 18 requires JDK 11 or later."
This applies to JavaFX 11 through 17 as well.
(JavaFX 11 will work with OpenJDK builds of Java 10 as well, but that is only of historic interest.)
I get this error while building corda 4.8 on a windows 10 box using intellij:
Could not find javafx-controls-mac.jar (org.openjfx:javafx-controls:11.0.2).
Searched in the following locations:
file:/C:/Users/Admin/.m2/repository/org/openjfx/javafx-controls/11.0.2/javafx-controls-11.0.2-mac.jar
I don't want to build the mac version, how can I disable or ignore the error?
Maybe I'm missing something as far as context, but currently, you can only build corda with java 8. Java 11 is not supported yet. Take a look at this docs page for the specific tooling you need to configure CorDapps.
https://docs.corda.net/docs/corda-os/4.7/getting-set-up.html
Long story short, until corda 5 is released you'll need java 8 to build cordapps which you can install here : https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
With Java 7 update xx, pdf was generated in my asp.net application. When I updated the Java version to latest , ie Java 8 Update 73 , its fails to generate pdf. No idea on whats the issue.
Tried other updates of Jre 8 , always fails, but works with jre 7 update xx
Baji, while yo're doing things differently, e.g. ASP.Net and IIS instead of tomcat but still using Java 8 this article seems to indicate he got it working with Java 8 and Tomcat. I know it doesnt answer your question 100%, but if the questions just on Java 8 support it looks like it works.
An indicator FOP works 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.
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.