Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (688)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Ant build, display list sharing, Java Web Start  (Read 1796 times)
0 Members and 1 Guest are viewing this topic.
Offline Ken Russell

JGO Coder

Java games rock!

« Posted 2003-07-18 06:28:55 »

Some new functionality has recently been checked in to the JOGL and JOGL-demos source trees.

Thanks to Rob Grzywinski and Artur Biesiadowski for the bulk of the work (and to all of you for the feedback), the build processes for JOGL and the demos have been switched from GNU make and the Unix shell environment to pure Ant. There are enough dependencies in the new Ant build files that a rerun of Ant does not perform a full rebuild. The old Makefiles have been deleted from the CVS repository and the build documentation has been updated.

Sharing of display lists and textures between OpenGL contexts has been implemented with a few new methods in GLDrawableFactory which take a GLDrawable as the "share" argument. There is a TestContextSharing test in the jogl-demos tree that illustrates that it is working; this test has been run on Linux, Mac OS X, and Windows. Please post or better yet file an issue if you see any problems with this support.

Java Web Start binaries for the JOGL demos have been posted on They seem to be working well on all supported platforms. These demos illustrate unsigned applications referencing the signed JOGL jar as an extension. If you write a JNLP file to do the same, please keep in mind that the final location of the "current" JOGL jar will probably change. Note also that there is a bug in the web server (which is being worked on) that causes all of the jars to be re-downloaded every time any of the demos is launched. Switching Java Web Start to offline mode may work around the problem.

Finally, several posted JOGL issues have been fixed. Thanks to everyone, in particular pepijnve, abies, and albanc, for their patches and suggested fixes.
Offline Rob Nugent

Junior Devvie

May contain nuts

« Reply #1 - Posted 2003-07-18 11:09:34 »

I just tried to run the JOGL Gears demo via Web Start. Seems OK on Windows, but on Solaris I get an exception at startup thus:

     at demos.gears.Gears.main(
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
     at java.lang.reflect.Method.invoke(
     at com.sun.javaws.Launcher.executeApplication(
     at com.sun.javaws.Launcher.executeMainClass(
     at com.sun.javaws.Launcher.continueLaunch(
     at com.sun.javaws.Launcher.handleApplicationDesc(
     at com.sun.javaws.Launcher.handleLaunchFile(
Caused by: access denied (java.lang.RuntimePermission loadLibrary.jawt)
     at java.lang.SecurityManager.checkPermission(
     at java.lang.SecurityManager.checkLink(
     at java.lang.Runtime.loadLibrary0(
     at java.lang.System.loadLibrary(
     ... 17 more

Anyone got any ideas? This is with J2SDK 1.4.2. I can run other JWS things (such as the Sun 'draw' demo) OK.

Offline Rob Nugent

Junior Devvie

May contain nuts

« Reply #2 - Posted 2003-07-18 11:30:33 »

OK - I think I have fixed it.

It seems that the failure was becuase I had a back-level (June) version of JOGL installed in my Java jre/lib/ext directory. I've updated this to the latest version and all now seems OK.

This would seem to imply that the JWS gears demo was picking the JOGL classes up from jre/lib/ext rather than the version downloaded by JWS.

Still a bit puzzled by this

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Dwinin (73 views)
2015-11-07 13:29:08

Rems19 (81 views)
2015-10-31 01:36:56

Rems19 (79 views)
2015-10-31 01:32:37

williamwoles (107 views)
2015-10-23 10:42:59

williamwoles (93 views)
2015-10-23 10:42:45

Jervac_ (111 views)
2015-10-18 23:29:12

DarkCart (137 views)
2015-10-16 00:58:11

KaiHH (118 views)
2015-10-11 14:10:14

KaiHH (158 views)
2015-10-11 13:26:18

BurntPizza (173 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!