Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
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  
  Embedding vm: what is allowed?  (Read 1351 times)
0 Members and 1 Guest are viewing this topic.
Offline baegsi

Senior Newbie




Java games rock!


« Posted 2005-01-26 17:25:38 »

I read a post about it somewhere but could not find it, so I hope you don't mind bringing me this up again. I'd like to avoid having customers deal with downloading and installing a JRE so I have either to compile my game to a native exe via JET or bundle it with an embedded vm. The former is costly and adds an additional step to the deployment task so embedding is an option.

My question is: what am I allowed to do? What can be stripped off?

And just out of curiosity: is someone besides Cas doing this?
Offline woogley
« Reply #1 - Posted 2005-01-26 19:01:01 »

go into your JRE folder and view the README.txt file. That file has a section that starts out like this:
Quote

-----------------------------------------------------------------------
Optional Files and Directories
-----------------------------------------------------------------------
The following files may be optionally excluded from redistributions:

and it lists the files which you can exclude from your private jvm
Offline princec
« League of Dukes »

JGO Kernel


Medals: 196
Projects: 3


Eh? Who? What? ... Me?


« Reply #2 - Posted 2005-01-26 20:00:19 »

Probably one or two others doing it. Dunno. It's not an ideal solution but I could use Jet if I wanted to. The way i see it is I'm advertising Sun's JVM and Java whether it's complete or not. Evangelism in mysterious ways.

Cas Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline baegsi

Senior Newbie




Java games rock!


« Reply #3 - Posted 2005-01-27 05:50:05 »

Quote
go into your JRE folder and view the README.txt file. That file has a section that starts out like this:
and it lists the files which you can exclude from your private jvm
Stupid me, I could have find this out by myself  Embarrassed

Not much allowed to leave out...
Offline princec
« League of Dukes »

JGO Kernel


Medals: 196
Projects: 3


Eh? Who? What? ... Me?


« Reply #4 - Posted 2005-01-27 08:52:48 »

The more I lookk at that license agreement the less real reason I can see for it being that way. I once got some BS about "supporting millions of tiny broken versions of Java" but plainly this isn't what's happening here. I can see that if I wanted to ship a Puppygames Game VM based on the Sun code that'd be a nasty and immoral thing to do but as it stands... it's just a great advert for Java technology in gaming to end-users and developers alike. I have met with no progress attempting to get a kosher license for it.

Hm, I'm owed a $45,000 prize by Sun. Maybe they could sort out a license for me instead?

Cas Smiley

Offline JasonB

Junior Member





« Reply #5 - Posted 2005-01-27 18:37:39 »

Quote
The more I lookk at that license agreement the less real reason I can see for it being that way. I once got some BS about "supporting millions of tiny broken versions of Java" but plainly this isn't what's happening here.

There's not even remotely a technical argument for it these days.  Was reading something recently (& after wracking my brains I can't for the life of me remember where) that discussed the reasoning behind re-use of libraries, etc, that basically stemmed from a time where disk space was expensive, but which no longer makes sense in a modern environment. If that was actually a reality you could (sort of) accept an argument that said: it's a dumb idea to distribute a VM with your app/game when there should only be one on a machine.  But disk space -isn't- expensive, and your cut down VM is what... only 2MB... so, at the very least, there should be a licensing exception for these sort of uses.

J
Offline DaveLloyd

Junior Member




Making things happen fast with Java!


« Reply #6 - Posted 2005-01-29 12:33:39 »

JasonB wrote:
Quote

basically stemmed from a time where disk space was expensive, but which no longer makes sense in a modern environment


Surely the issue is RAM not disk. Main memory is always going to be contended. Re-use between processes wouldn't be possible if each app had its own private JVM and libs.  I run enough different Java apps concurrently that this could make a big difference. (PS: I'm not sure how much modern JVMs actually do this though)

Offline princec
« League of Dukes »

JGO Kernel


Medals: 196
Projects: 3


Eh? Who? What? ... Me?


« Reply #7 - Posted 2005-01-29 12:42:47 »

The client version of the latest VM also does class sharing, but the fact is - we don't care! We just want stuff to work.

Cas Smiley

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (140 views)
2013-05-17 21:29:12

alaslipknot (149 views)
2013-05-16 21:24:48

gouessej (180 views)
2013-05-16 00:53:38

gouessej (173 views)
2013-05-16 00:17:58

theagentd (183 views)
2013-05-15 15:01:13

theagentd (168 views)
2013-05-15 15:00:54

StreetDoggy (212 views)
2013-05-14 15:56:26

kutucuk (236 views)
2013-05-12 17:10:36

kutucuk (235 views)
2013-05-12 15:36:09

UnluckyDevil (240 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.071 seconds with 20 queries.