Login  Register

Re: Some bugs

Posted by Michael Bien on Jan 20, 2011; 12:58am
URL: https://forum.jogamp.org/Some-bugs-tp2291303p2291782.html

Hi,

the jocl webstart demos are currently unavailable, sorry about that. I will fix that in about 2 weeks (including lots of other pending stuff i have here on my disk) since i am writing currently my final exams + thesis.

This are actually not real jocl bugs its "just" some deployment stuff... e.g incompatible lib versions.

But you can easily run the stuff locally if you follow this steps:
 - download (clone) the jocl-demos repository from http://github.com/mbien/jocl-demos
 - open the project in NetBeans
 - you will now get a warning dialog telling you that a few jar files are missing... (jogl, jocl, gluegen)
 --> download the stuff and fix those missing project files ("resolve missing references" menu)
 - open nbproject/project.properties and scroll down
 - update the 'run.jvmargs' property to run.jvmargs=-Djava.library.path="path/to/the/native/libs"
(the path must contain all native libs from the jars you just downloaded above, speak all the jogl, gluegen and jocl stuff)

done.. now you can select any demo and just run it.

https://jogamp.org/deployment/autobuilds/master/jocl-b242-2011-01-15_04-31-04/
https://jogamp.org/deployment/autobuilds/master/jogl-b266-2010-12-23_06-40-52/
(gluegen is already included in the zip)

have fun,
michael


On 01/20/2011 12:24 AM, Wibowit [via jogamp] wrote:
Hello,

As I don't really know how to classify those bugs I'm posting them here. I've downloaded and run demos from: http://jogamp.org/deployment/webstart/jocl-demos/

My results are (for Windows 7 64-bit, ATI Radeon HD 5770, 8 GiB RAM):

clinfo.jnlp gives an error:
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/jogamp/opencl/impl/CLMemObjectDestructorCallback
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:218)
	at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:51)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:81)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:146)
	at com.jogamp.opencl.JOCLJNILibLoader.loadOpenCL(JOCLJNILibLoader.java:46)
	at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:125)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:122)
	at com.jogamp.opencl.demos.info.CLInfo.main(CLInfo.java:42)
	... 9 more
Caused by: java.lang.ClassNotFoundException: com.jogamp.opencl.impl.CLMemObjectDestructorCallback
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 24 more


glclinterop.jnlp shows blank window.

julia3d.jnlp gives same error:
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/jogamp/opencl/impl/CLMemObjectDestructorCallback
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:218)
	at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:51)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:81)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:146)
	at com.jogamp.opencl.JOCLJNILibLoader.loadOpenCL(JOCLJNILibLoader.java:46)
	at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:125)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:122)
	at com.jogamp.opencl.CLPlatform.getDefault(CLPlatform.java:154)
	at com.jogamp.opencl.demos.julia3d.Julia3d.<init>(Julia3d.java:48)
	at com.jogamp.opencl.demos.julia3d.Julia3d.main(Julia3d.java:206)
	... 9 more
Caused by: java.lang.ClassNotFoundException: com.jogamp.opencl.impl.CLMemObjectDestructorCallback
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 26 more


multi-device-fractal.jnlp also shows blank window.

In all cases Java complains about unsafe components.

I have Catalyst version: Catalyst_10.12_CCC2_Preview_Win7_Dec7 and Stream SDK version: streamsdk_2-3_win764

My environment variables are:
ATISTREAMSDKROOT=C:\Program Files (x86)\ATI Stream\
ATISTREAMSDKSAMPLESROOT=C:\AMD\ATI Stream Samples\
JAVA_HOME=C:\Program Files\Java\jre6
Path=C:\AMD\ATI Stream Samples\bin\x86_64;C:\AMD\ATI Stream Samples\bin\x86;C:\Program Files (x86)\ATI Stream\bin\x86_64;C:\Program Files (x86)\ATI Stream\bin\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;%JAVA_HOME%\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Stream\Tools\Stream KernelAnalyzer 1.7\


If you reply to this email, your message will be added to the discussion below:
http://jogamp.762907.n3.nabble.com/Some-bugs-tp2291303p2291303.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.

-- 
http://michael-bien.com/