Another jinput webstart question

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.

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

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.

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

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.

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 :slight_smile:

I appreciate the help. You’ve all been very kind.