JOGL - error while "clean and build" project.

Hallo

It is my first post here. Sorry for my INGLISZ.
So I installed NetBeans 6.0 beta and https://netbeans-opengl-pack.dev.java.net/ and then I run my project. And than no problem. JOGL works :smiley:
But when I run New project ->JOGL->Demos->whatever
And i try to build it, i got an error :’(

[quote]init:
deps-clean:
Removing native distibutions
clean:
init:
deps-jar:
Created dir: E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLContextSharingDemo\build\classes
Compiling 1 source file to E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLContextSharingDemo\build\classes
Note: E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLContextSharingDemo\src\demos\testContextSharing\JOGLContextSharingDemo.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
compile:
Created dir: E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLContextSharingDemo\dist
Building jar: E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLContextSharingDemo\dist\JOGLContextSharingDemo.jar
To run this application from the command line without Ant, try:
java -jar “E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLContextSharingDemo\dist\JOGLContextSharingDemo.jar”
Creating native distibutions
Created dir: E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLContextSharingDemo\dist-linux-i586
E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLContextSharingDemo\nbproject\build-jogl-template-impl.xml:12: The following error occurred while executing this line:
E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLContextSharingDemo\nbproject\build-jogl-template-impl.xml:45: E:\Documents and Settings\Tryllion.netbeans\6.0beta1\libs\jogl.jar;E:\Program Files\Java\jdk1.6.0_02\jre\lib\ext\jogl.jar-natives-windows-i586 not found.
BUILD FAILED (total time: 0 seconds)
[/quote]
I have jdk 1.06.03 no 02 ! CLASSPATH is correct, i dont know what to do. I didnt copy jogl.jar etc. to my java jdk directory, i heard it may cause problems.
Dont know what to do, please help me ! :-[

You will probably need to clarify what you mean by “my project”. Is it just any project, or was it doing something with JOGL?

Although from OSX, this is what I get for a clean and build:

[quote]init:
deps-clean:
Deleting directory /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/build
Removing native distibutions
clean:
init:
deps-jar:
Created dir: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/build/classes
Compiling 1 source file to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/build/classes
Note: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/src/demos/testContextSharing/JOGLContextSharingDemo.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
compile:
Created dir: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist
Building jar: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist/JOGLContextSharingDemo.jar
Copy libraries to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist/lib.
To run this application from the command line without Ant, try:
java -jar “/Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist/JOGLContextSharingDemo.jar”
Creating native distibutions
Created dir: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-linux-i586
Deleting: /tmp/platformExcludes.properties
Copying 8 files to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-linux-i586
Created dir: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-linux-amd64
Deleting: /tmp/platformExcludes.properties
Copying 8 files to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-linux-amd64
Created dir: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-macosx-ppc
Deleting: /tmp/platformExcludes.properties
Copying 8 files to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-macosx-ppc
Created dir: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-macosx-universal
Deleting: /tmp/platformExcludes.properties
Copying 8 files to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-macosx-universal
Created dir: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-solaris-sparc
Deleting: /tmp/platformExcludes.properties
Copying 7 files to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-solaris-sparc
Created dir: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-solaris-sparcv9
Deleting: /tmp/platformExcludes.properties
Copying 7 files to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-solaris-sparcv9
Created dir: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-solaris-i586
Deleting: /tmp/platformExcludes.properties
Copying 7 files to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-solaris-i586
Created dir: /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-windows-i586
Deleting: /tmp/platformExcludes.properties
Copying 8 files to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist-windows-i586
Copying 4 files to /Users/jeff/NetBeansProjects/JOGLContextSharingDemo/dist
jar:
BUILD SUCCESSFUL (total time: 3 seconds)
[/quote]
Just a guess, but have you ever done anything with jogl.jar? I haven’t. This plug-in did everything. Maybe for your project you put it somewhere, incompletely, and now things are messed up.

From the error message it looks like you did configure the jogl.jar to reside in “jdk1.6.0_02\jre\lib\ext”. Make sure there really is nothing jogl/glugen related in that path. After that open the Library Manager in Netbeans via “Tools->Libraries”, select JOGL and make sure only “E:\Documents and Settings\Tryllion.netbeans\6.0beta1\libs\jogl.jar” is listed. Remove any other path from the list.

I done all you say. And still not working. :’( Pathi is ok, and there is no jogl/gluegen jars in jdk/jre.
Something realy messed up ! :-
I decided to reinstall all jdks netbeans plugins etc. and… still nothing .

I can run projects, but i cant build them ???
In project->properties->libraries->Compile i have “Missing library: JOGL”.

while bulding:

[quote]Created dir: E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLTextFlowDemo\dist-linux-i586
E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLTextFlowDemo\nbproject\build-jogl-template-impl.xml:12: The following error occurred while executing this line:
E:\Documents and Settings\Tryllion\Moje dokumenty\NetBeansProjects\JOGLTextFlowDemo\nbproject\build-jogl-template-impl.xml:45: E:\Documents and Settings\Tryllion.netbeans\6.0beta2\libs\gluegen-rt.jar-natives-windows-i586 not found.
BUILD FAILED (total time: 1 second)
[/quote]
I did not install or download any JOGL jars , should I ?
And why there is linux-i586 ? I have win XP ! ::slight_smile: