Views:

Summary

DPX Management Console fails to start when running iceteaweb openjdk

 

Symptoms

Trying to start the DPX Management console with openjdk -icetea web fails to start with error:
  • net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file. The application has not been initialized
 
  • C:\Program Files\IcedTeaWeb\WebStart\bin>selected jre: C:\Program Files\AdoptOpenJDK\jdk-8.0.212.04-hotspot\jre\java.net.URISyntaxException: Illegal character in path at index 20: file://C:/Users/User Name/.config/icedtea-web/security/java.policy
 

Resolution

This issue is cause by a space in the path for the Cache directory for OpenJDK.
 
Workaround:

Set a Cache Path which does not contain a space.

Steps:
Run itweb-settings.exe from the installation directory openJDK
Select  "Cache"
Select  "Change..."
 

After changing to new path for the java cache , ensure the user logged in has full permissions to this path or the Management Console will still fail to launch.

For more information on this issue see: https://github.com/AdoptOpenJDK/icedtea-web/issues/184