Posted by
douglaslyon on
Jan 07, 2018; 7:21pm
URL: https://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038490.html
Here is what Predrag reports.
We both get IDENTICAL errors.
I do not think my experience is isolated.
- Doug
> On Sun, Jan 7, 2018 at 5:04 PM, Dr. Douglas Lyon <
[hidden email]>
wrote:
>> Hi Predrag,
>> What do you get on your machine when you run:
>>
http://www.docjava.com/book/cgij/code/jnlp/joglquad.jnlp >> I would like to see the exception, as printed to the console,
>> on a windows 10 machine.
>>
>> Thanks!
>> - Doug
On 1/7/18 1:40 PM, Predrag Bokšić wrote:
> Java Web Start 12.0.1.0
> Using JRE version 9.0.1+11 Java HotSpot(TM) 64-Bit Server VM
> JRE expiration date: 2/16/18, 12:00 AM
> User home directory = C:\Users\junke
> ----------------------------------------------------
> c: clear console window
> f: finalize objects on finalization queue
> g: garbage collect
> h: display this help message
> m: print memory usage
> o: trigger logging
> p: reload proxy configuration
> q: hide console
> r: reload policy configuration
> s: dump system and deployment properties
> t: dump thread list
> v: dump thread stack
> 0-5: set trace level to <n>
> ----------------------------------------------------
> JNLPClassLoader: Finding library jawt.dll
> #### Java Web Start Error:
> #### -1
>
>
>
>
>
> java.lang.ArrayIndexOutOfBoundsException: -1
> at
jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(WindowsAWTWGLGraphicsConfigurationFactory.java:171)
> at
com.jogamp.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(GraphicsConfigurationFactory.java:424)
> at
com.jogamp.opengl.awt.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:1560)
> at com.jogamp.opengl.awt.GLCanvas.addNotify(GLCanvas.java:611)
> at java.desktop/java.awt.Container.addNotify(Unknown Source)
> at java.desktop/java.awt.Window.addNotify(Unknown Source)
> at java.desktop/java.awt.Frame.addNotify(Unknown Source)
> at java.desktop/java.awt.Window.show(Unknown Source)
> at java.desktop/java.awt.Component.show(Unknown Source)
> at java.desktop/java.awt.Component.setVisible(Unknown Source)
> at java.desktop/java.awt.Window.setVisible(Unknown Source)
> at j3d.JOGLQuad.main(JOGLQuad.java:96)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> at java.base/java.lang.reflect.Method.invoke(Unknown Source)
> at
jdk.javaws@9.0.1/com.sun.javaws.Launcher.executeApplication(Unknown Source)
> at jdk.javaws@9.0.1/com.sun.javaws.Launcher.executeMainClass(Unknown
Source)
> at jdk.javaws@9.0.1/com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
> at jdk.javaws@9.0.1/com.sun.javaws.Launcher.run(Unknown Source)
> at java.base/java.lang.Thread.run(Unknown Source)
>
>
>
>
>
> Dump system properties ...
> ----------------------------------------------------
> awt.toolkit = sun.awt.windows.WToolkit
> com.sun.security.enableCRLDP = true
> file.encoding = Cp1252
> file.encoding.pkg = sun.io
> file.separator = \
> http.auth.serializeRequests = true
> https.protocols = TLSv1.2,TLSv1.1,TLSv1
> java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
> java.awt.printerjob = sun.awt.windows.WPrinterJob
> java.class.path = C:\Program Files\Java\jre\lib\deploy.jar
> java.class.version = 53.0
> java.home = C:\Program Files\Java\jre
> java.io.tmpdir = C:\Users\junke\AppData\Local\Temp\
> java.library.path = C:\Program
>
Files\Java\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
> Files\Java\jre\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program
> Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\libnvvp;C:\Program
> Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin;C:\Program Files
> (x86)\NVIDIA
Corporation\PhysX\Common;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
> Files (x86)\Common Files\Intel\Shared
> Libraries\redist\intel64\compiler;C:\Program
> Files\Java\jdk\bin;C:\Program Files\Java\ant\bin;C:\Program
> Files\Java\maven\bin;C:\Program Files\Java\gradle\bin;C:\Program
> Files\Java\junit;C:\Program Files\Java\gwt;C:\Program
> Files\Java\selenium\;C:\Program Files\Git\cmd;C:\Program Files
> (x86)\CMake\bin;C:\Program Files (x86)\GnuPG\bin;C:\Program
>
Files\ffmpeg\bin;D:\opencv\build\x64\vc14\lib;D:\opencv\build\x64\vc14\bin;D:\opencv\build\include;D:\opencv\build\bin;D:\cygwin64\bin;C:\Users\junke\.dnx\bin;C:\Program
> Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft
> MPI\Bin\;D:\VS2017\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64;C:\Program
> Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files
> (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program
> Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files
> (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;C:\Program
> Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program
> Files\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files\Microsoft
> SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Windows
> Kits\10\Windows Performance Toolkit\;C:\Program
> Files\dotnet\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program
>
Files\nodejs\;C:\Users\junke\AppData\Local\Microsoft\WindowsApps;C:\Program
>
Files\Notepad++;C:\Users\junke\AppData\Roaming\npm;C:\Ruby24-x64\bin;"C:\Program
> Files\Java\jre\bin";.
> java.rmi.server.RMIClassLoaderSpi = com.sun.jnlp.JNLPRMIClassLoaderSpi
> java.runtime.name = Java(TM) SE Runtime Environment
> java.runtime.version = 9.0.1+11
> java.security.manager =
> java.security.policy = file:C:\Program
> Files\Java\jre\conf\security\javaws.policy
> java.specification.name = Java Platform API Specification
> java.specification.vendor = Oracle Corporation
> java.specification.version = 9
> java.vendor = Oracle Corporation
> java.vendor.url =
http://java.oracle.com/ > java.vendor.url.bug =
http://bugreport.java.com/bugreport/ > java.version = 9.0.1
> java.vm.compressedOopsMode = 32-bit
> java.vm.info = mixed mode
> java.vm.name = Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name = Java Virtual Machine Specification
> java.vm.specification.vendor = Oracle Corporation
> java.vm.specification.version = 9
> java.vm.vendor = Oracle Corporation
> java.vm.version = 9.0.1+11
> javaplugin.proxy.config.type = direct
> javawebstart.version = javaws-12.0.1.0
> jdk.debug = release
> jdk.module.main = jdk.plugin
> jdk.module.main.class = sun.plugin2.main.WebStart
> jnlp.jogamp.tmp.cache.root = jln13586313023271801865
> jnlpx.heapsize = 64m,384m
> jnlpx.home = C:\Program Files\Java\jre
> jnlpx.jvm = C:\Program Files\Java\jre\bin\javaw.exe
> jnlpx.origFilenameArg = E:\Downloads\joglquad.jnlp
> jnlpx.remove = false
> jnlpx.vmargs =
LWVhAC0tYWRkLW9wZW5zPWphdmEuYmFzZS9jb20uam9nYW1wPUFMTC1VTk5BTUVEAA==
> line.separator = \r\n
> os.arch = amd64
> os.name = Windows 10
> os.version = 10.0
> path.separator = ;
> sun.arch.data.model = 64
> sun.awt.enableExtraMouseButtons = true
> sun.boot.library.path = C:\Program Files\Java\jre\bin
> sun.cpu.endian = little
> sun.cpu.isalist = amd64
> sun.desktop = windows
> sun.io.unicode.encoding = UnicodeLittle
> sun.java.command = jdk.plugin/sun.plugin2.main.WebStart
> E:\Downloads\joglquad.jnlp
> sun.java.launcher = SUN_STANDARD
> sun.jnu.encoding = Cp1252
> sun.management.compiler = HotSpot 64-Bit Tiered Compilers
> sun.os.patch.level =
> sun.security.certpath.ldap.disable.app.resource.files = true
> trustProxy = true
> user.country = US
> user.dir = E:\Downloads
> user.home = C:\Users\junke
> user.language = en
> user.name = junke
> user.script =
> user.timezone = Europe/Prague
> user.variant =
> ----------------------------------------------------
> Dump deployment properties ...
> ----------------------------------------------------
> active.deployment.proxy.bypass.local = false
> active.deployment.proxy.same = false
> active.deployment.proxy.type = 3
> deployment.baseline.url =
>
https://javadl-esd-secure.oracle.com/update/securitypack.jar > deployment.browser.path = C:\Windows\system32\LaunchWinApp.exe
> deployment.cache.enabled = true
> deployment.cache.jarcompression = 0
> deployment.cache.max.size = -1
> deployment.capture.mime.types = false
> deployment.console.startup.mode = SHOW
> deployment.control.panel.log = false
> deployment.deprecation.plugin.dialog.show = true
> deployment.expiration.check.enabled = true
> deployment.insecure.jres = PROMPT
> deployment.javafx.mode.enabled = true
> deployment.javapi.cache.update = false
> deployment.javapi.lifecycle.exception = true
> deployment.javapi.log.filename =
> deployment.javapi.runtime.type = 0
> deployment.javapi.stop.timeout = 200
> deployment.javapi.trace.filename =
> deployment.javaws.appicon.index =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\appIcon\appIcon.xml
> deployment.javaws.associations = ASK_USER
> deployment.javaws.cache.update = false
> deployment.javaws.concurrentDownloads = 4
> deployment.javaws.install = IF_HINT
> deployment.javaws.installURL =
http://java.sun.com/products/autodl/j2se > deployment.javaws.logFileName =
> deployment.javaws.muffin.max = 256
> deployment.javaws.shortcut = ASK_UNTRUSTED
> deployment.javaws.splash.index =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\splash\splash.xml
> deployment.javaws.traceFileName =
> deployment.javaws.uninstall.shortcut = false
> deployment.javaws.update.timeout = 1500
> deployment.javaws.viewer.bounds = 99,559,720,360
> deployment.log = false
> deployment.macosx.check.update = true
> deployment.max.output.file.size = 10
> deployment.max.output.files = 5
> deployment.mime.types.use.default = true
> deployment.modified.timestamp = 1515216615807
> deployment.proxy.bypass.local = false
> deployment.proxy.override.hosts =
> deployment.proxy.same = false
> deployment.proxy.type = 3
> deployment.relaunch.increment.debug.port = true
> deployment.roaming.profile = false
> deployment.security.SSLv2Hello = false
> deployment.security.SSLv3 = false
> deployment.security.TLSv1 = true
> deployment.security.TLSv1.1 = true
> deployment.security.TLSv1.2 = true
> deployment.security.askgrantdialog.notinca = true
> deployment.security.askgrantdialog.show = true
> deployment.security.authenticator = true
> deployment.security.blacklist.check = true
> deployment.security.browser.keystore.use = true
> deployment.security.clientauth.keystore.auto = true
> deployment.security.disable = false
> deployment.security.esl.override.native.sandbox = false
> deployment.security.https.warning.show = false
> deployment.security.jsse.hostmismatch.warning = true
> deployment.security.level = HIGH
> deployment.security.local.applets = PROMPT
> deployment.security.mixcode = ENABLE
> deployment.security.notinca.warning = true
> deployment.security.password.cache = true
> deployment.security.permissions.manifest.required = true
> deployment.security.revocation.check = ALL_CERTIFICATES
> deployment.security.run.untrusted = PROMPT
> deployment.security.sandbox.awtwarningwindow = true
> deployment.security.sandbox.casigned = PROMPT
> deployment.security.sandbox.jnlp.enhanced = true
> deployment.security.sandbox.selfsigned = PROMPT
> deployment.security.tls.revocation.check = ALL_CERTIFICATES
> deployment.security.tls.validation.crl = true
> deployment.security.tls.validation.ocsp = true
> deployment.security.trusted.policy =
> deployment.security.use.insecure.launcher = false
> deployment.security.use.native.sandbox = false
> deployment.security.use.user.home.java.policy = false
> deployment.security.validation.crl = true
> deployment.security.validation.ocsp = true
> deployment.security.validation.ocsp.publisher = false
> deployment.system.cachedir =
> C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\SystemCache
> deployment.system.security.blacklist = C:\Program
> Files\Java\jre\lib\security\blacklist
> deployment.system.security.cacerts = C:\Program
> Files\Java\jre\lib\security\cacerts
> deployment.system.security.jssecacerts = C:\Program
> Files\Java\jre\lib\security\jssecacerts
> deployment.system.security.trusted.certs = C:\Program
> Files\Java\jre\lib\security\trusted.certs
> deployment.system.security.trusted.clientauthcerts = C:\Program
> Files\Java\jre\lib\security\trusted.clientcerts
> deployment.system.security.trusted.jssecerts = C:\Program
> Files\Java\jre\lib\security\trusted.jssecerts
> deployment.system.security.trusted.libraries = C:\Program
> Files\Java\jre\lib\security\trusted.libraries
> deployment.system.tray.icon = false
> deployment.trace = true
> deployment.trace.redirect.stdio = true
> deployment.update.mime.types = true
> deployment.user.cachedir =
> C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\cache
> deployment.user.extdir =
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\ext
> deployment.user.logdir =
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\log
> deployment.user.logfile = jcp.trace
> deployment.user.logfile.append = false
> deployment.user.security.blacklist =
> C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\blacklist
> deployment.user.security.blacklist.dynamic =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\blacklist.dynamic
> deployment.user.security.blacklisted.certs =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\blacklisted.certs
> deployment.user.security.exception.sites =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\exception.sites
> deployment.user.security.policy =
>
file:/C:/Users/junke/AppData/LocalLow/Sun/Java/Deployment/security/java.policy
> deployment.user.security.sandbox.certs =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\sandbox.certs
> deployment.user.security.saved.credentials =
> C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\auth.dat
> deployment.user.security.trusted.cacerts =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\trusted.cacerts
> deployment.user.security.trusted.certs =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
> deployment.user.security.trusted.clientauthcerts =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\trusted.clientcerts
> deployment.user.security.trusted.jssecacerts =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecacerts
> deployment.user.security.trusted.jssecerts =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecerts
> deployment.user.security.trusted.libraries =
>
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\security\trusted.libraries
> deployment.user.tmp =
C:\Users\junke\AppData\LocalLow\Sun\Java\Deployment\tmp
> deployment.version = 8
> deployment.webjava.enabled = true
> ----------------------------------------------------
> Done.
>
> On Sun, Jan 7, 2018 at 5:04 PM, Dr. Douglas Lyon <
[hidden email]>
wrote:
>> Hi Predrag,
>> What do you get on your machine when you run:
>>
http://www.docjava.com/book/cgij/code/jnlp/joglquad.jnlp >> I would like to see the exception, as printed to the console,
>> on a windows 10 machine.
>>
>> Thanks!
>> - Doug
>>
On 1/7/18 2:12 PM, Dr. Douglas Lyon wrote:
> JOGL works fine without webstart.
> JOGL works fine with webstart on a mac.
> JOGL throws exceptions with webstart on windows.
> Cheers!
> - Doug
>
>
> On 1/7/18 1:27 PM, gouessej [via jogamp] wrote:
>> If ImageJ installed a JVM with Java3D installed inside it as an
>> extension and if somehow Java Webstart uses this JVM, it won't work.
>> Please look at the whole hard drive. Do you use a virus scanner under
>> Windows? My JOGL example works fine under Microsoft Windows 10, 8, 7,
>> Vista, ... I don't blame Java3D for this but JOGL is not to blame
>> neither (only for the problem under Windows), there is something wrong
>> on your machine. I can retry if you want but I can only use Windows
>> 10. I have no longer access to Windows 7.
>>
>> Was there anything in the imagej folder?
>>
>> Thank you. Only the first link was broken. I've just fixed it. If you
>> choose JNDT, you'll be able to use any JRE, you'll have full control
>> on what is provided, you won't depend on what is installed on the
>> system except when it looks for things in the path, you'll be able to
>> disable the automated native library loading to eliminate some
>> problems with some virus scanners. The only remaining problem will
>> come from very paranoid virus scanners that go on treating GlueGen as
>> a virus... and there is a real bug to fix in JOGL when releasing the
>> context under OS X with Java 1.9.
>>
>> Actually, I advise you to make my example work without Java Webstart
>> and then to make it work with Java Webstart in order to determine
>> whether it's the culprit. I understand your position as I used Java
>> Webstart for years but there is not much I can do. You have shown
>> several bugs on 2 operating systems here, we should solve them one by
>> one but I cannot guarantee that it will work with Webstart. Maybe some
>> native libraries are no longer provided in Java 1.9 or maybe they
>> aren't loaded when using Webstart, that's why it would be interesting
>> to know whether it works without Webstart.
>> Julien Gouesse | Personal blog <
http://gouessej.wordpress.com> |
>> Website <
http://tuer.sourceforge.net>
>>
>>
>> ------------------------------------------------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>>
http://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038487.html>> To unsubscribe from Jogl/Jogamp on Java 9, click here
>> <
>>
>> NAML
>> <http://forum.jogamp.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>