JavaFX build for Java6 on Mac - java

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.

Related

What JDK should I use for netbeans?

In Netbeans 8.2, it says to use Java JDK 8.1 or higher. When I use the latest version of JDK, Netbeans will load up but I can’t open or make new projects. When I get 8.1 I can’t use certain features of languages, like timers in Java.
What JDK should I use to have both Netbeans functioning and have all features of Java usable?
This document describes how to install NetBeans IDE 8.2 on your system. Please see the NetBeans IDE 8.2 Release Notes for information about supported operating systems and hardware configurations for the IDE. To learn about the new features included in this release of the IDE see the NetBeans IDE 8.2 Release Information page.
And use 8u191 or 8u192 for Netbeans 8.2
Somewhat specific to Ubuntu, or at least Linux: install Java with SDKman which is somewhat like RVM but for Java. Quite simple to install, it will then manage your JDK versions.
Additionally, umake, or ubuntu-make, will install your IDE or other developer tools. This utility is best installed through the snap package manager to get the latest version.
From umake it's a simple command to then install developer tools such as NetBeans. Currently this installs NB 8.2 which will not run on any JDK nine or higher.
Use SDKman to manage your JDK version (and gradle, and kotlin, and ...). Use umake to handle your IDE version.
My two cents
In the next week or so, umake should upgrade to NetBeans o. There was a bit of a mixup when Apache took over but the umake maintainers are on the ball.
Or, just download NB 9 directly. You'll have to use an older JDK, as specified in the first answer by user5377037.
Why are you running NB 8.x?

NetBeans won't detect java ME platform

I am totally new at programming with Java and mobile App development. I have installed Netbeans v8.2 (the full bundle) then installed Java ME 8.3/8/3.4, but every time I go about adding any of the platforms it tells me that the detection's failed. I then tried to add Java ME manually but when I write in a new file it doesn't seem to recognize any of the standard built-in functions. Also, tried installing the Java Me plugins from the site, but it made no effect of adding any features to the IDE. How could I get the IDE to detect Java ME platform?
I have JDK x64 v8u144 installed and Netbeans had no problems with detecting it.
Have you tried installing JAVA ME SDK 3.4? It contains plugins for netbeans and the SDK of the same instead of installing of the Java ME 8.
I was facing the same error.. Installing Sun Java Wireless Toolkit worked for me.
Link: http://www.oracle.com/technetwork/java/index-jsp-137162.html
The issue is with JDK version. The issue was resolved by downgrading from jdk-8u241 to jdk-8u112. I'm using Netbeans 7.4 and Java ME SDK 3.4.

Installing FX Experience Tools

I am building a desktop application using JavaFX, and have installed scene builder integrated with NetBeans. Now I am trying to install fx experience tool on my windows platform but getting some JRE problem.
All my NetBeans and Scene Builder with JDK 8 environment working fine only error with installing FX Experience Tool.
** Log File Link **
Since you didn't specify the name of the tool, I initially assumed you were referring to ScenicView.
But you are using fxetools, I was able to install and run it on Java 1.7.0_71 under Windows 8.1.
Here's what you do:
In the directory that contains fxetools, there is a jre directory that is included (1.6.0_30).
RENAME this directory from jre to jre6.
NOW, when you start fxetools, it should look to your currently installed jre, or at least, to the jre specified by JAVA_HOME. I don't know whether the application is fully functional, but at least it should run for you now as it did for me. See http://i.stack.imgur.com/HO7n8.jpg

Installation of Java 3d on linux

I am in the process of running Java 3d applets on my machine, which has linux. The problem is that after I install jdk(1.6 as specified on the official site), jre and icedtea plugin (needed on browser) softwares, normal applets work fine but java 3d application does not work. Also it gives no error. Could someone please give a solution on how to install java 3d on linux or point me to some useful documentation for the procedure.
Please follow these instructions to install the very latest version of Java3D: http://jogamp.org/wiki/index.php/Downloading_and_installing_Java3D
The applets are quite broken whatever the plugin you use, with Oracle Java and with OpenJDK + Icedtea-web plugin, especially since the latest security changes. Maybe your problem has nothing to do with Java3D itself.
Moreover, you don't have to install Java3D on your system to use applets based on it. You can use third party libraries with Java Web Start and applets without installing them on your system. When you install a library as an extension, it can cause conflicts with the applets and the applications that could rely on a different version. Moreover, the extension mechanism has been removed from Java 1.9, just look at its early access versions.

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