Building from source code (original) (raw)
Kevin Rushforth kevin.rushforth at oracle.com
Thu Oct 18 08:38:38 PDT 2012
- Previous message: Building from source code
- Next message: JavaFX for the Enterprise - Working Group
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Yes, if you use FX 8, you need the jfxrt.jar from JDK8. Most developers should just use this.
The JDK 7u10 / FX 2.2.4 release will soon be renamed to 7u12 / 2.2.6. If you download the latest EA build of jdk7u it will contain the corresponding FX bits (which today will be 7u10-b09).
-- Kevin
Danno Ferrin wrote:
If you are going to be playing with Java 8, use the JavaFX 8 repos, the 2.1 repos don't play well with Java 8
http://hg.openjdk.java.net/openjfx/8/master http://hg.openjdk.java.net/openjfx/8/master/rt If you are using a current Java 7, use the 2.2 or 2.2.4 builds (7u9 or 7u10ea respectively). http://hg.openjdk.java.net/openjfx/2.2/master http://hg.openjdk.java.net/openjfx/2.2/master/rt http://hg.openjdk.java.net/openjfx/2.2.4/master http://hg.openjdk.java.net/openjfx/2.2.4/master/rt I may be wrong on 2.2.4, did that version number get bumped with the 7u7 patch? On Thu, Oct 18, 2012 at 8:26 AM, Mark Claassen <markclaassenx at gmail.com>wrote:
Thanks for the quick reply. Just to recap: I have JDK 7 on my machine. It sounds like I should be using JDK8 to play with the FX sources (which are for FX8?) Is this more what I should be doing? - *Download the latest JavaFX Developer Preview binary<http://www.oracle.com/technetwork/java/javafx/downloads/index.html> * - Replace with Download JDK8 - Unzip the binary and put it in ~/closed-jfx - mkdir -p ~/open-jfx - cd ~/open-jfx - hg clone http://hg.openjdk.java.net/openjfx/2.1/master - cd master - mkdir -p artifacts/sdk/rt - cp -r ~/closed-jfx/javafx-sdk2.1.0-beta/rt artifacts/sdk - *Replace with cp the jfxrt.jar from JDK8 to articacts/sdk * - hg clone http://hg.openjdk.java.net/openjfx/2.1/master/rt - cd rt - Edit build-defs.xml (comment out '<propertycopy_ _name="javac.debuglevel" from="${ant.project.name}.javac.debuglevel"_ _silent="true" override="true"/>') - cd javafx-ui-controls - ant
On Thu, Oct 18, 2012 at 10:03 AM, Kevin Rushforth <_ _kevin.rushforth at oracle.com> wrote: We need to update the instructions, but basically all you need is a way to locate the jfxrt.jar that matches the openjfx version you are trying to build. For FX 8, you need to download the EA version of JDK8 at: http://jdk8.java.net/download.**html <http://jdk8.java.net/download.html_ _You can use JDK7 to build openjfx...just point your JFXRTHOME env_ _variable to the JDK8 jre/lib directory._ _-- Kevin_ _Mark Claassen wrote:_ _I was trying to go through the process of downloading the source code,_ _and_ _it seems the directions are a bit out of date._ _The specific issue is with the developer preview binary. The_ _instructions_ _say to download it and unzip it._ _The download link (_ _http://www.oracle.com/**technetwork/java/javafx/**downloads/index.html<_ _http://www.oracle.com/technetwork/java/javafx/downloads/index.html>), goes to a page where there is nothing that can be downloaded and "unzipped". Can I use the JDK7 install I already have? Or do I need to find something else? Thanks, Mark http://openjdk.java.net/**projects/openjfx/getting-**started.html< http://openjdk.java.net/projects/openjfx/getting-started.html> - Download the latest JavaFX Developer Preview binary<http://www.oracle.com/technetwork/java/javafx/_ _downloads/index.html<_ _http://www.oracle.com/technetwork/java/javafx/downloads/index.html> - Unzip the binary and put it in ~/closed-jfx - [snip]
- Previous message: Building from source code
- Next message: JavaFX for the Enterprise - Working Group
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]