Exceptions when running the application from Studio Pro

0
Dear Experts, When I tried to launch the application from Studio Pro, I got below error     And I copied the error message here Error occurred during initialization of VM java.lang.IllegalArgumentException: Null charset name  at java.nio.charset.Charset.lookup(java.base/Charset.java:455)  at java.nio.charset.Charset.defaultCharset(java.base/Charset.java:608)  at java.lang.StringCoding.decode(java.base/StringCoding.java:316)  at java.lang.String.<init>(java.base/String.java:592)  at java.lang.String.<init>(java.base/String.java:614)  at java.lang.System.initProperties(java.base/Native Method)  at java.lang.System.initPhase1(java.base/System.java:1942)   There are not any errors against the project, but now I cannot run the application from Studio Pro. Any tips or suggestions are welcomed.   Glenn BR.
asked
2 answers
0

It seems to be a java bug, please update your java version. https://bugs.openjdk.java.net/browse/JDK-8226810

answered
0

Hi Glenn, same issue but fixed in the following way:

  1. Download the JDK11 (not the HotSpot but OpenJ9 JVM) – link: https://adoptopenjdk.net/installation.html?variant=openjdk11&jvmVariant=openj9
  1. Unzip the JDK11-OpenJ9.
  2. Change the JDK directly in Studio Pro under Menu “Edit” → “Preference”.

The issue occur by some sth between Win10 didnot open UTF8 support and JDK11-HotSpot (used default by Mendix)………

 

 

answered