Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Transition problem to Netbean 6.1 from 6.0  (Read 2187 times)
0 Members and 1 Guest are viewing this topic.
Offline AI Guy

Senior Newbie





« Posted 2008-05-16 18:55:02 »

Today installed Netbeans 6.1 on a Vista machine which had Netbeans 6.0 and the JOGL plug-in.  Said yes to copy settings found of the previous version.

When started,  any classes referencing javax.media.opengl.* have compile problems.  Installed plug-in to 6.1, and got the same jogl-runtime & jogl-project directories in the 6.1 subdirectory of .netbeans.

All code now compiles, and runs until JOGL operations, then just terminates.  The JOGL Capabilities Dialog generates the Exception below.  Does the JOGL plug-in work on 6.1, or is this a transition problem?  My 6.0 installation still works fine, and FYI I never do manual installs of JOGL outside of putting in the plug-in.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
java.lang.UnsatisfiedLinkError: no jogl in java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
   at java.lang.System.loadLibrary(System.java:1030)
   at com.sun.opengl.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:189)
   at com.sun.opengl.impl.NativeLibLoader.access$000(NativeLibLoader.java:49)
   at com.sun.opengl.impl.NativeLibLoader$DefaultAction.loadLibrary(NativeLibLoader.java:80)
   at com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:103)
   at com.sun.opengl.impl.NativeLibLoader.access$200(NativeLibLoader.java:49)
   at com.sun.opengl.impl.NativeLibLoader$1.run(NativeLibLoader.java:111)
   at java.security.AccessController.doPrivileged(Native Method)
   at com.sun.opengl.impl.NativeLibLoader.loadCore(NativeLibLoader.java:109)
   at com.sun.opengl.impl.windows.WindowsGLDrawableFactory.<clinit>(WindowsGLDrawableFactory.java:60)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:169)
   at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:106)
   at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520)
   at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131)
   at net.java.nboglpack.glcapabilities.GLCapabilitiesPanel.createGLDemoCanvas(GLCapabilitiesPanel.java:170)
   at net.java.nboglpack.glcapabilities.GLCapabilitiesPanel.initComponents(GLCapabilitiesPanel.java:206)
   at net.java.nboglpack.glcapabilities.GLCapabilitiesPanel.<init>(GLCapabilitiesPanel.java:40)
   at net.java.nboglpack.glcapabilities.OpenGLCapabilitiesAction.performAction(OpenGLCapabilitiesAction.java:52)
   at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118)
   at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
   at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
   at java.awt.Component.processMouseEvent(Component.java:6038)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
   at java.awt.Component.processEvent(Component.java:5803)
   at java.awt.Container.processEvent(Container.java:2058)
   at java.awt.Component.dispatchEventImpl(Component.java:4410)
   at java.awt.Container.dispatchEventImpl(Container.java:2116)
   at java.awt.Component.dispatchEvent(Component.java:4240)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
   at java.awt.Container.dispatchEventImpl(Container.java:2102)
   at java.awt.Window.dispatchEventImpl(Window.java:2429)
   at java.awt.Component.dispatchEvent(Component.java:4240)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
   at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Offline bienator

Senior Member




OutOfCoffeeException


« Reply #1 - Posted 2008-05-16 19:48:05 »

Hello AI Guy,

thank you for reporting this issue. We (cylab and me) already discussed this in icq, this is probably caused because properties are imported without the system specific deployed natives. I thought I already fixed that in the current version but it seems not :/ (the next one will have the fix)

to workaround this please remove .netbeans\6.1\config\Preferences\javax\media\opengl.properties and restart nb. This will cause re-deployment.

thank you again (I almost forgot about this one Wink).

Offline AI Guy

Senior Newbie





« Reply #2 - Posted 2008-05-16 20:08:35 »

That was it! Thanks.
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline bienator

Senior Member




OutOfCoffeeException


« Reply #3 - Posted 2008-05-16 20:11:11 »

perfect!

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (128 views)
2013-05-17 21:29:12

alaslipknot (135 views)
2013-05-16 21:24:48

gouessej (166 views)
2013-05-16 00:53:38

gouessej (158 views)
2013-05-16 00:17:58

theagentd (170 views)
2013-05-15 15:01:13

theagentd (155 views)
2013-05-15 15:00:54

StreetDoggy (199 views)
2013-05-14 15:56:26

kutucuk (223 views)
2013-05-12 17:10:36

kutucuk (222 views)
2013-05-12 15:36:09

UnluckyDevil (226 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.293 seconds with 21 queries.