Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  different jogl.jar for different platforms  (Read 1663 times)
0 Members and 2 Guests are viewing this topic.
Offline aaron_08544

JGO n00b
*

Posts: 7


Java games rock!


« on: 2003-11-20 16:28:50 »

Hi,

I am deploying my Java OpenGL app to different platforms and notice that JOGL has different jar files for each one of them. Is there any way to consolidate into one single jar file? Thanks

Aaron
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #1 on: 2003-11-20 16:55:35 »

The jogl.jar that is on java.net and referenced in the JOGL demos' JNLP files is the same for all platforms and is the result of assembling the contents of the individual platforms' jars. If you're using Java Web Start then we would hope that you could just reference that jar in your own JNLP file.

Please file an RFE to have the official releases (which are really developer binaries) have this step be performed, and I'll ask the gaming group to try to do it for the nightly builds as well.
Offline aaron_08544

JGO n00b
*

Posts: 7


Java games rock!


« Reply #2 on: 2003-11-20 17:56:09 »

I am confused. Where can I download the "super jogl.jar" ?
I clicked on the link     *  Precompiled binaries and documentation

and only found platform dependent download.

And where can I file the RFE  ?? A web link would be very much appreciated!

Aaron
Games published by our own members! Go get 'em!
Offline Orangy Tang

JGO Kernel
*****

Posts: 2960
Medals: 37


Monkey for a head


« Reply #3 on: 2003-11-20 17:58:15 »

Uh, when i packaged my app with webstart i found that every binary dist. had its own jar+native pair of files. At first I thought the jars would be shared but each platform ended up having differently sized jar files.

Are the jar files really platform dependant? If not then the builds should be fixed to produce one identical jar file for all plaforms. If not, why not? Huh

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #4 on: 2003-11-20 19:09:19 »

Unfortunately the last time I produced an "official" release I neglected to build the "dist" target in the JOGL build.xml which assembles one platform-independent jogl.jar out of the different platform-specific jars.

We're going to try to have the nightly builds perform this process. In the meantime the JNLP files for the jogl-demos demonstrations have a link to a jogl.jar that will be kept up-to-date and signed by the gaming group at Sun. You can file an RFE on the "Issues" page linked to off the main JOGL page on java.net; you'll probably need to register as an Observer of the JOGL project first if you haven't already.
Offline Yuri Vl. Gushchin

JGO Ninja
***

Posts: 725


Speak Java!


« Reply #5 on: 2003-11-21 01:15:47 »

jogl.jar currently generated by build script is platform-dependent - it containg jogl interface, as well as platform-dependent classes (inplementation).

I will say that different jogl.jar files for every platform is good at least because of you probably don't want to deploy X11- and MacOS-related classes to Windows machine.

Yuri

Yuri Vl. Gushchin
JProof Group
Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #6 on: 2003-11-21 01:45:49 »

I disagree. If the jar files are system specific, you'd need separate downloads for each platform for games that use jogl.

Play Minecraft!
Offline Yuri Vl. Gushchin

JGO Ninja
***

Posts: 725


Speak Java!


« Reply #7 on: 2003-11-21 01:50:14 »

Well, if you are using JavaWebStart, then you anyway deploy different native libs, so deploying native jars will also be no problems.

But if you are providing download pack, then it may be good to have everything bundled together. This depends on what is your main concern - download size, easy-to-install, need in manual installation etc.

Yuri

Yuri Vl. Gushchin
JProof Group
Offline Preston

Sr. Member
**

Posts: 346
Medals: 2



« Reply #8 on: 2003-11-21 01:55:32 »

I fully agree with Ken: there should only be one Jogl.jar for all platforms. It's still confusing "enough" to have different .DLL/.SO/xzy for the different platforms.

Webstart isn't a solution for people wishing to deploy their applications without Internet (CD, Intranet, etc...). Furthermore Java users/developers are used to the fact that a .JAR file has been platform neutral.

Btw the X11 specifc stuff of Jogl.jar named net.java.games.jogl.impl.x11.* zips to 115 KB.

Memento mori.
Offline swpalmer

JGO Kernel
*****

Posts: 3438
Medals: 4


Where's the Kaboom?


« Reply #9 on: 2003-11-21 06:00:47 »

/me hates X11

Games published by our own members! Go get 'em!
Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 8076
Medals: 91


Eh? Who? What? ... Me?


« Reply #10 on: 2003-11-25 04:42:16 »

Platform specific jar == daft. That's one reason I don't like SWT.

Cas Smiley

Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.1 seconds with 20 queries.