cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nandini
Flexera beginner

ProjectAutomation.setIALocation throws "Invalid InstallAnywhere location" error with Open JDK 11

We are using the ProjectAutomation of Install anywhere to set IA location. With jdk1.8, the code works fine, whereas with open jdk11, it fails at runtime.

Install Anywhere Version : InstallAnywhere 2018. (Tried upgrading to InstallAnywhere 2018 SP1 as well).

Code:

        System.out.println("Main Path: " + list_main.get(0));

        ProjectAutomation.setIALocation(list_main.get(0));

        Project iap = ProjectAutomation.loadProject(list_main.get(1));

 

Error:

              Main Path: C:\Program Files (x86)\InstallAnywhere 2018

Exception in thread "main" com.zerog.ia.auto.project.ProjectAutomationException: Invalid InstallAnywhere location. Can not load required files.

              at com.zerog.ia.auto.project.ProjectAutomation.setIALocation(ProjectAutomation.java:374)

              at drmprojectautomation.DRMProjectAutomation.main(DRMProjectAutomation.java:60)

Tags (1)
0 Kudos