<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JavaFX 13 and Eclipse in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/12169118#M1978854</link>
    <description>&lt;P&gt;Hi Yannic, &lt;/P&gt;&lt;P&gt;Great stuff the first option was the simplest and worked. For what it's worth, I didn't specifically go after the latest Java. 13.0.2 is what macOS Catalina refers to by default - when you first attempt to use Java it sends you to Oracle's download page for it.&lt;/P&gt;&lt;P&gt;To make it easier for anyone else, here are my edits: &lt;/P&gt;&lt;P&gt;eclipse.ini is located in &lt;/P&gt;&lt;P&gt;/Applications/Eclipse.app/Contents/Eclipse&lt;/P&gt;&lt;P&gt;It can be edited from the command line, but for those not comfortable with it, one can also right-click on the Eclipse app and select 'Show Package Contents' to open it via Finder.&lt;/P&gt;&lt;P&gt;I added the two lines before -vmargs: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;-vm
/Applications/SAP Clients/SAPGUI/SAPGUI.app/Contents/Resources/jre/Contents/Home/bin
-vmargs
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2020 10:33:29 GMT</pubDate>
    <dc:creator>pokrakam</dc:creator>
    <dc:date>2020-01-22T10:33:29Z</dc:date>
    <item>
      <title>JavaFX 13 and Eclipse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/12169116#M1978852</link>
      <description>&lt;P&gt;I have done a clean install of macOS Catalina and installed the latest Java SE 13 and JavaGUI, and Eclipse. &lt;/P&gt;
  &lt;P&gt;SAPGUI works fine on it's own. Eclipse also works, I can do any ADT-Native stuff. But when Eclipse tries to open a SAPGUI tab I get an error &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;The system reqirements are not met.
Could not find: javafx.properties
in: /Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/lib
Your Java Virtual Machine seems not to support JavaFX, required to run the SAP
GUI for Java 7.50 rev 8.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;This is the same issue as already described here: &lt;A href="https://answers.sap.com/questions/787056/javafx-11-and-eclipse-issue.html" target="test_blank"&gt;https://answers.sap.com/questions/787056/javafx-11-and-eclipse-issue.html&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;But when I apply the same solution Eclipse doesn't start. Running it from a terminal I can see the reason:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;% ./eclipse                                                     
Error occurred during initialization of boot layer
java.lang.LayerInstantiationException: Package jdk.internal.jimage.decompressor in both module jrt.fs and module java.base
%&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;The path I added was the javafx in the SAPGUI installation, because it is the only one on my entire system:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;% find /System/Volumes/Data -name javafx.properties 2&amp;gt; /dev/null
/System/Volumes/Data/Applications/SAP Clients/SAPGUI 7.50rev8/SAPGUI 7.50rev8.app/Contents/Resources/jre/Contents/Home/lib/javafx.properties
%&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 15:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/12169116#M1978852</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2020-01-20T15:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: JavaFX 13 and Eclipse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/12169117#M1978853</link>
      <description>&lt;P&gt;Unfortunately this constellation is not possible. The SAP GUI (Java GUI) installation includes a complete JRE incl. JavaFX. This leads to issues while using this specific JavaFX version in ADT, that is based on a different JDK.&lt;/P&gt;&lt;P&gt;So, you have two options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use the included JRE incl. JavaFX of the SAP GUI for ADT:&lt;BR /&gt;Therefore you have to adjust / add the -vm parameter inside the eclipse.ini.&lt;BR /&gt;Add the -vm right before the -vmargs. (The described arguments in the mentioned issue are not necessary for this solution): &lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;-vm
&amp;lt;path_to_jre_bin_of_SAPGUI&amp;gt;
-vmargs
...&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Download and refer a matching JavaFX version: &lt;BR /&gt;You are using a JDK with the version 13.0.2. Therefore you need a matching JavaFX installation. You can download it here: &lt;A href="https://openjfx.io/"&gt;&lt;/A&gt;&lt;A href="https://openjfx.io/" target="test_blank"&gt;https://openjfx.io/&lt;/A&gt;&lt;BR /&gt;Refer to it in the eclipse.ini as described in the mentioned issue, but also add the following argument:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;--add-modules=ALL-MODULE-PATH
--module-path=&amp;lt;path_to_lib_folder_of_JavaFX&amp;gt;
--add-exports=javafx.web/com.sun.webkit.dom=ALL-UNNAMED&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;On side note: Currently, ADT is not official supporting Java 13. We are not expecting any issues, but we cannot guarantee a bug-free usage.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Yannic&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 12:07:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/12169117#M1978853</guid>
      <dc:creator>ysoethoff</dc:creator>
      <dc:date>2020-01-21T12:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: JavaFX 13 and Eclipse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/12169118#M1978854</link>
      <description>&lt;P&gt;Hi Yannic, &lt;/P&gt;&lt;P&gt;Great stuff the first option was the simplest and worked. For what it's worth, I didn't specifically go after the latest Java. 13.0.2 is what macOS Catalina refers to by default - when you first attempt to use Java it sends you to Oracle's download page for it.&lt;/P&gt;&lt;P&gt;To make it easier for anyone else, here are my edits: &lt;/P&gt;&lt;P&gt;eclipse.ini is located in &lt;/P&gt;&lt;P&gt;/Applications/Eclipse.app/Contents/Eclipse&lt;/P&gt;&lt;P&gt;It can be edited from the command line, but for those not comfortable with it, one can also right-click on the Eclipse app and select 'Show Package Contents' to open it via Finder.&lt;/P&gt;&lt;P&gt;I added the two lines before -vmargs: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;-vm
/Applications/SAP Clients/SAPGUI/SAPGUI.app/Contents/Resources/jre/Contents/Home/bin
-vmargs
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 10:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/12169118#M1978854</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2020-01-22T10:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: JavaFX 13 and Eclipse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/12169119#M1978855</link>
      <description>&lt;P&gt;This worked for me (Big Sur)&lt;/P&gt;&lt;P&gt;adding -vm is not necessary, in my case it didn't even run eclipse&lt;/P&gt;&lt;P&gt;this should be path to javafx.properties, not just javafx&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;--module-path=&amp;lt;path_to_lib_folder_of_JavaFX&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;so in my case:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;--module-path=/Library/Java/JavaVirtualMachines/javafx-sdk-11.0.2/lib&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jan 2021 07:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/12169119#M1978855</guid>
      <dc:creator>svolik</dc:creator>
      <dc:date>2021-01-20T07:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: JavaFX 13 and Eclipse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/13588090#M2026314</link>
      <description>&lt;P&gt;Update Information for Mac OS&amp;nbsp;14.3 (23D56).&lt;BR /&gt;---&lt;BR /&gt;With Java version 20, I&amp;nbsp;added the JAVAFX&amp;nbsp;&lt;SPAN&gt;21.0.2 for&amp;nbsp;aarch64 in&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;/Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home/lib/javafx-sdk-21.0.2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I added in that .zshrc:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;export PATH_TO_FX=/Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home/lib/javafx-sdk-21.0.2/lib&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that, I tested successfully with&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;java --module-path $PATH_TO_FX --add-modules javafx.controls HelloFX&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2024-01-30_17-49-20.jpg" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/56662i17FB62151B241E38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2024-01-30_17-49-20.jpg" alt="2024-01-30_17-49-20.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;... and add finally in ecplipse.ini&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;-vmargs
[...]something else[...]
--add-modules=ALL-MODULE-PATH
--module-path=/Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home/lib/javafx-sdk-21.0.2/lib
--add-exports=javafx.web/com.sun.webkit.dom=ALL-UNNAMED&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx for previous information.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 22:53:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/javafx-13-and-eclipse/m-p/13588090#M2026314</guid>
      <dc:creator>martin_grellmann</dc:creator>
      <dc:date>2024-01-30T22:53:55Z</dc:date>
    </item>
  </channel>
</rss>

