I was wondering if somebody on this forum speaks dutch.
I’ve made a small tutorial in dutch on JOGL (partly / mainly based on NeHe) on http://www.latinpage.be/JOGL and I was wondering if somebody had a use to such a tutorial.
i’m dutch, but i wouldn’t really care for dutch tutorials, i can read english perfectly fine
I’m dutch too
I wouldn’t say that dutch tutorials are useless, but I suppose english tutorials are more useful…
Most dutch people are perfectly able to understand english anyway because, well, dutch alone doesn’t get you very far, does it?
BTW, I just started reading your tutorial and although it’s nice, I have one suggestion:
I wouldn’t recommend people to install JOGL system-wide, because of possible version conflicts. Just include it in the application, and have the app include it on the class path.
I agree with erikd, you should really advise people to use:
java -cp .;c:\jogl\lib\gluegen-rt.jar;c:\jogl\lib\jogl.jar -Djava.library.path=c:\jogl\lib MyJoglAppMainClass
or since Java 6:
java -cp .;c:\jogl\lib\* -Djava.library.path=c:\jogl\lib MyJoglAppMainClass
instead of globally changing PATH and CLASSPATH.
IDEs like Eclipse or Netbeans and Batch files/shell scripts make that easy enough and will make sure that you won’t have any strange version conflicts to solve (these version conflicts might occur for example when trying to run a WebStart application that uses a different JOGL version and the bad thing is that the errors that you will get won’t give you any hints as to why things are not working, there’s no “Incompatible JOGL libs found on system classpath” exception).
If you’re developing and you really want to use PATH and CLASSPATH I would advise to make a seperate batch file/shell script, let’s call it initjogl.bat, and start that manually each time you’re going to work on your code.
[edit]
- modified the -cp argument to include the current directory, I had forgotten it the first time around
- for Linux and Java6 you need to escape the wildcard: -cp .:/path/to/libs/* or use single quotes: -cp ‘.:/path/to/libs/*’
Thanks for the answers,
but I have a problem doing as suggested.
I have a class in the file HelloGLJPanel.java
I can compile it with
javac -classpath "/home/nico/jogl/*" HelloGLJPanel.java
I have to use double-quotes to make it compile.
but when I try
java -cp "/home/nico/jogl/*" -Djava.library.path="/home/nico/jogl" HelloGLJPanel
I get
Exception in thread "main" java.lang.NoClassDefFoundError: HelloGLJPanel
All my jogl files are in /home/nico/jogl directory.
Oh yes, I’m working in linux
Nevermind, found it… ;D
I’m dutch too, for what it’s worth
Good to see I am not the only one
I know that there is not a big audience for dutch tutorials, I’m partly writing them for myself. It’s, perhaps a strange, way to understand more about Java and JOGL… and html, php, css…
I’ll start with stating that i’m dutch aswell
I’ve tried some of your webstart examples and they don’t work for me.
I don’t think my setup is the problem as I can run the demos on https://jogl-demos.dev.java.net/ and also various other demos found on the web perfectly.
I’m running Jdk 1.6.0.2 on slackware. Also there are no stacktraces in the java console.
Maybe you should try them again today,.
I have been messing with them yesterday, they seem to work well on
Ubuntu and windows-XP.
[edit]
Oh yes , you only se something more then an empty field at tutorial2.
Nope sorry, don’t see a thing… the jogl demos work great for me though.
Okay, I’m also very sorry for not being able to solve the problem, I’m not a real JNLP-genius.
Have you tried typing in a console
javaws -uninstall
to empty the cache?
Maybe if someone else has the same problem?