7.x: How to add the JavaFX 2.x path?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

7.x: How to add the JavaFX 2.x path?

Daniel B. Thurman
As you know, Oracle has announced information about
the new JavaFX release: JavaFX 2.1 build b13 Developer
Preview Download, and I am itching to try it on Linux NB
to no avail at this time...  grrr...

It is not clear how to add the JavaFX path location in NB 7.1,
but I seemed to have stumbled on a clue when I tried to start
a new JavaFX example application where it says one has to
create a new JavaFX platform with this message:

"Selected Java platform does not have JavaFX support.
  Please create new Java Platform and point it to JavaFX SDK.
  JavaFX SDK can be downloaded from here: javafx.com"

So, proceeding to: Tools->Java Platforms, there is a limited list
of supported platforms, and JavaFX is not listed.

How how does one create a JavaFX platform or at
least where is there a configuration UI where one
can define the Java FX 2.x path location?

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 7.x: How to add the JavaFX 2.x path?

Geertjan Wielenga-3
On 02/18/2012 08:24 PM, Daniel B. Thurman wrote:

> As you know, Oracle has announced information about
> the new JavaFX release: JavaFX 2.1 build b13 Developer
> Preview Download, and I am itching to try it on Linux NB
> to no avail at this time...  grrr...
>
> It is not clear how to add the JavaFX path location in NB 7.1,
> but I seemed to have stumbled on a clue when I tried to start
> a new JavaFX example application where it says one has to
> create a new JavaFX platform with this message:
>
> "Selected Java platform does not have JavaFX support.
>    Please create new Java Platform and point it to JavaFX SDK.
>    JavaFX SDK can be downloaded from here: javafx.com"
>
> So, proceeding to: Tools->Java Platforms, there is a limited list
> of supported platforms, and JavaFX is not listed.
>
> How how does one create a JavaFX platform or at
> least where is there a configuration UI where one
> can define the Java FX 2.x path location?
>
Starting with Java SE 7 Update 2, the JDK includes the JavaFX SDK.

http://www.oracle.com/technetwork/java/javafx/downloads/index.html

Gj
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 7.x: How to add the JavaFX 2.x path?

Brian Ngure
Hi Geertjan,

That is only the case on Windows. If you read his post, he is asking about Linux.

P.S.
I would also like to know about how to set up on Linux.


On Sat, Feb 18, 2012 at 11:21 PM, Geertjan Wielenga <[hidden email]> wrote:
On 02/18/2012 08:24 PM, Daniel B. Thurman wrote:
As you know, Oracle has announced information about
the new JavaFX release: JavaFX 2.1 build b13 Developer
Preview Download, and I am itching to try it on Linux NB
to no avail at this time...  grrr...

It is not clear how to add the JavaFX path location in NB 7.1,
but I seemed to have stumbled on a clue when I tried to start
a new JavaFX example application where it says one has to
create a new JavaFX platform with this message:

"Selected Java platform does not have JavaFX support.
  Please create new Java Platform and point it to JavaFX SDK.
  JavaFX SDK can be downloaded from here: javafx.com"

So, proceeding to: Tools->Java Platforms, there is a limited list
of supported platforms, and JavaFX is not listed.

How how does one create a JavaFX platform or at
least where is there a configuration UI where one
can define the Java FX 2.x path location?

Starting with Java SE 7 Update 2, the JDK includes the JavaFX SDK.

http://www.oracle.com/technetwork/java/javafx/downloads/index.html

Gj



--
Regards

Brian Ngure

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 7.x: How to add the JavaFX 2.x path?

Duane Phinney
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/18/2012 02:28 PM, Brian Ngure wrote:

> Hi Geertjan,
>
> That is only the case on Windows. If you read his post, he is asking
> about Linux.
>
> P.S.
> I would also like to know about how to set up on Linux.
>
>
>
This is the place to start:
http://netbeans.org/kb/docs/java/javafx-setup.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mageia - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPQBBvAAoJECPQsolLqbfHyYkIAJLDFxDfsPBr+DUtvkPJz9vI
uYESVg3Ld3kF+Iil9TLyrR9d+4JGXUghAdewrSTMkL1Bni1JM2Kr3MujpbVnVnm/
ifmLCPJc0ppHjej99UTHr/RFrGQ2pkCGqMaiGnsb0rsYcnaedz+TKCQ8IPqcLTr1
K31ZTpEfClMWhgA8V6gDlWSdNIi2xsLOdd/PYzXGX03mef0K4hW9Mvvz9MD1lsNm
veKsM9GSIgDjf4CsETOQdGDuPX05SbM1DWQehUxrDPbuyfduSg4KSNWRID1Np6uK
ZgfgNjHe8B/CoNjVWklqFWV83Z4cS4XVhEyWCidQ2dEMnr1oKYl8H4ZMleeEz8c=
=JFjp
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 7.x: How to add the JavaFX 2.x path?

Daniel B. Thurman
In reply to this post by Brian Ngure
On 02/18/2012 12:28 PM, Brian Ngure wrote:
Hi Geertjan,

That is only the case on Windows. If you read his post, he is asking about Linux.

P.S.
I would also like to know about how to set up on Linux.


On Sat, Feb 18, 2012 at 11:21 PM, Geertjan Wielenga <[hidden email]> wrote:
On 02/18/2012 08:24 PM, Daniel B. Thurman wrote:
As you know, Oracle has announced information about
the new JavaFX release: JavaFX 2.1 build b13 Developer
Preview Download, and I am itching to try it on Linux NB
to no avail at this time...  grrr...

It is not clear how to add the JavaFX path location in NB 7.1,
but I seemed to have stumbled on a clue when I tried to start
a new JavaFX example application where it says one has to
create a new JavaFX platform with this message:

"Selected Java platform does not have JavaFX support.
  Please create new Java Platform and point it to JavaFX SDK.
  JavaFX SDK can be downloaded from here: javafx.com"

So, proceeding to: Tools->Java Platforms, there is a limited list
of supported platforms, and JavaFX is not listed.

How how does one create a JavaFX platform or at
least where is there a configuration UI where one
can define the Java FX 2.x path location?

Starting with Java SE 7 Update 2, the JDK includes the JavaFX SDK.

http://www.oracle.com/technetwork/java/javafx/downloads/index.html

Gj



--
Regards

Brian Ngure


Geertjan's link at the TOP-MOST link, takes one to the JavaSE standard
page, and the first "Box" showing the text:  "Java Platform (JDK) 7u3",
takes one to the following link:

http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html

where one can select the linux platform in various packages (RPM, tar.gz, ...)
which is good, because in choosing tar.gz package, it allowed me to place
the contents to my specific location and not to the one pre-defined by rpm.

As for the information I was looking for, I got lucky again, where instead of
choosing: New Project->Samples->JavaFX->AdvancedMedia, chose instead:
New Project->JavaFX->JavaFX Application, this time a different warning message
appeared, which made it clear that one has to create a NEW Java Platform,
even though there is already a default JDK existing. In other words, one cannot
use the default JDK and expect to see a JavaFX tab. It also says that one can choose
the same pathname/version as the default JDK. Wierd! ;) So at this point, I cancelled
the New Project wizard, and proceed to: Tools->Java Platform, created a NEW Java
Platform, and provided the pathname to OpenJDK 1.6 which by the way, is the default
JDK for Fedora-13.

At this point, one can create a New JavaFX Project, should see the JavaFX tab,
and from this tab, enter the pathnames for the installed JavaFX 2.1 Beta-13.

As a test, I installed the JavaFX sample:  "AdvanceMedia" and it worked!


As for the link:  http://netbeans.org/kb/docs/java/javafx-setup.html, I had
a hard time following this page, as it appears to be based on windows,
but the point was clear: You cannot use the default JDK, create a new one.

Cheers!

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: 7.x: How to add the JavaFX 2.x path?

Chuck Davis-3
Additionally, it appears there is only a 32 bit version for Linux!  I
think it's been at least a decade since I had a 32 bit development
machine.  So I guess I wait some time longer for FX that works where I
work.

And in case anyone from Oracle happens by, please don't standardize on
Ubuntu.  Standardize on the LSB so that it works equally well on ALL
Linux distros!

On Sat, Feb 18, 2012 at 1:15 PM, Daniel B. Thurman <[hidden email]> wrote:

> On 02/18/2012 12:28 PM, Brian Ngure wrote:
>
> Hi Geertjan,
>
> That is only the case on Windows. If you read his post, he is asking about
> Linux.
>
> P.S.
> I would also like to know about how to set up on Linux.
>
>
> On Sat, Feb 18, 2012 at 11:21 PM, Geertjan Wielenga
> <[hidden email]> wrote:
>>
>> On 02/18/2012 08:24 PM, Daniel B. Thurman wrote:
>>>
>>> As you know, Oracle has announced information about
>>> the new JavaFX release: JavaFX 2.1 build b13 Developer
>>> Preview Download, and I am itching to try it on Linux NB
>>> to no avail at this time...  grrr...
>>>
>>> It is not clear how to add the JavaFX path location in NB 7.1,
>>> but I seemed to have stumbled on a clue when I tried to start
>>> a new JavaFX example application where it says one has to
>>> create a new JavaFX platform with this message:
>>>
>>> "Selected Java platform does not have JavaFX support.
>>>   Please create new Java Platform and point it to JavaFX SDK.
>>>   JavaFX SDK can be downloaded from here: javafx.com"
>>>
>>> So, proceeding to: Tools->Java Platforms, there is a limited list
>>> of supported platforms, and JavaFX is not listed.
>>>
>>> How how does one create a JavaFX platform or at
>>> least where is there a configuration UI where one
>>> can define the Java FX 2.x path location?
>>>
>> Starting with Java SE 7 Update 2, the JDK includes the JavaFX SDK.
>>
>> http://www.oracle.com/technetwork/java/javafx/downloads/index.html
>>
>> Gj
>
>
>
>
> --
> Regards
>
> Brian Ngure
>
>
> Geertjan's link at the TOP-MOST link, takes one to the JavaSE standard
> page, and the first "Box" showing the text:  "Java Platform (JDK) 7u3",
> takes one to the following link:
>
> http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html
>
> where one can select the linux platform in various packages (RPM, tar.gz,
> ...)
> which is good, because in choosing tar.gz package, it allowed me to place
> the contents to my specific location and not to the one pre-defined by rpm.
>
> As for the information I was looking for, I got lucky again, where instead
> of
> choosing: New Project->Samples->JavaFX->AdvancedMedia, chose instead:
> New Project->JavaFX->JavaFX Application, this time a different warning
> message
> appeared, which made it clear that one has to create a NEW Java Platform,
> even though there is already a default JDK existing. In other words, one
> cannot
> use the default JDK and expect to see a JavaFX tab. It also says that one
> can choose
> the same pathname/version as the default JDK. Wierd! ;) So at this point, I
> cancelled
> the New Project wizard, and proceed to: Tools->Java Platform, created a NEW
> Java
> Platform, and provided the pathname to OpenJDK 1.6 which by the way, is the
> default
> JDK for Fedora-13.
>
> At this point, one can create a New JavaFX Project, should see the JavaFX
> tab,
> and from this tab, enter the pathnames for the installed JavaFX 2.1 Beta-13.
>
> As a test, I installed the JavaFX sample:  "AdvanceMedia" and it worked!
>
>
> As for the link:  http://netbeans.org/kb/docs/java/javafx-setup.html, I had
> a hard time following this page, as it appears to be based on windows,
> but the point was clear: You cannot use the default JDK, create a new one.
>
> Cheers!
>
Loading...