Supported platforms for FX [WAS: Re: OpenJFX 1.8 build issues]

Anthony Petrov anthony.petrov at oracle.com
Wed Aug 28 11:50:01 PDT 2013


You're welcome, Dhevendran.

Thank you for the clarification on the Swing vs. FX choice. So, it's 
clearly not the certified/not certified issue, but rather some technical 
and temporary *) licensing issues. I understand that, and your choice 
looks reasonable now.


*) temporary - until the FX media bits are open-sourced.

--
best regards,
Anthony

On 08/28/2013 07:16 PM, K, Dhevendran (MSDU) wrote:
> Hi Anthony
> Thanks a lot your continuous help provided for JDK 1.8 compilation.
> The following are the challenges we have to use JFX on our Application
> supported platforms
>
>  1. Our application needs to be supported on  RHEL 5.x ( This can’t be
>     ruled out )
>
>   * JavaFX on RHEL 5.x depends on  gtk2-2.18.3-21.17.i386.rpm which
>     in-turn depends on the following libraries
>
>          atk >= 1.13.0-1 is needed by gtk2-2.18.3-21.17.i386
>          glib2 >= 2.23.4-1 is needed by gtk2-2.18.3-21.17.i386
>          libXcomposite.so.1 is needed by gtk2-2.18.3-21.17.i386
>          libXrandr >= 1.2.2-1 is needed by gtk2-2.18.3-21.17.i386
>          libgio-2.0.so.0 is needed by gtk2-2.18.3-21.17.i386
>          libjasper.so.1 is needed by gtk2-2.18.3-21.17.i386
>          pango >= 1.27.1-1 is needed by gtk2-2.18.3-21.17.i386
>
>   * One of the above mentioned native libraries needs *libc.so*
>     upgrading to the  higher version
>   * As *libc.so* is tightly tied with many of the Linux applications, we
>     can’t suggest/recommend to upgrade */libc.so/* in the customer machine
>
>  2. We are limited to use OpenJFX on OpenJDK for our application. We are
>     not able to successfully compile (so far ) Open JFX on OpenJDK 1.8
>     on Windows (Note:-  This is the first OS platform attempted )
>  3. OpenJDK certification does not claim RHEL ( despite you have clearly
>     told me that this will work equally well in RHEL ), we are little
>     skeptical on the behavior as nobody knowingly used so far.
>  4. As we limited to use Open Source (and also Open JFX  is open source
>     only on Open JDK 1.8  onwards without binary distribution  as of
>     today), we need to compile the same on all our supported platforms .
>     We are not through with JFX compilation (so far) on Windows
>
> When we do POC using */Swing/* with */OpenJDK 1.7/* (binary distribution
> ), it went well (i.e.  we did not face any issue such as RHEL 5.x native
> library dependency / need to upgrade )
> This is the reason why we chose Swing.  However, we liked JFX over Swing
> due to its richens.
> I would like to thank Anthony once again for his timely & quick support
> to resolve OpenJDK 1.8 build issues.
> Thanks & Regards
> Dhevendran K
> -----Original Message-----
> From: Anthony Petrov [mailto:anthony.petrov at oracle.com]
> Sent: Wednesday, August 28, 2013 1:38 PM
> To: K, Dhevendran (MSDU)
> Cc: Mani Sarkar; Ben Evans; Erik Joelsson; Thomas, Binoy Samuel (MSDU);
> openjfx-dev at openjdk.java.net; Jolapara, Vikram Dhirajlal (MSDU)
> Subject: Supported platforms for FX [WAS: Re: OpenJFX 1.8 build issues]
> Hi Dhevendran,
>> decided to use Java Swing as JXF is not supported/certified in Redhat
>> 5.x
> Swing is equally not certified for Redhat 5.x. Please refer to
> http://www.java.com/en/download/help/sysreq.xml
> (requirements for 8 might slightly change, but no major changes are
> expected).
> As I've already said previously, there's no reasons for Swing or FX to
> not work on any other Linux distribution. If you ultimately require a
> certified support, you just have to use Oracle Linux *only* - no matter
> if you choose to use Swing or FX.
> So I don't really understand your decision. Both Swing and FX are
> absolutely equal wrt. officially supported platforms list, and they are
> also absolutely equal wrt. where they should just work, even if the
> platforms aren't certified officially.
> --
> best regards,
> Anthony
> On 08/28/2013 07:40 AM, K, Dhevendran (MSDU) wrote:
>> Hi Mani
>>
>> This particular issue is resolved ( After compiling FREETYPE2 libraries
>> ). Thanks for your help. Now, we have new issues.
>>
>> Now, we have decided to use Java Swing as JXF is not supported/certified
>> in Redhat 5.x
>>
>> *Thanks & Regards*
>>
>> *Dhevendran K*
>>
>> **
>>
>> *From:*Mani Sarkar [mailto:sadhak001 at gmail.com]
>> *Sent:* Wednesday, August 28, 2013 4:30 AM
>> *To:* K, Dhevendran (MSDU)
>> *Cc:* Ben Evans; Erik Joelsson; Anthony Petrov; Thomas, Binoy Samuel
>> (MSDU);openjfx-dev at openjdk.java.net <mailto:openjfx-dev at openjdk.java.net>;
> Jolapara, Vikram Dhirajlal (MSDU)
>> *Subject:* Re: OpenJFX 1.8 build issues
>>
>> Hi Dhevendran,
>>
>> Thanks for sending me the log files. DId you get a chance to look at our
>> build instructions on the java.net <http://java.net> wiki (pls do
>> confirm in your return mail):
>>
>> Get Source (Windows):
>>https://java.net/projects/adoptopenjdk/pages/GetSource#MS_Windows
>>
>> Build:https://java.net/projects/adoptopenjdk/pages/Build
>>
>> The FreeType2 aspect of the installation instructions are to be found here:
>>
>>https://java.net/projects/adoptopenjdk/pages/BuildWindows#Download_the_Freetype2_project
>>
>> I'm writing to you after looking at the log files - not in great detail
>> but just the key points around freetype2.
>>
>> I also found another link that points to the same problem as yourself:
>>
>>http://mail.openjdk.java.net/pipermail/build-dev/2012-February/005608.html
>>
>> Have you also find out the value in the variable FREETYPE2_LIB_PATH as
>> mentioned by David and Erik from the OpenJDK mailing list?
>>
>> Let me know if you have already managed to resolve this issue?
>>
>> Cheers,
>>
>> mani
>>
>> On Fri, Aug 23, 2013 at 6:22 AM, K, Dhevendran (MSDU) <dk at hp.com
>> <mailto:dk at hp.com>> wrote:
>>
>> Hi  Mani & Ben
>>
>> I have progressed to an level with help of Anthony. Now, I am facing new
>> compilation issues
>>
>> /usr/bin/cp -fP '/cygdrive/c/r/jdk/src/share/lib/cmm/lcms/sRGB.pf'
>> '/cygdrive/c/r/build/windows-x86_64-normal-server-release/jdk/lib/cmm/sRGB.pf'
>>
>> /usr/bin/chmod 444
>> /cygdrive/c/r/build/windows-x86_64-normal-server-release/jdk/lib/cmm/sRGB.pf
>>
>> make[2]: *** No rule to make target `/freetype.dll', needed by
>> `/cygdrive/c/r/build/windows-x86_64-normal-server-release/jdk/bin/freetype.dll'.
>> Stop.
>>
>> make[2]: Leaving directory `/cygdrive/c/r/jdk/makefiles'
>>
>> make[1]: *** [libs-only] Error 2
>>
>> make[1]: Leaving directory `/cygdrive/c/r/jdk/makefiles'
>>
>> make: *** [jdk-only] Error 2
>>
>> Let me know whether I am missing something here
>>
>> *Thanks in Advance*
>>
>> *With Warm Regards,*
>>
>> *Dhevendran K*
>>
>> *From:*Mani Sarkar [mailto:sadhak001 at gmail.com]
>> *Sent:* Friday, August 23, 2013 1:00 AM
>> *To:* Ben Evans
>> *Cc:* K, Dhevendran (MSDU); Anthony Petrov; Thomas, Binoy Samuel (MSDU);
>>openjfx-dev at openjdk.java.net <mailto:openjfx-dev at openjdk.java.net>
> <mailto:openjfx-dev at openjdk.java.net>;
>> Jolapara, Vikram Dhirajlal (MSDU)
>>
>>
>> *Subject:* Re: OpenJFX 1.8 build issues
>>
>> Hi Dhevendran,
>>
>> Have a look at the steps we outlined for building the OpenJDK on
>> Windows, as you go through them you will see there are sections for the
>> Windows OS for each of the sub-steps.
>>
>>https://java.net/projects/adoptopenjdk/pages/AdoptOpenJDKBuildInstructions#Manual
>> <https://java.net/projects/adoptopenjdk/pages/AdoptOpenJDKBuildInstructions>
>>
>> The steps we have outlined download the sources automatically via a
>> shell script rather than the manual downloads you have attempted to do
>> (I hope I got that right). It would be great to know if you can
>> integrate your experience with the instructions on the above link.
>>
>> Please give these instructions a swirl and get back to us. If you find
>> solutions to issues, we would love to bring that back into the wiki.
>>
>> Cheers,
>>
>> mani
>>
>> On Thu, Aug 22, 2013 at 11:44 AM, Ben Evans
>> <benjamin.john.evans at gmail.com <mailto:benjamin.john.evans at gmail.com
> <mailto:benjamin.john.evans at gmail.com
> <mailto:benjamin.john.evans at gmail.com>>>
>> wrote:
>>
>> Hi Dhevendran,
>>
>> In the AdoptOpenJDK project (https://java.net/projects/adoptopenjdk/) we
>> have build instructions for Windows.
>>
>> One of our community, Mani Sarkar, compared your build instructions with
>> ours & noticed some problems.
>>
>> I've copied Mani - he can explain further if you're still having problems.
>>
>> Thanks,
>>
>> Ben
>>
>> --
>> *Twitter:* @theNeomatrix369 *Blog:*http://neomatrix369.wordpress.com
>>
>> *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs)
>>
>> *Meet-a-Project:*https://github.com/MutabilityDetector
>>
>> *Bitbucket:*https://bitbucket.org/neomatrix369***Github:*https://github.com/neomatrix369
>>
>> *LinkedIn:*http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b
>>
>> *Devoxx UK 2013* was a grand success:
>>http://www.devoxx.com/display/UK13/Home
>>
>> */Don't chase success, rather aim for "Excellence", and success will
>> come chasing after you!/*
>>
>>
>>
>> --
>> *Twitter:* @theNeomatrix369 *Blog:*http://neomatrix369.wordpress.com
>>
>> *JUG activity:* LJC Advocate (@adoptopenjdk & @adoptajsr programs)
>>
>> *Meet-a-Project:*https://github.com/MutabilityDetector
>>
>> *Bitbucket:*https://bitbucket.org/neomatrix369***Github:*https://github.com/neomatrix369
>>
>> *LinkedIn:*http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b
>>
>> *Devoxx UK 2013* was a grand success:
>>http://www.devoxx.com/display/UK13/Home
>>
>> */Don't chase success, rather aim for "Excellence", and success will
>> come chasing after you!/*
>>


More information about the openjfx-dev mailing list