JavaFX and JDK 1.7.x? (x=latest minor build as of 5/13)

Good morning.
I was playing around with building a standalone GUI app last night and wanted to test drive JavaFX 2.0 as the tool to build the UI. After reading through the documentation on the download site, I downloaded the JDK version 1.7.x (64 bit) and tried to create a simple main class based on http://docs.oracle.com/javafx/2/get_started/hello_world.htm--but eclipse could not find javafx.application.Application. I made sure that the JDK 1.7 was my target Java and in my build path then decided to try the 32 bit version. I still could not find javafx.application.Application in my build path. So...I downloaded the latest JavaFX package and installed that, pulling in the correct jars (I forget what they are offhand...it was late and FX is new to me) and I could now find javafx.application.Application. My question is this...did they not bundle FX with the jdk as the documentation claims, or was I missing something when I downloaded the installer (for Windows)?
Thank you in advance!
-Chris

My question is this...did they not bundle FX with the jdk as the documentation claims, or was I missing something when I downloaded the installer (for Windows)?JavaFX is bundled with java 7 (post update 6).
JavaFX is not on the classpath for java 7.
JavaFX is on the classpath for java 8.
For eclipse development, development with e(fx)clipse is recommended http://www.efxclipse.org/ - it is smart enough to find out where JavaFX is in a standard Java 7 installation and place it in the classpath so that you don't get class not found exceptions while developing. It can also create deployment bundles which are able to automatically find and place JavaFX on the classpath so that users of your application don't have this issue either.
http://www.efxclipse.org/trac/wiki/Tutorial1 e(fx)clipse getting started tutorial (e.g. an eclipse version of the JavaFX hello world tutorial you mentioned).

Similar Messages

  • JavaFX and JDK 1.6

    Hi
    I am running the JDK 1.6.0_35 and does not want to change for Java7. What is the latest JavaFX version that runs with the JDK 1.6?
    TIAFYA
    FA

    Currently the latest version of JavaFX for Java 6 is JavaFX 2.2.7
    It can be found here:
    http://www.oracle.com/technetwork/java/javafx/downloads/index.html

  • Oracle 8.1.5 and JDK 1.2 Thin Driver

    We are doing some prototyping with Oracle 8.1.5, BEA WebLogic
    6.1, and JDK 1.3. We needed to know what is the latest version
    supported by the oracle thing client drivers for that
    configuration.
    Or are we the only users doing this and is it mandatory that we
    migrate to Oracle 8.1.7?
    Thanks,
    Nikhil Kumar
    Lead Architect
    Delta Dental Plan of Michigan
    [email protected]

    Check out the SQLJ FAQ at:
    http://technet.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html
    "ExceptionInInitializerError: NullPointerException"
    (This is likely a general configuration issue, not something specific to your code.)
    If you see the following stack trace:
    unexpected error occurred... java.lang.ExceptionInInitializerError: java.lang.NullPointerException
    at sqlj.framework.ClassFileReader.attribute_info(Compiled Code) ...
    at sqlj.tools.Sqlj.statusMain(Compiled Code)
    at sqlj.tools.Sqlj.main(Sqlj.java:117)
    then you are likely running SQLJ version 8.1.5 or earlier under JDK 1.2.x or later.
    You need to download the SQLJ 8.1.6 SDK patch, which contains a new translator.zip
    version that you can use to replace the translator.zip from 8.0.5/7.3.4 or from JDeveloper 3.0.
    null

  • What's the difference between Java SE 6 Update 10 RC and JDK 6 Update 7

    I want to download jdk and do some java development. But I saw "Java SE 6 Update 10 RC" and "JDK 6 Update 7" are both there for me to download. I don't know which one should I download. I used to think JDK is Java SE. Can someone explain it to me? Great thanks!

    [Java 6 Update 10|http://java.sun.com/developer/technicalArticles/javase/java6u10/] provides some nice enhancements for deploying Java to the Desktop, a nice new look and feel and some other nice additions.
    Also, JDK 6 Update 7 is the latest, officially released version at the moment. The Update 10 is only a release candidate (that means it is what might become the final Update 10, but can still change).
    For normal development (and especially when you're just starting to learn) there shouldn't be too much difference, so choose whichever you want.

  • JDeveloper 9.0.3 and JDK 1.4.1

    Hi
    I remember that you couldn't use JDeveloper 9.0.2 with Java 1.4 - the menus, buttons, some windows wouldn't appear. In order to build my application with Java 1.4 I had to have both installed on my system: 1.3.1 to run JDeveloper and 1.4.0 to build.
    Just for a test I have installed JDeveloper 9.0.3 and pointed it to JDK 1.4.1. It seems to work. I know that JDeveloper 9.0.3 has been certified with 1.3.1.02 only but it works for me and my servlet application with the latest JDK.
    I wonder if others use 9.0.3 with JDK 1.4.x. If yes - did you run into problems?
    Thanks
    Witold

    I am also having touble with running a JDBC application when I set JDeveloper(9.0.3) to JRE 1.4.1. I get an exception from the "setDate"(not defined in JRE 1.3.1) of the "CallableStatement".
    Actual exception follows:
    "java.lang.AbstractMethodError: oracle.jdbc.driver.OracleCallableStatement.setDate(Ljava/lang/String;Ljava/sql/Date;)V"
    any ideas?
    Thx.

  • JDev 2 and JDK 1.2.2

    How do I add JDK 1.2.2 as an option for JDev to use? I didn't find it in the JDev help? Did I miss it?

    Company policy prevents me from download JDev 3 from the net. To order it, will take months. And Oracle for the sequent comes out way behind other platforms, so I cann't take avantage of JDev3's latest features.
    So Can i just install JDK 1.2.2 and jdk 1.3 and use the "Define" button to include them in the list?

  • Possible to install xMII 11.5 on machine with JDK 1.4 and JDK 1.5?

    I'm trying to setup a demo of xMII 11.5 (SR1) on my laptop which has both JDK 1.4.2_07 and JDK 1.5.0_09.  The installation fails saying that xMII 11.5 is not compatible with JDK 1.5.  Is there any way to get the installer to see the JDK 1.4.2 installation without having to uninstall JDK 1.5?  Removing JDK 1.5 is not an option.
    Thanks,
    -tim

    Hi, Tim.
    With latest service release and hot fixes, yes.  Also be sure to get the latest JDK 1.5.0_10 (there was a nasty memory leak with early JDK/JRE's related to server-side image rendering).
    <NOT_SUPPORTED>
    Heck, I even have it running on JDK 6.0
    </NOT_SUPPORTED>
    - Rick

  • Problems Receiving Emails and some data on WIFI since latest software update.

    Problems Receiving Emails and some data on WIFI since latest software update. 
    My blackberry torch will not receive emails on wifi since the latest software update, I've tried numerous wifi networks and several handsets, even had them replaced and received a brand new. Still the same problem. 
    When turning off the wifi network on the torch, the phone will stall for 5-10min while it tries to communicate with the network (vodafone) to receive outstanding emails and data. 
    Can someone please inform Blackberry and get a quick fix on this

    Sounds like you have Do NOt Disturb turned on.
    settings - do not disturb - off

  • I recently updated my iPhone to IOS 8 and it said I need the latest version of iTunes to sync and back up however my computer won't allow it what do I do !??  Anything helps!!!

    I recently updated my iPhone to IOS 8 and it said I need the latest version of iTunes to sync and back up however my computer won't allow it what do I do !??  Anything helps!!!

    If it's in recovery mode, the data is already gone. Why did you never back up your important data?

  • Can someone please assist me. I was given an iPod 3G as a gift and I tried to download various apps and it told me that my iPod needs to be iOS 7 or more but I checked and my iPod is at its latest upgrade which is 6.1.6, how can I get those app?

    Can someone please assist me. I was given an iPod 3G as a gift and I tried to download various apps and it told me that my iPod needs to be iOS 7 or more but I checked and my iPod is at its latest upgrade which is 6.1.6, how can I get those app?

    See a a version compable with your iPod is available:
    Starting when iOS 7 was released, Apple now allows downloading the last compatible version of some apps (iOS 4.2.1 and later only)
    App Store: Downloading Older Versions of Apps on iOS - Apple Club
    App Store: Install the latest compatible version of an app
    You first have to download the non-compatible version on your computer. Then when you try to purchase the version on your iPod you will be offered a compatible version if one exists.
    Also, if you have iOS 6.1.6 yo have a 4G (has cameras). A 3G does not have cameras and can only go to 5.1.1

  • I'm using windows 8 on my pc, and i have just downloaded the latest version of itunes, after i upgraded the latest version of itunes, it can't detect my iphone, but my windows/my pc does. Anyone knows how to solve this problem?

    I'm using windows 8 on my pc, and i have just downloaded the latest version of itunes, after i upgraded the latest version of itunes, it can't detect my iphone, but my windows/my pc does. Anyone knows how to solve this problem?

    Hi jstutsman,
    If you are having issues with your iPod nano not being recognized in iTunes after a recent update, you may find the steps and links listed in the following article helpful:
    iPod not appearing in iTunes - Apple Support
    Regards,
    - Brenden

  • I have a 4S and just tried updating to the latest iOS version and my phone went into recovery mode and iTunes says I need to restore to factory settings. Anyone know how I can fix my phone without losing all my content?

    I have a 4S and just tried updating to the latest iOS version and my phone went into recovery mode and iTunes says I need to restore to factory settings. Anyone know how I can fix my phone without losing all my content?

    You would only be able to restore to a backup to iCloud or iTunes:
    Restore from Backup
    Cheers,
    GB

  • I forgot the passcode to turn off restrictions. I have restored my iPad back to the factory settings and then synced it with the latest backup. The restrictions are still on and it is asking for the passcode. Can someone tell me how to get that off.

    I forgot the passcode to turn off restrictions. I have restored my iPad back to the factory settings and then synced it with the latest backup. The restrictions are still on and it is asking for the passcode. Can someone tell me how to get that off.

    The only option is to wipe the device clean and restore it to factory settings.  Hope you have a backup.
    Follow the instructions in  iOS: How to back up your data and set up your device as a new device http://support.apple.com/kb/HT4137 to restore the device to factory settings.
    Once you have setup the device as a new one, you can then sync it back with your iTunes account and all your music, apps, contacts and any other content sync'ed with iTunes will be loaded on the device. Any content that is stored only on the device and not sync'ed with iTunes, like app logins or data, will be lost during this process. Be forewarned that this is a long process and can take a couple of hours or more to complete. This can be painful, but it is necessarily so to prevent users from working around the security settings. After the restore is complete, you can setup a new Restrictions passcode. Make a note of the passcode to avoid this situation in future.
     Cheers, Tom

  • HT201343 I bought my macbook pro on August 2011 at an apple store, with the Intel i7. However mirrorring in not working with two of my Apple TVs. These Apple TVs are 2nd and third generation loaded with the latest software. Can someone help?

    I bought my macbook pro on August 2011 at an apple store, with the Intel i7. However mirrorring in not working with two of my Apple TVs. These Apple TVs are 2nd and 3rd generation loaded with the latest software. I can succesfully transmit from my itunes on my Macbook pro to both Apple TVs, but I can not see the airplay icon on the taskbar. Can someone help?

    About AirPlay and Airplay Mirroring
    AirPlay Mirroring requires a second-generation Apple TV or later, and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). For non-qualifying Macs you can try using Air Parrot.
    Several Apple Articles Regarding AirPlay
    Apple TV (2nd and 3rd gen)- How to use AirPlay Mirroring
    How to set up and configure AirPort Express for AirPlay and iTunes
    About AirPlay Mirroring in OS X Mountain Lion
    iTunes 10- About playing music with AirPlay
    Troubleshooting AirPlay and AirPlay Mirroring
    Using AirPlay

  • Embedded CFF font not working in TLF in latest stable build and higher (4.0.0.13875)

    Hi there,
    We are using embedded fonts with the TLF framework and since upgrading to the latest nightly build or the stable build, it stopped working. Here is a short example:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="1024" minHeight="768" xmlns:mx1="library://ns.adobe.com/flex/halo">
         <fx:Style>
              @font-face {
                   embedAsCFF: true;
                   fontFamily: "Courier";
                   src: url("COURIER.otf");
                   advancedAntiAliasing: true;
                   fontStyle: normal;
                   fontWeight: normal;
         </fx:Style>
         <fx:Declarations>
              <s:TextFlow id="tf" fontSize="20">
                   <s:p fontFamily="Courier" fontLookup="embeddedCFF">hallo is dit courier?</s:p>
                   <s:p>hallo is dit courier?</s:p>
              </s:TextFlow>
         </fx:Declarations>
         <s:VGroup>
              <s:RichEditableText textFlow="{tf}" />
         </s:VGroup>
    </s:Application>
    Any idea why it doesn't work anymore. The same example works fine compiling with build; 4.0.0.11686.
    Thanks,
    marcel panse

    Hi Guys,
    I sort of figured out a figured out a solution/workaround:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="1024" minHeight="768" xmlns:mx1="library://ns.adobe.com/flex/halo"
                      creationComplete="onCreationComplete()">
         <fx:Style>
              @font-face {
                   embedAsCFF: true;
                   fontFamily: CourierCFF;
                   src: url(c:/windows/fonts/COUR.ttf);
                   fontStyle: normal;
                   fontWeight: normal;
         </fx:Style>
         <fx:Script>
              <![CDATA[
                   import flashx.textLayout.compose.ISWFContext;
                   import flashx.textLayout.formats.ITextLayoutFormat;
                   import flashx.textLayout.elements.GlobalSettings;
                   import flash.text.engine.FontLookup;
                   import flash.text.engine.RenderingMode;
                   import flashx.textLayout.elements.TextFlow;
                   import flashx.textLayout.elements.SpanElement;
                   import flashx.textLayout.elements.ParagraphElement;
                   import flashx.textLayout.container.ContainerController;
                   import flashx.textLayout.formats.TextLayoutFormat;
                   import flashx.textLayout.elements.Configuration;
                   import flashx.textLayout.compose.IFlowComposer;
                   import flash.text.engine.FontLookup;
                   use namespace mx_internal;
                   private function onCreationComplete():void {
                        createTextFlow();
                   private function createTextFlow():TextFlow {
                        var config:Configuration = new Configuration();
                        var textLayoutFormat:TextLayoutFormat = new TextLayoutFormat();
                        textLayoutFormat.fontFamily = "CourierCFF";
                        textLayoutFormat.fontLookup = FontLookup.EMBEDDED_CFF;
                        textLayoutFormat.renderingMode = RenderingMode.CFF;
                        config.textFlowInitialFormat = textLayoutFormat;
                        var textFlow:TextFlow = new TextFlow(config);
                        var p:ParagraphElement = new ParagraphElement();
                        var span:SpanElement = new SpanElement();
                        span.text = "Is dit courier?";
                        p.addChild(span);
                        textFlow.addChild(p);
                        var flowComposer:IFlowComposer = textFlow.flowComposer;
                        //option 1: This fixes the problem, but i'm not sure why it works without a fontLookupFunction? Does it default to embedded?
                        //you could also specify your own function always returning embedded, but that would just resolve to the same behaviour..
                        GlobalSettings.resolveFontLookupFunction = null;
                        //option 2: I guess this is the more proper solution, specifying the swfContext. Only what context to choose?
                        //every font has its own css/swf and thus context. A paragraph can select a font (and the bold/italic options),
                        //which font to choose here if there are multiple fonts used in the textflow?
                        textFlow.flowComposer.swfContext = ISWFContext(this.getFontContext("CourierCFF", false, false, FontLookup.EMBEDDED_CFF));
                        var cc:ContainerController = new ContainerController( mainText, 200, 200 );
                        flowComposer.addController( cc );
                        flowComposer.updateAllControllers();
                        return textFlow;
              ]]>
         </fx:Script>
         <s:VGroup>
              <s:NumericStepper /> <!-- remove this stepper and the embedded font will work without option 1 or 2 -->
              <mx:UIComponent id="mainText"/>
         </s:VGroup>
    </s:Application>
    Option 1, setting GlobalSettings.resolveFontLookupFunction to null. Fixes the problem, but i'm not sure why it works without a fontLookupFunction? Does it default to embedded? You could also specify your own function always returning embedded, but that would just resolve to the same behaviour..
    Option 2, specify the context: I guess this is the more proper solution, specifying the swfContext. Only what context to choose? Every font has its own css/swf and thus context. A paragraph can select a font (and the bold/italic options), which font to choose here if there are multiple fonts used in the textflow?

Maybe you are looking for

  • Transferring music from iphone 3gs to iphone 4s

    how do i transfer music from iphone 3gs to iphone 4s?

  • CRM 2007 Pricing based on settlement period of billing plan

    Hi, I need the ability to have disocunts on a service contract based on the settlement period of the billing plan. A contract list price is 12 GBP per month. If the customer want to bill monthly no doscount will be applied. If the customer wants to b

  • WRT160N cable modem slowing down

    Hello I am going from ADSL to cable internet and got a docsys 3 - Touchstone TM702 modem. When i connect my PC directly to the modem no problem. I get 100% bandwidth. When i connect the router in between I get this result Here im downloading at full

  • I cannot open a file saved in CS6 Illustrator in CC

    the error message says "could not read the file because the plug-in could not understand this file"

  • Found WAY to RETRIEVE MUSIC from IPOD!

    I was working one day when my computer crashed. I thought I lost everything. But then I fooled around with my computer a little bit. I found a Way to RETRIEVE my MUSIC back! I will tell you how I did it through these easy steps...>>> (I have Windows