This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 97783 - javax.media.opengl.GL import fails.
Summary: javax.media.opengl.GL import fails.
Status: RESOLVED DUPLICATE of bug 57392
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-13 21:48 UTC by lvizard
Modified: 2007-03-14 16:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (4.98 KB, image/png)
2007-03-13 21:49 UTC, lvizard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lvizard 2007-03-13 21:48:33 UTC
NetBeans editor in both 6.0M7 and latest daily build 20070312 fails to find the
GL class even though it's in the classpath. Tried both include jogl (version
1.0.0, downloaded from https://jogl.dev.java.net/) as library and as standalone jar.

The same code works flawlessly with 5.5.

Running Ubuntu Edgy with Sun Java 6.
Comment 1 lvizard 2007-03-13 21:49:22 UTC
Created attachment 39456 [details]
screenshot
Comment 2 Jiri Prox 2007-03-14 10:33:27 UTC
How did you add the jar to classpath? As a single jar or did you create library?
I've tried it in current daily build and it worked fine for me.
Comment 3 lvizard 2007-03-14 16:12:52 UTC
It worked after I purged ~/.netbeans/dev and included the single jar. But it
stopped after creating a library which consisted of the jar with class files,
source folder and javadocs and adding it instead of the single jar.

I've noticed that the source distribution doesn't have the GL.java file, so
maybe this is the cause of the problem?

I've also installed the most recent (0313) daily build for tests.
Comment 4 lvizard 2007-03-14 16:17:32 UTC
Yes. Removing the source folder makes NetBeans recreate the class index for
jogl.jar and than automatically everything works again.
Comment 5 Jiri Prox 2007-03-14 16:59:52 UTC
Yes, I see it now. It looks like another duplicate of issue 57392. Thanks for
your investigation of the problem.

*** This issue has been marked as a duplicate of 57392 ***