Runtime Version Check

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Runtime Version Check

gmseed
Hi

It states at:

http://jogamp.org/wiki/index.php/Jogamp_Versioning_and_Releases#Runtime_Version_Check

under section "Runtime Version Check":

Each module has a build in VersionInfo class with a static main entry, ie com.jogamp.common.util.VersionInfo (gluegen), or com.jogamp.opengl.util.VersionInfo (JOGL).

I downloaded the latest stable JOGL .zip and can't find VersionInfo in either of the indicated packages.

Thanks

Graham
Reply | Threaded
Open this post in threaded view
|

Re: Runtime Version Check

Sven Gothel
Administrator
On Tuesday, November 22, 2011 05:09:33 PM gmseed [via jogamp] wrote:
>
> Hi
>
> It states at:
>
> http://jogamp.org/wiki/index.php/Jogamp_Versioning_and_Releases#Runtime_Version_Check
>

https://jogamp.org/wiki/index.php/Jogamp_Versioning_and_Releases#Runtime_Version_Check

Thank you .. updated.

~Sven


> under section "Runtime Version Check":
>
> Each module has a build in VersionInfo class with a static main entry, ie
> com.jogamp.common.util.VersionInfo (gluegen), or
> com.jogamp.opengl.util.VersionInfo (JOGL).
>
> I downloaded the latest stable JOGL .zip and can't find VersionInfo in
> either of the indicated packages.
>
> Thanks
>
> Graham
Reply | Threaded
Open this post in threaded view
|

Re: Runtime Version Check

gmseed
Hi

Thanks for your reply.

I just ran the test.bat on Windows an it failed - the log is pasted below.

It can't seem to find com/jogamp/newt/opengl/GLWindow although I can see it in jogl.all.jar.

The test.bat includes the line:

set CP_ALL=.;%BLD_DIR%\gluegen-rt.jar;%BLD_DIR%\nativewindow.all.jar;%BLD_DIR%\jogl.all.jar;%BLD_DIR%\newt.all.jar

and in the /jar directory of jogl-2.0-b41-20110916-windows-amd64 I can't see:

nativewindow.all.jar
newt.all.jar

Thanks

Graham

===

java.lang.NoClassDefFoundError: com/jogamp/newt/opengl/GLWindow
Caused by: java.lang.ClassNotFoundException: com.jogamp.newt.opengl.GLWindow
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.jogamp.newt.opengl.GLWindow.  Program will exit.
Exception in thread "main" java.lang.NoClassDefFoundError: com/jogamp/newt/opengl/GLWindow
Caused by: java.lang.ClassNotFoundException: com.jogamp.newt.opengl.GLWindow
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.jogamp.newt.opengl.GLWindow.  Program will exit.
Exception in thread "main"