You are not logged in.

#1 2014-10-02 04:41:11

ryanvade
Member
Registered: 2013-01-23
Posts: 73

Cannot add JavaFX to netbeans

Hello everyone,

I need to have access to javaFX for a CS class I am taking.  I prefer to stay with OpenJDK because of how easy it is so I built OpenJFX in /build/rt and now I am trying to add it to Netbeans 8.0.1.  In the Platform manager there is no tab for JavaFX like all the guides I have seen mention.  Is there a new place to add this?  The default jdk is 1.8. 

I really need help with this.

Offline

#2 2014-10-02 12:49:29

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Cannot add JavaFX to netbeans

I don't know about your particular issue, but I know that with JDK 8.0 from Oracle, JavaFX is now built in, not a separate library. I also seem to recall that OpenJDK has the ability to build in OpenJFX, but some people are having problems with doing that.

I think you need to get OpenJDK with OpenJFX "built-in".

Again, this is all from things I have read in the recent past -- no first-hand knowledge on the subject.

(P.S. I would think for a CS class, you'd want to use the Oracle JDK anyway, wouldn't you -- as that's the "officially supported" Java out in the wild? Of course, I must admit that I've never understood why some people are adamant about not using OracleJDK, but only the OpenJDK. Is there really that much of a philosophical difference?)

Last edited by mrunion (2014-10-02 12:50:32)


Matt

"It is very difficult to educate the educated."

Offline

#3 2014-10-02 22:00:07

ryanvade
Member
Registered: 2013-01-23
Posts: 73

Re: Cannot add JavaFX to netbeans

I really don't want to switch to Oracle JDK because the last few times I did, all my java applications refused to load.  I built openJavaFX and copied over the libraries to /usr/lib/jvm/java-8-openjdk with no success.

Last edited by ryanvade (2014-10-02 23:02:39)

Offline

#4 2014-10-04 01:32:51

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Cannot add JavaFX to netbeans

I don't know anything else that would help then. My only suggestion would be to figure out why the OracleJDK won't work. Seems like that would be easier than getting OpenJDK to work with JavaFX and Netbeans.

FWIW, I've always used Oracle's JDK. I find it odd that you have problems with it, but obviously stranger things have happened! Sorry I couldn't help more.


Matt

"It is very difficult to educate the educated."

Offline

Board footer

Powered by FluxBB