Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (416)
games submitted by our members
Games in WIP (307)
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  
  Another jinput webstart question  (Read 1731 times)
0 Members and 1 Guest are viewing this topic.
Offline GameCodingNinja

Senior Newbie





« Posted 2009-07-06 19:08:27 »


1  
2  
3  
4  
5  
6  
7  
8  
9  
  <resources os="Windows" arch="x86_64 x86">
    <nativelib href="jinput-windows-native.jar"/>
  </resources>
  <resources os="Linux" arch="i386 ia64 x84_64">
    <nativelib href="jinput-linux-native.jar"/>
  </resources>
  <resources os="Mac OS">
    <nativelib href="jinput-osx-native.jar"/>
  </resources>


Do these jar files hold the native dll's and such? The latest JInput binaries has one jar file with all the os related code in it. Just confused as to what these are for.
Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #1 - Posted 2009-07-06 21:37:49 »

The java code for the main API and all the plugins is in one jar, and the natives for each platform go in their own jar. If you look at the jnlp here and the jars it refers to you'll see the structure the demos use.

HTH

Endolf

Offline GameCodingNinja

Senior Newbie





« Reply #2 - Posted 2009-07-06 23:01:18 »

I see. That needs to be added to the app's jnlp file and those jar's hold the native binaries. Got it.

Here's the next dumb question. I assume I need these native jars on my web site. Are these jars available some where or do I need to jar the binaries myself?

Sorry for being such a noob.
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #3 - Posted 2009-07-07 08:13:42 »

Jar the binaries yourself, you'll need to sign them too. If your using jogl or LWJGL you'll be needing the natives from there also. For info about creating webstart things, see Kevs tutorial.

HTH

Endolf

Offline GameCodingNinja

Senior Newbie





« Reply #4 - Posted 2009-07-07 14:52:55 »

Thanks, that's what I was wondering.

I've been spoiled by JOGL because it handles everything in the background. This also added to my confusion because I didn't know where this stuff was coming from or if it was just automatic.

Looks like I need an SSL Certificate on my web site just to sign my jar files. I've had to buy them in the past and they are a real pain to keep up with. As cool as web start seems on the surface, it's looking to be more painful then it's worth. Seems to be more practical to just package each game in it's native, downloadable installer. Since all I want to do is make free games, I may not need to go that far.
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 53
Projects: 15


★★★★★


« Reply #5 - Posted 2009-07-07 15:16:01 »

in case it helps, theres a very nice jws tutorial over at http://www.cokeandcode.com/webstarthowto
Offline endolf
« League of Dukes »

JGO Coder


Medals: 4
Projects: 1


Current project release date: sometime in 3003


« Reply #6 - Posted 2009-07-07 19:03:35 »

in case it helps, theres a very nice jws tutorial over at http://www.cokeandcode.com/webstarthowto
That would be the one I linked to, 2 posts up Smiley

Offline GameCodingNinja

Senior Newbie





« Reply #7 - Posted 2009-07-07 23:11:05 »

I appreciate the help. You've all been very kind.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
mrbenebob (18 views)
2013-06-19 14:55:23

BrassApparatus (28 views)
2013-06-19 08:52:37

NegativeZero (31 views)
2013-06-19 03:31:52

NegativeZero (33 views)
2013-06-19 03:24:09

Jesse_Attard (37 views)
2013-06-18 22:03:02

HeroesGraveDev (74 views)
2013-06-15 23:35:23

Vermeer (75 views)
2013-06-14 20:08:06

davedes (76 views)
2013-06-14 16:03:55

alaslipknot (68 views)
2013-06-13 07:56:31

Roquen (91 views)
2013-06-12 04:12:32
Smoothing Algorithm Question
by UprightPath
2013-05-28 02:58:26

Smoothing Algorithm Question
by UprightPath
2013-05-28 02:57:33

Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38
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!