Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (604)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (654)
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  
  different jogl.jar for different platforms  (Read 2682 times)
0 Members and 1 Guest are viewing this topic.
Offline aaron_08544

Junior Newbie

Java games rock!

« Posted 2003-11-20 21:28:50 »


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

Offline Ken Russell

JGO Coder

Java games rock!

« Reply #1 - Posted 2003-11-20 21:55:35 »

The jogl.jar that is on 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

Junior Newbie

Java games rock!

« Reply #2 - Posted 2003-11-20 22: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!

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Orangy Tang

JGO Kernel

Medals: 57
Projects: 11

Monkey for a head

« Reply #3 - Posted 2003-11-20 22: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

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

JGO Coder

Java games rock!

« Reply #4 - Posted 2003-11-21 00: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; you'll probably need to register as an Observer of the JOGL project first if you haven't already.
Offline Yuri Vl. Gushchin

Senior Devvie

Speak Java!

« Reply #5 - Posted 2003-11-21 06: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 Vl. Gushchin
JProof Group
Offline Markus_Persson

JGO Wizard

Medals: 16
Projects: 19

Mojang Specifications

« Reply #6 - Posted 2003-11-21 06: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

Senior Devvie

Speak Java!

« Reply #7 - Posted 2003-11-21 06: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 Vl. Gushchin
JProof Group
Offline Preston

Senior Devvie

Medals: 4

« Reply #8 - Posted 2003-11-21 06: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* zips to 115 KB.
Offline swpalmer

JGO Coder

Exp: 12 years

Where's the Kaboom?

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

/me hates X11

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

« JGO Spiffy Duke »

Medals: 556
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #10 - Posted 2003-11-25 09:42:16 »

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

Cas Smiley

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

bilznatch (20 views)
2015-08-04 11:03:17

SHC (38 views)
2015-08-01 03:58:20

Jesse (24 views)
2015-07-29 04:35:27

Riven (45 views)
2015-07-27 16:38:00

Riven (25 views)
2015-07-27 15:35:20

Riven (27 views)
2015-07-27 12:26:13

Riven (18 views)
2015-07-27 12:23:39

BurntPizza (41 views)
2015-07-25 00:14:37

BurntPizza (50 views)
2015-07-24 22:06:39

BurntPizza (33 views)
2015-07-24 06:06:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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!