XIMA Formcycle problems with images preview - java

I have the following problem -
I'm trying to install the latest version of XIMA Formcycle software, but I'm having problems with Image Preview feature inside the application.
In their support page, it is described that you need JavaFX 11 in order the image previews to be displayed.
The environment I have is built with Server JRE 8.
My question is - how can I install JavaFX 11 ( from what I understood it is a feature in Java, to run together with Server JRE 8)?
Is JavaFX a part of Server JRE 8?
Thank you.

JavaFX is no longer packaged with the JDK as of JDK 11. You needed to install JavaFX separately.

Related

Building JavaFX Projects with JDK 11.0.2 and Eclipse?

I've spent too much time trying to find how to do this with. Tips for setting up a dev environment are what I am asking for, however I will start with what I tried so far.
As I understand JavaFX was separated from the JDK after JDK 8, however, for an R&D project, I need to create JavaFX applications that can be built and compiled in Java 11. Normally installing the e(fx)clipse plugins into Eclipse will not work unless a Java 8 installation is pointed to.
So, I have been following this guide: https://gist.github.com/stevenliebregt/bc62a382fc43064136b662ee62172ab3
JavaFX 11 is on LTS from Gluon, it seems, meaning I'd have to pay at least $900 to get it.
So instead, I tried building OpenJFX using following the instructions at this link:
https://wiki.openjdk.org/display/OpenJFX/Building+OpenJFX
When I start the build with Gradle, it fails because the minimum supported version for Java to build this is apparently 17.
Any suggestions for building JavaFX projects with JDK 11 is greatly appreciated.
The LTS version is JavaFX 11.0.16. You can download non-LTS 11.x versions from GluonHQ by checking the "include older versions" checkbox on the download page.
Once you clicked it, you see all versions starting with 11 until 20-ea+1, even the obsolete ones.
Your best choice is probably 11.0.2
And to add something you didn't ask for: JDK 11 is compatible with the latest versions of JavaFX, even JavaFX 18, as you can see in the Release Notes:
"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."
(I emphasized the last part of the quote)
Thanks all, for the good information. I found that the best way to handle this way to build in IntelliJ instead. I can build and run JavaFX 18 easily with JDK 11.

What is the latest Java SDK that can be used for Android app development?

I recently bought a new MacBook. I installed the Android SDK and Studio and then I imported my project. AS suggested to use the bundled Open JDK for my project. I accepted and I am able to build and run my project via AS.
The problem is, my command line doesn't work :(
==> ./gradlew clean
No Java runtime present, requesting install.
After running the above code the following alert displays. This web page will be open when I click on the More Info button.
After I searched I realized that I have to have JDK installed on my laptop. I remember -from thousand years ago- that I have to have JDK 8 on my laptop. I also heard that android projects work with JDK 11.
It looks like the latest JDK is 15. So, what should I do? What is the latest JDK that can be used for Android app development?
Anything Java 8 or above is fine.
Find path to JDK in File > Project Structure, Tab SDK Location > JDK Location.
In MacOS, installed Virtual Machines are normally placed in /Library/Java/JavaVirtualMachines/*

JavaFX build for Java6 on Mac

Our application is Javafx based. Due to some reasons we have to port our application with java6 on Mac.
But according to the download section on Oracle, there is no build available for JavaFx on Java6 on Mac.
Is there any Javafx build available which can be used with Java6 on Mac?
Is there any Javafx build available which can be used with Java6 on Mac?
No JavaFX 2.x+ build is available for Java6 on Mac.
This is problematic since JavaFX is bundled with JRE 7, but that is unavailable on Mac OS X 10.6
My suggestion would be to use the Native Bundle feature of JavaFX2.2, which lets you package an entire JRE with your application and provides a native executable to launch your app. You can automate the entire thing by using E(fx)clipse, and its a matter of checking one checkbox. There are plenty of guides on the internet on how to do it with or without the e(fx)clipse plugin.

JavaFX not compiling in Netbeans

I'm using Mac OS X, Netbeans 7.3 Beta 2 and JDK 7 u12.
Netbeans cannot see the JavaFX library. I thought that the JavaFX library comes with JDK 7?
Netbeans see's and uses JDK 7 (coming from JDK 6 I have now lost my retina icons and text!), but when I try and add a library there is no JavaFX library available.
I've gone through the steps shown on Netbeans website to configure and create a JavaFX application, which is where I found that for OS X I need JDK 7, but I have had no luck.
What am I missing?
jdk7u12 is still pre-release software and may be incompatible with NetBeans.
Specifically, a recent change in the JavaFX structure is HEADS-UP: jfxrt.jar moving to jre/lib/ext. If you try using jdk7u12 with a version of NetBeans coded before the JavaFX structure change (such as NetBeans 7.3 beta 2), it may not work out of the box. In the meantime, I suggest using a production version of the jdk (such as jdk7u11) until NetBeans update their software to work correctly with the relocated jfxrt.jar library.
I know you note that you have followed steps on the NetBeans website, but you don't link to them. Ensure that you have correctly configured a NetBeans JavaFX Platform as detailed in the NetBeans JavaFX setup tutorial (Although that tutorial is currently for NetBeans 7.1 and 7.2, hopefully it will also work for your 7.3 beta). Also, make sure that when you create your project, you create a "JavaFX Application" in NetBeans - as opposed to a regular "Java Application".
If you are still having issues, list your compile errors in your question.
when I try and add a library there is no JavaFX library available.
JavaFX is not configured as a library on NetBeans - it is part of a "JavaFX Platform" as detailed in the setup link in this answer.
coming from JDK 6 I have now lost my retina icons and text!.
Kind of unrelated, but JavaFX in JDK8 will support retina displays (scheduled release data Sept, 2013).
John,
You might try posting your question on the Oracle JavaFX 2.0 and Later Forum:
https://forums.oracle.com/forums/forum.jspa?forumID=1385
Please feel free to tweet the URL of your question to me #JavaFXpert and I'll follow up to make sure it gets answered.
Thanks,
Jim Weaver

How to make my default JDK FX-enabled?

As I've tried to create a Java FX 2.0 application project in NetBeans IDE 7.1 Beta, it said I have no FX-enabled JDK. I've managed to set up an "FX-enabled JDK" folowing the instructions on how to create it manually (found here). But I neither need nor want to have multiple JDKs, I want the one and only to be "FX-enabled". Though, the default JDK NetBeans platform entry (referencing the very same JDK installation actually) even does not contain a Java FX tab in its settings. How to fix this?
Unfortunately in NB 7.1 Beta you can't have default JDK being FX enabled.
All new JavaFX projects will refer to Java Platfrom named "Default JFX Platform".
You just need to download and install the JavaFX 2.0 SDK from javafx.com, and it will work.
It doesn't need any other JDK. It installs next to your already installed JDK.
After you have installed the JavaFX SDK you can create a new JavaFX application, and everything will be great.

Categories