Building from source code

Mark Claassen markclaassenx at gmail.com
Thu Oct 18 07:26:58 PDT 2012


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