Deploying Java game help

I’m making my entry in Java (as I stated in a previous post), but I don’t know how to deploy my game so that you guys can download it.

I’m using Eclipse as my IDE and pure Java only, no external frameworks.

Any ideas on the best way to deploy my game?

Thanks for any help :)

Comments

montyontherun
28. May 2011 · 16:10 UTC
That depends on the nature of the application. Is it a Java Applet? If yes, then its pretty easy:

Embed the jar or the main .class file on a html page and you’re done.
DivideByZero
28. May 2011 · 16:38 UTC
It’s a desktop java application.

I’ve only started Java so I don’t know much about applets yet.
montyontherun
29. May 2011 · 01:44 UTC
Are you using Swing? Maybe you could try “webstart”. It works like a desktop app, but it takes care of all of the installation over the web.
29. May 2011 · 09:38 UTC
Easiest way would be to just create a “runnable jar” (right-click on project->export->runnable jar(or similar), choose there your project and it will create one big jar with all needed libraries. this you can start just by using java -jar yourjar.jar (jni-libraries are not included and need to be added seperately) ) This is by far the easiest way.