Skip to content

[nativelibs4java] Demos use the old JOGL package name #37

@ochafik

Description

@ochafik

Hi,

When I try to build nativelibs4java from source, I notice that 2 tests (JOGLTest and the Particles demo) import classes from com.sun.opengl.util. However, with the JOGL project having migrated to http://jogamp.org/, this package has been renamed upstream to com.jogamp.opengl.util.

As a result, when I download the latest JOGL from http://jogamp.org/ and run the Particles demo, I get a ClassNotFoundException: com.sun.opengl.util.FPSAnimator.

I tried to modify your source to use com.jogamp.opengl.util instead. But when I rebuild, Maven complains with:
[ERROR] COMPILATION ERROR :
[ERROR] [...]OpenCL/OpenGLDemos/src/main/java/com/nativelibs4java/opencl/demos/particles/ParticlesDemo.java:[49,29] package com.jogamp.opengl.util does not exist

Now, I don't see the jogl jar in your repo, nor the com..opengl.util classes, so I suppose they ship from your Maven repository. My Maven-fu is bad, so I could not find how to fix this locally.

Could you update your Maven repository (and those 2 demos) to use the new com.jogamp.opengl.util?

Google Code Info:
Issue #: 35
Author: yvan.royon
Created On: 2010-10-29T07:34:57.000Z
Closed On: 2011-02-04T16:39:04.000Z

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions