ksa
ksa

Reputation: 23

Which <groupId> to mention for ant-javafx.jar & jfxrt.jar dependency in POM.xml while migrating from Oracle to Zulu Azul Open JDK 1.8 (8.0.302) ?)

I am working on Windows Desktop Application which currently uses Oracle JDK 1.8 () version and JavaFX. Our Team is planning to migrate from Oracle JDK 1.8 to Azul Zulu Open JDK 1.8 (8.0.302). I have changed the path of JAVA_HOME, Installed JREs which points to Zulu JDK Location in my local workspace. I have also changed the JRE path in Run Configuration. After that, when I ran application, it is loading the splash screen, but other screen navigations are taking long time to load.

My 2 doubt here are -

  1. Should I change the groupId value to some other thing instead of com.oracle with below dependencies ?

                 <dependency>
                     <groupId>com.oracle</groupId>
                     <artifactId>ant-javafx</artifactId>
                     <version>${javafx.version}</version>
                     <systemPath>${java.home}/../lib/ant- 
                        javafx.jar</systemPath>
                     <scope>system</scope>
                 </dependency>
                 <dependency>
                     <groupId>com.oracle</groupId>
                     <artifactId>javafx</artifactId>
                     <version>${javafx.version}</version>
                  <systemPath>${java.home}/lib/ext/jfxrt.jar</systemPath>
                     <scope>system</scope>
                 </dependency>
    
  2. I observed that Oracle JDK lib folder has deploy folder, but Zulu JDK Lib folder didn't had that deploy folder. So, Is that OK ? or should I include/copy deploy folder in lib folder?

Please assist with these two doubts.

Upvotes: 0

Views: 116

Answers (0)

Related Questions