Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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  
  Compiling java to .exe's  (Read 1958 times)
0 Members and 1 Guest are viewing this topic.
Offline sponge

Senior Newbie




Ek is Java.


« Posted 2004-06-10 18:18:51 »

The subject says it all.  Is there any way to do this? It would just make (my) Java games accesible to a much wider audience.
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #1 - Posted 2004-06-10 18:28:48 »

The program you want is Excelsior's JET.

However, it is quite possible you don't actually want it.

Most desktop PC's now have the latest version of java installed (as far as we can guessimate from Sun's figures - I've asked for more exact numbers but no-one knows any) so "reaching more people" isn't necessarily worth compiling to native code (although there are other reasons you might want to do this, and you will still increase your market by doing this too - but be sure to get a good idea of by how much before you spend too much time doing it)

malloc will be first against the wall when the revolution comes...
silentx
Guest
« Reply #2 - Posted 2004-06-10 20:34:51 »

Im suprised Blah didnt say this lol but, using webstart instead of an exe would make it more accessible to a larger audience than using an exe, just get a webpage and direct everyone to it with a link that links to the JNLP file and your off. Im not really sure how well the exe compiler things work though.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

JGO Kernel


Medals: 339
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #3 - Posted 2004-06-11 08:55:17 »

Actually Webstart would probably be on a par with a .exe, and then only if it worked properly on a crap old Mac.

With a .exe you can expect approximately 4x as many downloads compared to a jnlp launch.

This is the reality of Java penetration.

I suggest being naughty and distributing a VM embedded in the game for Windows users without Java.

Cas Smiley

Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #4 - Posted 2004-06-16 22:53:46 »

how would you embed the JVM cas? ive tried before, but I didn't know where to start, which files to copy....etc.

Any help with this is greatly appreciated.

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline princec

JGO Kernel


Medals: 339
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #5 - Posted 2004-06-17 08:58:16 »

I couldn't possibly be seen to help in this matter in public Cool

Cas Smiley

Offline frdfsnlght

Senior Newbie




Trying to understand


« Reply #6 - Posted 2004-06-17 15:47:08 »

Redistribution of Java is perfectly legal, as long as you follow the rules.

If you read the license agreement, it directs you the README file located in the root directory of your JDK or JRE installation. That file contains information about redistribution. Sun defines "required" and "optional" files and lists the optional ones (all those not mentioned being required). There doesn't seem to be any requirement about how the files are packaged for redist (i.e., in your own setup.exe without Sun's installer).

In addition, in the JRE README, Sun even allows you to copy the server VM from the JDK and redist that with the JRE. That should please some people.

I imagine the only difficult part is actually building the installer to put all the files in the right places, but that can't be too hard for anyone ready to build an installer.

Just to be clear, I am not a lawyer, nor am I practicing to be one. Read the docs for yourself.

-Tab
Offline princec

JGO Kernel


Medals: 339
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #7 - Posted 2004-06-17 16:31:05 »

Yeah, there's like, this bug in my installation script, and about 11mb of useless crap seems to have gotten accidentally left out of the distribution...

Cas Smiley

Offline sponge

Senior Newbie




Ek is Java.


« Reply #8 - Posted 2004-06-17 18:49:39 »

I would rather download Excelsior Jet than trying to include the VM yourself. I downloaded the trail version, it seems to do its job well.  I only tried to use it once so far and it generated a 20meg file for a 400kb game (though thats the installer, it includes a VM which, for me, kind of defeats the purpose of compiling to exe anyway). I haven't got a hyperlink ready but search for it and you'd find it easily.

Offline mhale

Senior Newbie




Take pity, I'm just a poor blob!


« Reply #9 - Posted 2004-06-28 01:51:11 »

This may help: http://jsmooth.sourceforge.net/. It embeddes a jar file into an exe. It does not bundle the java runtime as well, though.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevinx

Junior Newbie




Java games rock!


« Reply #10 - Posted 2004-06-28 13:26:49 »

Quote
This may help: http://jsmooth.sourceforge.net/. It embeddes a jar file into an exe. It does not bundle the java runtime as well, though.



Hey thanks for that. That looks like a really great option for some of the things that I wanted to do. Great find.

Even though it's licensed under GPL they give the exception that .exes generated don't need to follow the license, just the software itself. Excellent.
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.

pw (12 views)
2014-07-24 01:59:36

Riven (10 views)
2014-07-23 21:16:32

Riven (11 views)
2014-07-23 21:07:15

Riven (12 views)
2014-07-23 20:56:16

ctomni231 (42 views)
2014-07-18 06:55:21

Zero Volt (38 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (34 views)
2014-07-16 23:30:00

Cero (50 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!