This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JNLP and Web Start and the fly likes Distribute game with two jars with JWS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Distribute game with two jars with JWS" Watch "Distribute game with two jars with JWS" New topic
Author

Distribute game with two jars with JWS

Tobias Ericsson
Greenhorn

Joined: Apr 27, 2009
Posts: 6
Hi

I've made a little game which saves highscores to a database online. It therefore needs the JDBC MySQL Connector/J to function properly. I got it working with the two jars in the same folder but now I want to distribute the game online via JNLP and JWS. Is there a way to make the JNLP file include an extra JAR file?

Here's my JNLP:

If thats not possible then I suppose I have to merge them together in some way, but how do I do that then?

Please help
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

You can define multiple jars like this


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Tobias Ericsson
Greenhorn

Joined: Apr 27, 2009
Posts: 6
Thanks! =)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Distribute game with two jars with JWS