IcedTea-Web & Java 11

Suewirotjanakun, Bundit bundit.suewirotjanakun at cgi.com
Fri Aug 31 19:08:39 UTC 2018


Hello,

Thank you. That answers my question and gives me direction.

Best regards,
Bundit Suewirotjanakun
Senior Consultant
CGI - Services to Credit Unions
7010 Bayer's Road, Suite 1007
Halifax, NS, B3L 2C2
902-493-4400 ext. 2838

From: Laurent Bourgès [mailto:bourges.laurent at gmail.com]
Sent: Friday, August 31, 2018 3:57 PM
To: Suewirotjanakun, Bundit
Cc: distro-pkg-dev at openjdk.java.net
Subject: Re: IcedTea-Web & Java 11

Hi again,

As I said windows scripts do not have the jigsaw options that are present in the linux scripts I sent in my first email.

Just look at the linux script to get them: patch-module, add-reads, add-exports...

If you add these arguments to the windows script, it will work properly. Without them, it will never work.
You should hack the script in depth to provide these options anyway as I did.

I can send you later the windows command that worked.

Laurent

Le ven. 31 août 2018 à 19:13, Suewirotjanakun, Bundit <bundit.suewirotjanakun at cgi.com<mailto:bundit.suewirotjanakun at cgi.com>> a écrit :
Hello,

I’m not so familiar with Jigsaw and haven’t used it much. When you said you ran your program with Jigsaw options, do you mean you used Jigsaw options to change the way the modules are exported? Did you have to export modules that are not exported in standard openjdk11?

As far as the startup script goes I just bypassed the Java home finding by supplying INST_JAVA_HOME from environment variable and commenting out line 21 of javaws.bat of IcedTea-Web 1.7.1.It<https://urldefense.proofpoint.com/v2/url?u=http-3A__1.7.1.It&d=DwMFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=gC9PWD0bC_qE6PAh8s7Dcx2zuANmUvJTYYTLkxelQd8&s=M00_b0w0V1rhNB4Pvt54uY0jcuA1b6oPUrxzhGQpeA4&e=> might not be the best solution, but it got me pass the startup script problem and allowed me to do what I wanted to do. I’m not sure though if it causes the problem I’m having now.

For the Windows registry Oracle seems to change the location of Java registry starting in late update of Java 8 from Oracle. I didn’t check it with openjdk.

Best regards,
Bundit Suewirotjanakun
Senior Consultant
CGI - Services to Credit Unions
7010 Bayer's Road, Suite 1007
Halifax, NS, B3L 2C2
902-493-4400 ext. 2838

From: Laurent Bourgès [mailto:bourges.laurent at gmail.com<mailto:bourges.laurent at gmail.com>]
Sent: Friday, August 31, 2018 12:59 PM
To: Suewirotjanakun, Bundit
Cc: distro-pkg-dev at openjdk.java.net<mailto:distro-pkg-dev at openjdk.java.net>
Subject: Re: IcedTea-Web & Java 11

Hello,
I succeeded in running icedtea-web (netx) on windows 7 with openjdk11-28 but without its own javaws.bat script.

I adapted the command line generated on linux to start netx.jar Boot class with all jigsaw options...

My next step consist in rewriting the windows script as jigsaw args are missing. Moreover it figures out the java home from the registry...
Please send your script or just give me some time...

Maybe try icedtea-1.8 as Jiri mentioned shell scripts were improved.

Laurent

Le ven. 31 août 2018 à 16:27, Suewirotjanakun, Bundit <bundit.suewirotjanakun at cgi.com<mailto:bundit.suewirotjanakun at cgi.com>> a écrit :
Hello,

Thank you very much for information. I’m trying to use it on Windows system. Just like your environment the startup script doesn’t work with openjdk11. It’s easy to update, and I managed to get it to work with openjdk11.

However, the IcedTea-Web (1.7.1) uses some internal JDK classes that are no longer exported in openjdk11. The attached stack trace shows details of the error. I did look at IcedTea-Web source code and found that it uses a few of un-exported classes.

Do you really get it to run on openjdk11?

Best regards,
Bundit Suewirotjanakun
Senior Consultant
CGI - Services to Credit Unions
7010 Bayer's Road, Suite 1007
Halifax, NS, B3L 2C2
902-493-4400 ext. 2838

From: Laurent Bourgès [mailto:bourges.laurent at gmail.com<mailto:bourges.laurent at gmail.com>]
Sent: Thursday, August 30, 2018 10:05 AM
To: Suewirotjanakun, Bundit
Cc: distro-pkg-dev at openjdk.java.net<mailto:distro-pkg-dev at openjdk.java.net>
Subject: Re: IcedTea-Web & Java 11

Hi,
I am testing too icedTea-web 1.7 (hg) with openjdk 11 !
It does not work out of the box, notably I had to hack shell scripts so I will propose patches soon.

On linux, here are my changes to provide jigsaw CLI arguments:
JDK9="YES"
#if ${JAVA} -version 2>&1 | grep -q "version \"9-" ; then
#  JDK9="YES"
#fi

Hope it helps,
Laurent

PS: Here is my complete script (with my own install dirs & jdk11):
#!/bin/bash

NASHORN=lib/ext/nashorn.jar
JAVA=/home/bourgesl/apps/openjdk-11+28_linux-x64_bin/bin/java
LAUNCHER_BOOTCLASSPATH='-Xbootclasspath/a:/home/bourgesl/libs/icedtea-web-1.7/install/share/icedtea-web/netx.jar'
LAUNCHER_FLAGS=-Xms8m
CLASSNAME=net.sourceforge.jnlp.runtime.Boot
BINARY_LOCATION=/home/bourgesl/libs/icedtea-web-1.7/install/bin/javaws11
SPLASH_LOCATION=/home/bourgesl/libs/icedtea-web-1.7/install/share/icedtea-web/javaws_splash.png
PROGRAM_NAME=javaws

CONFIG_HOME=$XDG_CONFIG_HOME
if [ "x$CONFIG_HOME" = "x" ] ; then
  CONFIG_HOME=~/.config
fi;
PROPERTY_NAME=deployment.jre.dir
CUSTOM_JRE_REGEX="^$PROPERTY_NAME *= *"
CUSTOM_JRE=`grep "$CUSTOM_JRE_REGEX" $CONFIG_HOME/icedtea-web/deployment.properties<https://urldefense.proofpoint.com/v2/url?u=http-3A__deployment.properties&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=RMnMyTcJNVPqXmVh9jtoqhHlbqmCJlQWSRlVzKWn40s&e=> 2>/dev/null |  sed "s/$CUSTOM_JRE_REGEX//g"`
#now check in legacy one
if [ "x$CUSTOM_JRE" = "x" ] ; then
  CUSTOM_JRE=`grep "$CUSTOM_JRE_REGEX" ~/.icedtea/deployment.properties<https://urldefense.proofpoint.com/v2/url?u=http-3A__deployment.properties&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=RMnMyTcJNVPqXmVh9jtoqhHlbqmCJlQWSRlVzKWn40s&e=> 2>/dev/null |  sed "s/$CUSTOM_JRE_REGEX//g"`
fi;
#now check in global one
if [ "x$CUSTOM_JRE" = "x" ] ; then
  CUSTOM_JRE=`grep "$CUSTOM_JRE_REGEX" /etc/.java/.deploy/deployment.properties<https://urldefense.proofpoint.com/v2/url?u=http-3A__deployment.properties&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=RMnMyTcJNVPqXmVh9jtoqhHlbqmCJlQWSRlVzKWn40s&e=> 2>/dev/null |  sed "s/$CUSTOM_JRE_REGEX//g"`
fi;
if [ "x$CUSTOM_JRE" != "x" ] ; then
  if [ -e  "$CUSTOM_JRE" -a -e "$CUSTOM_JRE/bin/java" ] ; then
    JAVA=$CUSTOM_JRE/bin/java
  else
    echo "Your custom JRE $CUSTOM_JRE read from deployment.properties<https://urldefense.proofpoint.com/v2/url?u=http-3A__deployment.properties&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=RMnMyTcJNVPqXmVh9jtoqhHlbqmCJlQWSRlVzKWn40s&e=> under key $PROPERTY_NAME as $CUSTOM_JRE is not valid. Using default ($JAVA) in attempt to start. Please fix this."
  fi
fi;

JDK9="YES"
#if ${JAVA} -version 2>&1 | grep -q "version \"9-" ; then
#  JDK9="YES"
#fi

JAVA_ARGS=( )
ARGS=( )
COMMAND=()

i=0
j=0

SPLASH="false"
if [ "x$ICEDTEA_WEB_SPLASH" = "x" ] ; then
SPLASH="true"
fi;
while [ "$#" -gt "0" ]; do
  case "$1" in
    -J*)
      JAVA_ARGS[$i]="${1##-J}"
      i=$((i+1))
      ;;
    *)
      ARGS[$j]="$1"
      j=$((j+1))
      if [[ "$1" =~ ^[-]*headless ]] ; then
        SPLASH="false"
      fi
      ;;
  esac
  shift
done

k=0
COMMAND[k]="${JAVA}"
k=$((k+1))
if [ "$SPLASH" = "true" ] ; then
COMMAND[k]="-splash:${SPLASH_LOCATION}"
k=$((k+1))
fi;
COMMAND[k]="${LAUNCHER_BOOTCLASSPATH}"
k=$((k+1))
COMMAND[k]="${LAUNCHER_FLAGS}"
k=$((k+1))

if [ "x$JDK9" == "xYES" ] ; then
COMMAND[k]="--patch-module"
k=$((k+1))
COMMAND[k]="java.desktop=:/home/bourgesl/libs/icedtea-web-1.7/install/share/icedtea-web/netx.jar"
k=$((k+1))
# jsobject must be pathched separately from plugin
# otherwise netscape pkg would be shared by two modules, which is forbiden
JSOBJECT_JAR=
# plugin jar may not be built
if [ ! "x$JSOBJECT_JAR" == "x" ] ; then
  COMMAND[k]="--patch-module"
  k=$((k+1))
  COMMAND[k]="jdk.jsobject=$JSOBJECT_JAR"
  k=$((k+1))
fi

COMMAND[k]="--add-reads"
k=$((k+1))
COMMAND[k]="java.base=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-reads"
k=$((k+1))
COMMAND[k]="java.desktop=ALL-UNNAMED,java.naming"
k=$((k+1))
COMMAND[k]="--add-reads"
k=$((k+1))
COMMAND[k]="java.naming=ALL-UNNAMED,java.desktop"
k=$((k+1))

COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.desktop/sun.awt=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.base/sun.security.provider=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.base/sun.security.util=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.base/sun.security.x509=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.base/sun.security.validator=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.desktop/sun.applet=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.base/sun.security.action=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop"
k=$((k+1))
COMMAND[k]="--add-exports"
k=$((k+1))
COMMAND[k]="java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject"
k=$((k+1))
fi


i=0
while [ "$i" -lt "${#JAVA_ARGS[@]}" ]; do
  COMMAND[k]="${JAVA_ARGS[$i]}"
  i=$((i+1))
  k=$((k+1))
done
#COMMAND[k]="-classpath"
#k=$((k+1))
#COMMAND[k]="${CP}"
#k=$((k+1))
COMMAND[k]="-Dicedtea-web.bin.name<https://urldefense.proofpoint.com/v2/url?u=http-3A__Dicedtea-2Dweb.bin.name&d=DwMFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=KV8t0KzF6RW9MSea7jGyVmNXu7biK1bcHrUk2BiWv28&e=>=${PROGRAM_NAME}"
k=$((k+1))
COMMAND[k]="-Dicedtea-web.bin.location=${BINARY_LOCATION}"
k=$((k+1))
COMMAND[k]="${CLASSNAME}"
k=$((k+1))
j=0
while [ "$j" -lt "${#ARGS[@]}" ]; do
  COMMAND[k]="${ARGS[$j]}"
  j=$((j+1))
  k=$((k+1))
done

echo "CLI: '${COMMAND[@]}' "
exec -a "$PROGRAM_NAME" "${COMMAND[@]}"

exit $?



Le jeu. 30 août 2018 à 12:36, Suewirotjanakun, Bundit <bundit.suewirotjanakun at cgi.com<mailto:bundit.suewirotjanakun at cgi.com>> a écrit :
Hello,

First of all I’m sorry if I’m not using the discussion list properly. It’s my first time posting message to this mailing list.

I’m trying to use IcedTea-Web 1.7.1 with Java 11, but I got the following error:

java.lang.ClassNotFoundException: sun/misc/JarIndex
      at java.base/java.lang.Class.forName0(Native Method)
      at java.base/java.lang.Class.forName(Class.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__Class.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=bChg2iYUgKwmG8rtV4KgxCnekGhaWCsYBknPnXkeHWA&e=>:315)
      at net.sourceforge.jnlp.jdk89acesses.JarIndexAccess.<clinit>(JarIndexAccess.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JarIndexAccess.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=MWzzodR_CvK25YHqZvPkIQ5oq4DJFiG-M0HuUD_t_Q0&e=>:23)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader$2.run(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:1340)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader$2.run(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:1232)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.activateJars(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:1362)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:785)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:285)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:357)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:429)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:403)
      at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__Launcher.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=OEuCVURLZvH2J-ku5qoPErCrDkFeO_zBnh3h5zbQUcQ&e=>:809)
      at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__Launcher.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=OEuCVURLZvH2J-ku5qoPErCrDkFeO_zBnh3h5zbQUcQ&e=>:529)
      at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__Launcher.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=OEuCVURLZvH2J-ku5qoPErCrDkFeO_zBnh3h5zbQUcQ&e=>:940)

Running jdk9+ ?
java.lang.RuntimeException: java.lang.IllegalAccessException: class net.sourceforge.jnlp.jdk89acesses.JarIndexAccess cannot access class jdk.internal.util.jar.JarIndex (in module java.base) because module java.base does not export jdk.internal.util.jar to unnamed module @5906ebcb
      at net.sourceforge.jnlp.jdk89acesses.JarIndexAccess.getJarIndex(JarIndexAccess.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JarIndexAccess.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=MWzzodR_CvK25YHqZvPkIQ5oq4DJFiG-M0HuUD_t_Q0&e=>:47)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader$2.run(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:1340)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader$2.run(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:1232)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.activateJars(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:1362)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:785)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:285)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:357)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:429)
      at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JNLPClassLoader.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=rkJfCIhrqWmvi0wowN9dFy4KsPLu-ZEA-irvAJiC_lg&e=>:403)
      at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__Launcher.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=OEuCVURLZvH2J-ku5qoPErCrDkFeO_zBnh3h5zbQUcQ&e=>:809)
      at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__Launcher.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=OEuCVURLZvH2J-ku5qoPErCrDkFeO_zBnh3h5zbQUcQ&e=>:529)
      at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__Launcher.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=OEuCVURLZvH2J-ku5qoPErCrDkFeO_zBnh3h5zbQUcQ&e=>:940)
Caused by: java.lang.IllegalAccessException: class net.sourceforge.jnlp.jdk89acesses.JarIndexAccess cannot access class jdk.internal.util.jar.JarIndex (in module java.base) because module java.base does not export jdk.internal.util.jar to unnamed module @5906ebcb
      at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__Reflection.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=Ta7ywa40F8zXbD3la-Nbm4T5W1g3kWEiG13uxVEai9Y&e=>:361)
      at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__AccessibleObject.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=uwEaAGkkwGj60OVQP9fgBSYqpFPFn-tiuiuYN0oDkOc&e=>:591)
      at java.base/java.lang.reflect.Method.invoke(Method.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__Method.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=ODCx3uChQAWI0bukLfC-qpXftwob3sKvltJLN2bSEsQ&e=>:558)
      at net.sourceforge.jnlp.jdk89acesses.JarIndexAccess.getJarIndexImpl(JarIndexAccess.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JarIndexAccess.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=MWzzodR_CvK25YHqZvPkIQ5oq4DJFiG-M0HuUD_t_Q0&e=>:53)
      at net.sourceforge.jnlp.jdk89acesses.JarIndexAccess.getJarIndex(JarIndexAccess.java<https://urldefense.proofpoint.com/v2/url?u=http-3A__JarIndexAccess.java&d=DwQFaQ&c=H50I6Bh8SW87d_bXfZP_8g&r=sHOUlyi4cqya_zXDEyI-eRLAimLTAma9hgMHXBQMUHI&m=oIpsLdvZ3zjBdsvmgLDGhrUEe359E3f6clatSHLyEZg&s=MWzzodR_CvK25YHqZvPkIQ5oq4DJFiG-M0HuUD_t_Q0&e=>:45)
      ... 12 more

I kind of have good idea of what causes the error, but I just want to make sure that I explore all the options. Is there any configuration I can set to make it worked with Java 11? Do I have to wait for the a version of IcedTea-Web that supports Java 11? If it’s the case, is there any timeline on the GA?

Thank you.

Best regards,
Bundit Suewirotjanakun.


--
--
Laurent Bourgès
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180831/ecc82758/attachment-0001.html>


More information about the distro-pkg-dev mailing list