- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- ProjectAutomation.setIALocation throws "Invalid InstallAnywhere location" error with Open JDK 11
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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)
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)