0

On Netbeans every time I choose a new JavaFx Application project it will ask me to "add a platform" unless I add the Oracle Java JDK I will be stuck there. Is there a way to use Openjdk to get around the problem?

2
  • What kind of research do you made so far and how about using openjfx? Or why did you left it out of your scope? Commented Jan 25, 2015 at 20:31
  • 2
    Actually, Stack Overflow is the proper place to ask questions regarding the use of IDEs. Commented Jan 25, 2015 at 20:39

3 Answers 3

1

Just build a self-contained application/installer with the Oracle JDK and you are done. What's the problem?

(By someone who doesn't care about the deep religious aspects of free software :-)

Sign up to request clarification or add additional context in comments.

Comments

0

Hummm... Either I'm missing something or I don't understand. :( You will need the JDK to program Java applications.As far as building Java GUI, Have you given JavaFX scene builder a shot? check it out here: Java FX scenbuilder. If I'm missing something please let me know. Seems like I am...

2 Comments

Ok so I developed a JavaFX application with Scenbuilder it's done. The thing is that I used the normal Oracle JDK. For Linux there is also Openjdk. My problem is that the jar file will only run under a Oracle JRE and not under a Openjdk jre.
And this is when you try to compile in Netbeans or after you've got it compiled and built with a complete jar file?
0

You may want to check this answer to a similar question : https://stackoverflow.com/a/19529820/4773709

Basicly, it says that you can build an openJDK version which includes JavaFX (OpenJFX) following the instructions given here .

But there are no linux distribution that offer a JavaFX package, meaning, if you develop an application using JavaFX, the OpenJDK users won't be able to use it unless they've also built their OpenJDK themselves.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.