Login  Register

Re: JOGL2...need some advice

Posted by Michael Bien on Jan 03, 2011; 7:31pm
URL: https://forum.jogamp.org/JOGL2-need-some-advice-tp2181185p2187098.html

as previously mentioned the jvm will need the classpath and the library path. If you specify it both should run.

commandline:
java -cp ../lib/jogl.all.jar:.......:myapp.jar -Djava.library.path="../lib" de.mypackage.MyApp

(on windows you have to use ';' instead of the ':' as path seperator)

If you want to distribute your application you will have to create start scripts or some kind of installer which does that for you (e.g http://izpack.org/).

(... or simply use webstart)

if all what you want is to run your app without starting netbeans cd into the project directory and invoke ant which will compile and run it.

-michael

On 01/03/2011 06:09 PM, DerTheri_ [via jogamp] wrote:
its only a small thing that i am not sure how it works.

inside the ide(NB) the demos run perfect, outside (as a standalone programm) i didnt bring it to work.

is there anything i need to take a look at?

( at moment i use as test the simple demo ( quad and the triangle in a window) )


greeting theri



View message @ http://jogamp.762907.n3.nabble.com/JOGL2-need-some-advice-tp2181185p2186142.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.

-- 
http://michael-bien.com/