Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (480)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (546)
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  
  How to distribute Java Runtime Environment with a game.  (Read 11485 times)
0 Members and 1 Guest are viewing this topic.
Offline zappsweden

Junior Member




Java games rock!


« Posted 2006-02-08 00:21:14 »

How and what does Sun Licence say about it?
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 75
Projects: 15


★★★★★


« Reply #1 - Posted 2006-02-08 00:39:13 »

i think if you have to include a jre with ur game you have to include the full unmodified jre with it, which for games mean no cutting out parts which arent' needed.
Offline sunsett

Senior Member




ribbit!


« Reply #2 - Posted 2006-02-08 02:22:31 »

I believe that's correct.  I've been looking into using JSmooth and packaging the JRE inside of it.  It's really slick for being able to install on Windows machines.

-Matt Hicks
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 75
Projects: 15


★★★★★


« Reply #3 - Posted 2006-02-08 02:43:33 »

also gcj is comming along pretty nice of late with the latest classpath, its an alternative if you want to avoid the large overhead of the jre.
Offline sunsett

Senior Member




ribbit!


« Reply #4 - Posted 2006-02-08 02:46:55 »

That can build native executables for Windows, Linux, and Mac?

-Matt Hicks
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 75
Projects: 15


★★★★★


« Reply #5 - Posted 2006-02-08 03:04:36 »

yes but downside is you would probably need access to each to system to build on.
Offline zappsweden

Junior Member




Java games rock!


« Reply #6 - Posted 2006-02-09 14:58:10 »

That can build native executables for Windows, Linux, and Mac?

-Matt Hicks

There is a software exe4j that make exe for windows. Do not know if there are better exe software out there, but this one seems to work satisfactory.

But the main concern in this topic was that users wont have Java installed sometimes. From what I heard so far in this discussion, Sun does not mind if u include their jre with software, for instance make it install inside the game's install file?

Offline kylix999

Junior Member





« Reply #7 - Posted 2006-02-09 17:45:18 »


much better is izpack free java installer, also available as exe not only jar, and this exe can authomaticly download jre from java.sun.com, check it out here:

http://www.izforge.com/
Offline zappsweden

Junior Member




Java games rock!


« Reply #8 - Posted 2006-02-24 13:09:33 »


much better is izpack free java installer, also available as exe not only jar, and this exe can authomaticly download jre from java.sun.com, check it out here:

http://www.izforge.com/


Isn't it ironical that a software that was supposed to make Java installation and running simple  do not run simply run itself...
I downloaded several versions, found no exe's, install files or anything ready to run.
Offline Amos Wenger

Senior Member




Everything's possible, but not everything's fun...


« Reply #9 - Posted 2006-02-24 16:04:37 »

That can build native executables for Windows, Linux, and Mac?

-Matt Hicks

There is a software exe4j that make exe for windows. Do not know if there are better exe software out there, but this one seems to work satisfactory.

You won't drop out Linux anc Mac support, will you ?

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Amos Wenger

Senior Member




Everything's possible, but not everything's fun...


« Reply #10 - Posted 2006-02-24 16:05:14 »

And it's a bad idea to compile your game with different tools on different platforms, I think. Nevertheless, it's risky.

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline noblemaster

JGO Ninja


Medals: 20
Projects: 10


Age of Conquest makes your day!


« Reply #11 - Posted 2006-02-24 19:03:06 »

Install4j looks pretty interesting too! I never tried it though, but it can create installers for Windows, Linux and Mac!

Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #12 - Posted 2006-02-25 13:21:12 »


much better is izpack free java installer, also available as exe not only jar, and this exe can authomaticly download jre from java.sun.com, check it out here:

http://www.izforge.com/


Isn't it ironical that a software that was supposed to make Java installation and running simple  do not run simply run itself...
I downloaded several versions, found no exe's, install files or anything ready to run.
Did you read the docs at all?  Since it assumes you are a programmer and know how to read, you would know that is uses XML config files to build the installer.  There are far to many options to create a GUI wizard.

Offline zappsweden

Junior Member




Java games rock!


« Reply #13 - Posted 2006-03-19 11:15:41 »

.
Offline zappsweden

Junior Member




Java games rock!


« Reply #14 - Posted 2006-03-19 12:18:09 »

problems solved, now it works Smiley
Online CommanderKeith
« Reply #15 - Posted 2006-03-21 01:44:28 »


much better is izpack free java installer, also available as exe not only jar, and this exe can authomaticly download jre from java.sun.com, check it out here:

http://www.izforge.com/


IzPack seems a little useless because it needs a jre to run in the first place. 

With the exe file it can create, what if the user can't download the jre from the net?  Say the game and jre are on a CD,  can the IzPack exe file install the jre from here?

Offline gouessej
« Reply #16 - Posted 2008-05-27 11:01:08 »

And it's a bad idea to compile your game with different tools on different platforms, I think. Nevertheless, it's risky.
You're right. Why don't they use Java Webstart?

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 781
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #17 - Posted 2008-05-27 12:24:13 »

This thread was over 2 years old.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline gouessej
« Reply #18 - Posted 2008-05-27 20:21:14 »

This thread was over 2 years old.
I have used Java Webstart since march 2007 and it was already possible to do this 2 years ago.

Offline fletchergames

Senior Member





« Reply #19 - Posted 2008-05-28 13:49:20 »

I have used Java Webstart since march 2007 and it was already possible to do this 2 years ago.
I believe the point was that posting to 2 year-old threads is generally a waste of time.  It just bumps a thread that no one cares about any more, unless you have some particular reason for doing so.

In response to your post, Java Webstart isn't a great solution.  It requires that the user already have Java.  If you embed Java in your application, there's no question of whether or not they have it or rather they need to upgrade.  And, if a bug appears in a later version of Java, it won't affect your old program.  (This happened with some version around 1.4.2, where you then had to add an extra line of code to prevent a potential crash with full-screen exclusive mode or something.)
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.

atombrot (20 views)
2014-08-19 09:29:53

Tekkerue (21 views)
2014-08-16 06:45:27

Tekkerue (21 views)
2014-08-16 06:22:17

Tekkerue (12 views)
2014-08-16 06:20:21

Tekkerue (19 views)
2014-08-16 06:12:11

Rayexar (55 views)
2014-08-11 02:49:23

BurntPizza (37 views)
2014-08-09 21:09:32

BurntPizza (28 views)
2014-08-08 02:01:56

Norakomi (35 views)
2014-08-06 19:49:38

BurntPizza (65 views)
2014-08-03 02:57:17
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

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

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

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!