OpenJFX 1.8 build issues
K, Dhevendran (MSDU)
dk at hp.com
Tue Aug 20 21:54:21 PDT 2013
Hi Anthony
Thanks a lot for your answer.
I also compiled OpenJDK 1.8 source as part of this exercise independently . I did the following to compile OpenJDK 1.8
1. Download OpenJDK 1.8 source and its dependent source
o OpenJDK 1.8 root-source from http://hg.openjdk.java.net/jdk8/jdk8 --> Done
o OpenJDK 1.8 Lang tools Source from http://hg.openjdk.java.net/jdk8/tl/langtools --> Done
o Hotspot 1.8 Source from http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/e437668ced9d --> Done
o Corba 1.8 Source from http://hg.openjdk.java.net/jdk8/jdk8/corba --> Done
o Jaxp 1.8 Source from http://hg.openjdk.java.net/jdk8/jdk8/jaxp --> Done
o Jaxws 1.8 source from http://hg.openjdk.java.net/jdk8/jdk8/jaxws --> Done
o JDK 1.8 source from http://hg.openjdk.java.net/jdk8/jdk8/jdk --> Done
2. JDK 1.8 Build environment is created after installing following on top of Step-2 ==> Build environment for JKD 1.8 compilation is not ready yet as we are not able to find Hotspot the source
o GnuWin32 is installed
3. Building JDK
o Execute the configure for all the all the add-on packages ( such as Corba ,Hotspot … )
• ./configure --with-override-langtools=../langtools/langtools-4300c2f5fb1b --with-override-hotspot=../hotspot/hotspot-e437668ced9d --with-override-corba=../corba/corba-d411c60a8c2f --with-override-jaxp=../jaxp/jaxp-a22fe9bd01e6 --with-override-jaxws=../jaxws/jaxws-42211ab0ab1c --with-override-jdk=../jdk/jdk-f1d8d15bfcb5 > err.txt 2>&1
o Execute build --> This compilation fails with the following error
• Make clean all
## Starting jdk
make[2]: *** No rule to make target `/cygdrive/c/dheva/JavaFX/software/OpenJDK/jdk8-ceefd94ef326/build/windows-x86_64-normal-server-release/corba/dist/lib/classes.jar', needed by `/cygdrive/c/dheva/JavaFX/software/OpenJDK/jdk8-ceefd94ef326/build/windows-x86_64-normal-server-release/jdk/classes/_the.CORBA.classes.imported'. Stop.
make[1]: *** [import-only] Error 2
make: *** [jdk-only] Error 2
At this point, I have few questions
• I am not able to compile OpenJDK 1.8 without the “The optional Packages” [i.e. Jaxws,Jaxp,Corba,Langtools and JDK ].
• In the attempt of compilation of these packages , Class not found error is thrown pointing the respective source folders
Is there any place where I can get more stable OpenJDK 1.8 (with JavaFX 1.8 ) ??
Awaiting for your response
Thanks in Advance
With Warm Regards
Dhevendran K
-----Original Message-----
From: Anthony Petrov [mailto:anthony.petrov at oracle.com]
Sent: Tuesday, August 20, 2013 8:26 PM
To: K, Dhevendran (MSDU)
Cc: openjfx-dev at openjdk.java.net; Thomas, Binoy Samuel (MSDU); Jolapara, Vikram Dhirajlal (MSDU)
Subject: Re: OpenJFX 1.8 build issues
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