Search code examples
javajava-web-start

Java Web Start and allowArraySyntax is not set


ref: https://bugs.java.com/bugdatabase/view_bug?bug_id=6434149

My problem is that sun.lang.ClassLoader.allowArraySyntax is not set to true when using java webstart (javaws) later than 1.6.0_05 (JRE is 1.6.0_14).

I have tried:

set JAVAWS_VM_ARGS=-Dsun.lang.ClassLoader.allowArraySyntax=true

or manually specifying it:

javaws.exe -J-Dsun.lang.ClassLoader.allowArraySyntax=true ...

But when outputting the system property I only get null (if later than 1.6.0_05).

I really need web start to work, any ideas?


Some setup information:

Weblogic 9.2 on Windows (server)

Java client also running on Windows


Solution

  • Due to some strange characters at the beginning of my jnlp-file, javaws, apparently, did a second launch (this could be seen where the java-console started twice) where the vmargs were lost...