Re: JOGL with SWT(and NEWT) and OpenGL ES 2.0 for Eclipse RCP
Posted by
Sven Gothel on
Apr 18, 2012; 8:28am
URL: https://forum.jogamp.org/JOGL-with-SWT-and-NEWT-and-OpenGL-ES-2-0-for-Eclipse-RCP-tp3772584p3919384.html
On 04/18/2012 10:16 AM, Nick George [via jogamp] wrote:
> I tried to follow all that, but when I try to call GLProfile.initSingleton(),
> I get a bizzare jar error. Any idea what this means?
>
It's already fixed in 'upstream' not RC5 release though.
Now you just get a 'catched' message, but it will continue processing
- here: trying to find the native libraries the old fashion way.
Try this test build:
http://jogamp.org/deployment/jogamp-test/archive/jogamp-all-platforms.7z~Sven
> Thanks,
> Nick
>
> !SESSION 2012-04-18 01:13:20.914 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_20
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product nickburner.product
> Command-line arguments: -product nickburner.product -data
> /home/nickgeorge/workspace/../runtime-nickburner.product -dev
> file:/home/nickgeorge/workspace/.metadata/.plugins/org.eclipse.pde.core/nickburner.product/dev.properties
> -os linux -ws gtk -arch x86_64 -consoleLog
>
> !ENTRY org.eclipse.ui.workbench 4 0 2012-04-18 01:13:22.645
> !MESSAGE Unable to create view ID nickburner.view: An unexpected exception was
> thrown.
> !STACK 0
> java.lang.IllegalArgumentException: JAR URL doesn't start with 'jar:', got
> <bundleresource://27.fwk717098535/com/jogamp/common/os/Platform.class>
> at com.jogamp.common.util.JarUtil.getJarSubURL(JarUtil.java:140)
> at com.jogamp.common.os.Platform$3.run(Platform.java:309)
> at java.security.AccessController.doPrivileged(Native Method)
> at com.jogamp.common.os.Platform.loadGlueGenRTImpl(Platform.java:303)
> at com.jogamp.common.os.Platform.<clinit>(Platform.java:214)
> at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:81)
>