Login  Register

Re: Jogl/Jogamp on Java 9 no compatible graphics context

Posted by douglaslyon on Jan 07, 2018; 7:10pm
URL: https://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038488.html

Predrag confirms we are getting the same error on his machine
that I am getting on my machine.

You 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.

The program is deleted.

You wrote:
"Please look at the whole hard drive. "

When I look at c:, that is the entire hard drive. There are no other
letters available on this system.

You wrote:
"Do you use a virus scanner under
 > Windows? "
No.
----
You wrote:
"My JOGL example works fine under Microsoft Windows 10, 8, 7,
 > Vista"

Well that depends on what you mean by "works fine".
Both Predrag and I get the very same exception when running
using Webstart.
Did you try the following?
http://docjava.com/book/cgij/code/jnlp/joglquad.jnlp

That is throwing exceptions on Windows 7 and Windows 10.
I do not have Windows 8 available for testing.

Predrag reports he is using windows 10.

The program will run using webstart on window 7, but only if
I remove jdk9 from the list of available jvms in the java control panel.

Thanks!
  - 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>
>