deploying JOGL apps

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

deploying JOGL apps

Agnes
Hi all,

So far I have been running my JOGL app in Eclipse so I have used Eclipse-specific features to set up a JOGL library with the paths to the necessary natives.

This may be a very dumb question, but what do I have to do to run my app outside Eclipse? In Eclipse I use a wizard to map the location of the native code, but how would I do that on the windows command line?

Many thanks,

Agnes
Reply | Threaded
Open this post in threaded view
|

Re: deploying JOGL apps

Wade Walker
Administrator
Hi Agnes,

Check out the wiki at http://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE#Compile_and_run_your_project_from_the_command_line. It shows how to run from the command line with native libraries (this is the old-style native binaries where you're including .dll/.so/.jnilib files). If you're using the new "natives inside JARs" system, you can just put all the JARs on the command line, with no need for java.library.path.
Reply | Threaded
Open this post in threaded view
|

Re: deploying JOGL apps

Agnes
OK, so all I have to do is add the JARs to my classpath and I'm done?
Reply | Threaded
Open this post in threaded view
|

Re: deploying JOGL apps

Sven Gothel
Administrator
In reply to this post by Wade Walker
On 08/19/2012 07:02 AM, Wade Walker [via jogamp] wrote:
> Hi Agnes,
>
> Check out the wiki at
> http://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE#Compile_and_run_your_project_from_the_command_line.
> It shows how to run from the command line with native libraries (this is the
> old-style native binaries where you're including .dll/.so/.jnilib files). If
> you're using the new "natives inside JARs" system, you can just put all the
> JARs on the command line, with no need for java.library.path.

Further more:

Applets: <http://jogamp.org/wiki/index.php/Using_JOGL_in_a_Java_applet>

WebStart: <http://jogamp.org/wiki/index.php/Using_JOGL_in_Java_Web_Start>

~Sven


signature.asc (910 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: deploying JOGL apps

Wade Walker
Administrator
In reply to this post by Agnes
Agnes wrote
OK, so all I have to do is add the JARs to my classpath and I'm done?
Yes, that's all you have to do. This is the same for any Java app, not just JOGL apps