From: Jiba <a1...@So...> - 2001-04-20 14:40:51
|
Hi Sven, I've done a Java Web Start file for GL4Java ! (Java Web Start is a new way to lauch Java apps or applet from a browser - http://java.sun.com/products/javawebstart/ ) This will allow automatic installation of GL4Java for Java Web Start apps ! With Java Web Start, all the file (including classes, datas and native libs) must be placed into .jar files. I've worked with : gl4java.jar gl4java-glutfonts.jar libGL4Java-Linux.jar png.jar (The libGL4Java-Linux.jar file contains all the 3 native libs for Linux.) I've done 2 different extension, one for the PNG jar and one for GL4Java itself; to each extension corresponds a .jnlp file (those files have a XML syntax). The GL4Java extension is cut in two piece, called "GL4Java" and "GL4Java-GlutFonts", so if we doen't need the glut-fonts, they won't be downloaded. The GL4Java extension is run with all security permission (in order to access to native lib); but THIS REQUIRE TO SIGN sign ALL THE JAR. Java Web Start just require to add a mime type in the server for JNLP file, like (for Apache) : application/x-java-jnlp-file JNLP The jnlp files assume that all the file (the jar, gl4java.jnlp, png.jnlp) are in the same directory. This directory must be written in the file, in the "codebase" attrib of the <jnlp> element (replace my value, "http://localhost/~aonw/javaws", with your one). The index.html, test.jnlp and test.jar are just a very little demo, that lauch the GL4Java console (GLContext -info). Those 3 files sould be placed in the same directory than the other. To run the demo you also need to install Java Web Start client (cf URL before). The GL4Java extension can be declared in any .jnlp file, inside the <resources> element as following : <extension name = "GL4Java" href = "[GL4Java URL]/gl4java.jnlp"> <ext-download ext-part = "GL4Java"/> <ext-download ext-part = "GL4Java-GlutFonts"/> </extension> Feel free to modify information stuff or anything. Thanks for reading so far ! Jiba |
From: Sven G. <sgo...@ja...> - 2001-04-21 05:41:01
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 20 April 2001 16:33, Jiba wrote: > Hi Sven, > > I've done a Java Web Start file for GL4Java ! > (Java Web Start is a new way to lauch Java apps or applet from a browser > - http://java.sun.com/products/javawebstart/ ) > ;-) great effort well, i have checked this tool by myself, but i think it is too complicated .. since gl4java 2.7.1, if gl4java is installed, no more need for special privileges (java.policy editing) is needed anymore to run applet's, since gl4java uses the java2's "AccessController.doPrivileged" block ! (work's if installed within jre/lib/ext only, of course) > This will allow automatic installation of GL4Java for Java Web Start > apps ! > too sun TM'ed ;-), too many user interaction, e.g. you have to install java web start, then do some options, the download gl4java, then ... also, the jar's have to be signed .. i do not like this product very much .. anyway, this is just my personal opinion. cheers, sven - -- mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440; fax: +49-521-2399442; icq-uin: 108264795 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE64R0tHdOA30NoFAARAjHlAJ4uH6QfS61OUEH0eaiT97HyWEwlEgCgs/b3 DNx7xwOUfqw2yXtxwWS6lfs= =gWV5 -----END PGP SIGNATURE----- |
From: Jiba <a1...@So...> - 2001-04-23 09:27:35
|
Sven Goethel wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Friday 20 April 2001 16:33, Jiba wrote: > > Hi Sven, > > > > I've done a Java Web Start file for GL4Java ! > > (Java Web Start is a new way to lauch Java apps or applet from a browser > > - http://java.sun.com/products/javawebstart/ ) > > > > ;-) > > great effort > > well, i have checked this tool by myself, > but i think it is too complicated .. > > since gl4java 2.7.1, if gl4java is installed, no more need for > special privileges (java.policy editing) is needed anymore to run applet's, > since gl4java uses the java2's "AccessController.doPrivileged" block ! > (work's if installed within jre/lib/ext only, of course) > > > This will allow automatic installation of GL4Java for Java Web Start > > apps ! > > > > too sun TM'ed ;-), Here, you are true. > too many user interaction, e.g. you have to install > java web start, then do some options, the download gl4java, then ... I really think installation can be easier: install java web start, and then just click to download and launch any application. Lots of people have problems to install my game (Arkanae) so i am trying this... > also, the jar's have to be signed .. > > i do not like this product very much .. > > anyway, this is just my personal opinion. > > cheers, sven > > - -- > mailto:sgo...@ja... > www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ > voice : +49-521-2399440; fax: +49-521-2399442; icq-uin: 108264795 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE64R0tHdOA30NoFAARAjHlAJ4uH6QfS61OUEH0eaiT97HyWEwlEgCgs/b3 > DNx7xwOUfqw2yXtxwWS6lfs= > =gWV5 > -----END PGP SIGNATURE----- > > _______________________________________________ > Gl4java-development mailing list > Gl4...@li... > http://lists.sourceforge.net/lists/listinfo/gl4java-development |