OpenJFX 1.8 build issues
Anthony Petrov
anthony.petrov at oracle.com
Tue Aug 20 07:55:55 PDT 2013
Hi Dhevendran,
This is a mismatch of sources between JDK and FX. Try either cloning a
fresh copy of the FX repo (it's best to always clone both FX and JDK at
the same time, actually), or building with an older JDK build.
--
best regards,
Anthony
On 08/20/2013 06:26 PM, K, Dhevendran (MSDU) wrote:
> Hi
>
> I am facing some issue while building OpenJFX 1.8. The link https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX is followed to build on windows. The following steps are perfumed
>
>
> 1. Download the source from : http://hg.openjdk.java.net/openjfx/8/graphics/rt --> Done
>
> o The OpenJFX Code is change verify frequently at this site
>
>
>
> 2. Build environment for OpenJFX is created after doing the following installation ( This is the as per the doc ) --> Done
>
> o Cygwin is installed
>
> o DirectX SDK June 2010 is installed
>
> o Microsoft Visual Studio 10 is installed
>
> o Gradle v1.4<http://services.gradle.org/distributions/gradle-1.4-all.zip> is installed
>
>
>
> 3. Building with Oracle JDK 1.8 binary distribution ==> Build went through with some failure with the following message . However, the jfxrt.jar is created !!
>
>
> ============================================================================================
> :swing:compileJava
> [ant:javac] C:\dheva\JavaFX\software\OpenJavaFX_SRC\rt-3268003fe9c0\rt-3268003fe9c0\modules\swing\src\main\java\javafx\embed\swing\SwingNode.java:496: error: SwingNode.SwingNodeContent is not abstract and does not override abstract method minimumSizeChanged(int,int) in LightweightContent
> [ant:javac] private class SwingNodeContent implements LightweightContent {
> [ant:javac] ^
> [ant:javac] Note: C:\dheva\JavaFX\software\OpenJavaFX_SRC\rt-3268003fe9c0\rt-3268003fe9c0\modules\swing\src\main\java\javafx\embed\swing\SwingNode.java uses or overrides a deprecated API.
> [ant:javac] Note: Recompile with -Xlint:deprecation for details.
> [ant:javac] 1 error
> :swing:compileJava FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':swing:compileJava'.
>> Compile failed; see the compiler error output for details.
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
>
> BUILD FAILED
> ============================================================================================
>
> Please let me know whether I am doing some fundamental mistake. Please help me
>
>
> Thanks in Advanve
>
> With Warm Regards,
> Dhevendran K
>
>
More information about the openjfx-dev
mailing list