Sidebar

Why won't QIE start? There is an error about the endorsed directory.

0 votes
1.1K views
asked Oct 17, 2017 by mike-r-7535 (13,830 points)
Here is the error I see in the logs.

-Djava.endorsed.dirs=C:\ProgramData\QIE\endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

1 Answer

0 votes

In order to use Java 9 inside of QIE, the -Djava.endorsed.dirs java option needs to be removed.  In Java 9, supplying this java option causes the JVM to stop. (For more info, see https://stackoverflow.com/questions/46419496/how-do-you-replace-endorsed-directory-in-java-9)

For Windows users, you can download and run the latest installer (3.0.44.8679+).  This newer installer proactively removes the endorsed java option so you can use Java 9 whenever you are ready.

The alternative way is to manually remove the java option. In Windows, open the QIE Service Manager, and click the Startup tab.  In the Arguments section remove the highlighted line below (which contains the -Djava.endorsed.dirs), then click Apply.

Remove the line for -Djava.endorsed.dirs=

For Mac and Linux users, go to your QIE home directory and edit the start.sh file.  Remove the line that contains the -Djava.endorsed.dirs.  Save the file.

Remove the -Djava.endorsed.dirs option

answered Oct 17, 2017 by mike-r-7535 (13,830 points)
...