Webstart vs. jre/lib/ext

Hey Ken and others,

I come across the following yesterday:

Afterwards I proofed it and of course, what Ken said is true. I can’t run jogl webstart applications using the lastest nightly build, while having the same version installed on my JRE by putting jogl.jar to lib/ext and the native libraries to lib/i386 (linux).

As a conclusion, I have removed jogl from the JRE. My question is now, how to delevelop jogl applications. Since I’m using Netbeans 5.0, I can add jogl.jar to the libraries, but what should I do to make the native libs available?

Thanks in advance,
Michael

click on your project node, select properties, select the ‘run’ node,

in the VM options text field, add -Djava.library.path=c:/jogl (replace c:/jogl by the directory containing the jogl native libs

and that’s it !

Lilian

Thanks for the fast reply :slight_smile:

yes i also use the -Djava.library.path method, and i think it’s “easier” than webstart

It’s certainly easier when developping an application, but Webstart might be easier when you want to deploy it, you don’t need batch files and so on…

i like deploying my apps in a .zip or .tgz file

the user extract it where he wants and click on the icon under windows or runs the shell script under linux

i think javaws is good, but as an nd user it doesn’t allow much control over the application