Building from source code

Kevin Rushforth kevin.rushforth at oracle.com
Thu Oct 18 08:38:38 PDT 2012


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 JFXRT_HOME 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]
>>>>
>>>>
>>>>         
>
>
>
>   


More information about the openjfx-dev mailing list