Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
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 2205 times)
0 Members and 1 Guest are viewing this topic.
Offline aaron_08544

Junior Newbie




Java games rock!


« Posted 2003-11-20 22: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 Coder




Java games rock!


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

Junior Newbie




Java games rock!


« Reply #2 - Posted 2003-11-20 23: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! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


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




Java games rock!


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

Senior Member




Speak Java!


« Reply #5 - Posted 2003-11-21 07: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 Wizard


Medals: 14
Projects: 19


Mojang Specifications


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




Speak Java!


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

Senior Member


Medals: 4



« Reply #8 - Posted 2003-11-21 07: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.
Offline swpalmer

JGO Coder




Where's the Kaboom?


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

/me hates X11

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

JGO Kernel


Medals: 343
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #10 - Posted 2003-11-25 10: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.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (26 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (13 views)
2014-07-29 10:59:34

E.R. Fleming (34 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (44 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
java-gaming.org 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‑gaming.org
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!