Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2057 > unrolled thread

JavaFX on Windows needs CLASSPATH to find jfxrt.jar?

Started byKnute Johnson <nospam@knutejohnson.com>
First post2012-08-22 19:57 -0700
Last post2012-08-23 15:47 -0700
Articles 4 — 3 participants

Back to article view | Back to comp.lang.java.help


Contents

  JavaFX on Windows needs CLASSPATH to find jfxrt.jar? Knute Johnson <nospam@knutejohnson.com> - 2012-08-22 19:57 -0700
    Re: JavaFX on Windows needs CLASSPATH to find jfxrt.jar? markspace <-@.> - 2012-08-22 20:46 -0700
    Re: JavaFX on Windows needs CLASSPATH to find jfxrt.jar? Jeff Higgins <jeff@invalid.invalid> - 2012-08-23 01:30 -0400
    Re: JavaFX on Windows needs CLASSPATH to find jfxrt.jar? Knute Johnson <nospam@knutejohnson.com> - 2012-08-23 15:47 -0700

#2057 — JavaFX on Windows needs CLASSPATH to find jfxrt.jar?

FromKnute Johnson <nospam@knutejohnson.com>
Date2012-08-22 19:57 -0700
SubjectJavaFX on Windows needs CLASSPATH to find jfxrt.jar?
Message-ID<k1466k$qu6$1@dont-email.me>
I just installed the new 1.7.0_06 with JavaFX 2.2.  JavaFX is part of 
the JDK but after a regular install on Windows XP you still have to set 
the CLASSPATH to compile a program that uses the JavaFX API.  Did I miss 
something or is that the way it is supposed to work?

Thanks,

-- 

Knute Johnson

[toc] | [next] | [standalone]


#2058

Frommarkspace <-@.>
Date2012-08-22 20:46 -0700
Message-ID<k1493j$8kv$1@dont-email.me>
In reply to#2057
On 8/22/2012 7:57 PM, Knute Johnson wrote:
> I just installed the new 1.7.0_06 with JavaFX 2.2.  JavaFX is part of
> the JDK but after a regular install on Windows XP you still have to set
> the CLASSPATH to compile a program that uses the JavaFX API.  Did I miss
> something or is that the way it is supposed to work?


I think that's normal.  I don't think it would be a good idea, in 
general, for the installer to add everything in the JDK to your regular 
path.  Could mess stuff up good.

I recall I normally have to tell my IDE that JavaFX is a library and 
point the IDE at the javafx.jar file manually for each project.


[toc] | [prev] | [next] | [standalone]


#2059

FromJeff Higgins <jeff@invalid.invalid>
Date2012-08-23 01:30 -0400
Message-ID<k14f5n$vru$1@dont-email.me>
In reply to#2057
On 08/22/2012 10:57 PM, Knute Johnson wrote:
> I just installed the new 1.7.0_06 with JavaFX 2.2.  JavaFX is part of
> the JDK but after a regular install on Windows XP you still have to set
> the CLASSPATH to compile a program that uses the JavaFX API. Did I miss
> something or is that the way it is supposed to work?
>
> Thanks,
>
Looks like with JavaSE9 that should not be necessary;
<http://fxexperience.com/2012/08/javafx-2-2-is-here-and-javafx-8-0-is-on-its-way/>

[toc] | [prev] | [next] | [standalone]


#2062

FromKnute Johnson <nospam@knutejohnson.com>
Date2012-08-23 15:47 -0700
Message-ID<k16bu4$pnv$1@dont-email.me>
In reply to#2057
On 8/22/2012 7:57 PM, Knute Johnson wrote:
> I just installed the new 1.7.0_06 with JavaFX 2.2.  JavaFX is part of
> the JDK but after a regular install on Windows XP you still have to set
> the CLASSPATH to compile a program that uses the JavaFX API.  Did I miss
> something or is that the way it is supposed to work?
>
> Thanks,
>

Thanks guys.

-- 

Knute Johnson

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.help


csiph-web