Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
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  
  Deploying JRE with a game?  (Read 984 times)
0 Members and 1 Guest are viewing this topic.
Offline 20thCenturyBoy

Senior Member


Medals: 3


So much to learn, so little time.


« Posted 2013-01-31 14:18:00 »

Assuming that lots of people do not have Java 7 installed, and the fact I can't force them to install it, is it feasible to include the Java JRE with my game in a subfolder of the game? So that only my game uses it? The JRE wouldn't be "installed" as such,  just available in a folder so I could run javaw.exe. I know this is a "waste" in terms of disk space and download size but is that a problem in these days of TB disks and broadband? A big advantage is that I could guarantee the exact version of the JRE because I would be supplying it! It also means the user would be unaware that Java is there as some users are "Java haters" because of the FUD around applet security.

What do you think?

"I have never done unit testing and I don’t find it a very useful concept" - Jonathan Blow
Offline 65K
« Reply #1 - Posted 2013-01-31 14:24:36 »

That's what I do for all the reasons you mentioned.

Offline Oskuro

JGO Knight


Medals: 39
Exp: 6 years


Coding in Style


« Reply #2 - Posted 2013-01-31 15:13:47 »

Even if you prompt users to install the Java version you supply, it wouldn't be different to the many games that supply their own MSVC or DirectX binaries and prompt for their installation.

The ability to run silently on your provided JRE is certainly a plus.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Roquen
« Reply #3 - Posted 2013-01-31 15:31:01 »

I'm pretty sure that Cas has done a write-up of this.  You don't need to install anything (a number of programs ship with a fixed JRE).  You simply need either a shell script or a small native executable to launch the local JRE (with your chosen set of options...and you can clear should clear/set any environment vars that a user may have manually set), which in turn runs your game.
Offline Varkas
« Reply #4 - Posted 2013-01-31 15:47:55 »

I know this is a "waste" in terms of disk space and download size but is that a problem in these days of TB disks and broadband?

Waste of energy.

The mentioned percentage of waste shrinks, if you deliver more program with the JRE Wink

On a more serious level, bundle the JRE with your game and it's good.


if (error) throw new Brick(); // Blog (german): http://gedankenweber.wordpress.com
Offline Cero
« Reply #5 - Posted 2013-01-31 18:00:03 »

aside the obvious reason its good to hide technology from the user and make something "just work"
and especially in java's case, I want to avoid stupid java hate

Offline princec

JGO Kernel


Medals: 386
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #6 - Posted 2013-01-31 21:14:36 »

http://downloads.puppygames.net/SetupDroidAssault.exe
http://downloads.puppygames.net/DroidAssault_MacOSX.zip
http://downloads.puppygames.net/DroidAssault.tar.gz

sorted, job's a good un.

Cas Smiley

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.

Pippogeek (38 views)
2014-09-24 16:13:29

Pippogeek (29 views)
2014-09-24 16:12:22

Pippogeek (18 views)
2014-09-24 16:12:06

Grunnt (42 views)
2014-09-23 14:38:19

radar3301 (24 views)
2014-09-21 23:33:17

BurntPizza (61 views)
2014-09-21 02:42:18

BurntPizza (31 views)
2014-09-21 01:30:30

moogie (36 views)
2014-09-21 00:26:15

UprightPath (49 views)
2014-09-20 20:14:06

BurntPizza (53 views)
2014-09-19 03:14:18
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!