• Welcome to Valhalla Legends Archive.
 

Class -> EXE?

Started by Joe[x86], March 07, 2006, 04:27 PM

Previous topic - Next topic

Joe[x86]

I want to get some class files linked into an EXE to distribute to a friend. Does anyone know any easy-to-use tools to do this with?

An example of what I mean is Eclipse, the Java editor, which was written in Java but is in a native EXE.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

MyndFyre

#1
www.google.com.  The results are too numerous to funnel.

This was the 9th result in the search "java exe":

Quote
Xenoage Java Exe Starter 2.0

(c) 2005 by Andreas Wenger, Xenoage Software


In Java you can generate executable Jar-files. But most windows users are only familiar with Exe files. Moreover it is not possible to assign icons to a Java Archive. This program solves these problems by generating an Exe with an arbitrary icon, that starts the Jar when it is launched. You can also choose which JRE versions are allowed and you can pack the Jar into the Exe file so that you need only to deliver one single file.

Xenoage Java Exe Starter is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License. If you like this program, please support us with a voluntary donation.


QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Joe[x86]

Ugh. I forgot to use Google. Rofl.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

rabbit

The Eclipse exe esentially does the following:

javaw Eclipse
<loading screen>

"Java exe's" don't really exist.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

iago

Quote from: rabbit on March 07, 2006, 09:27 PM
The Eclipse exe esentially does the following:

javaw Eclipse
<loading screen>

"Java exe's" don't really exist.

Yeah, Rabbit is right.  Eclipse and Azureus and stuff just call out to javaw. 

You can have a look at gcj.  It's gcc's Java compiler.  I have no idea how well/poorly it works, having never used it myself.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Banana fanna fo fanna

I think gcj compiles native executables.

Rule

#6
Here's a good article related to this discussion:
http://www.excelsior-usa.com/articles/java-to-exe.html

Joe[x86]

@MyndFyre:
That one didn't work well. Either that or I build the jar wrong (which I probably did).

@Rabbit:
I know, but it'd be a whole lot easier to distribute a jar packed inside an EXE, so it had a nice icon and stuff like that, then to send a jar out to people and them have no clue what to do. Most people know what an EXE does, but not a jar. Not to mention javaw not being assigned to jars.

@Banana fanna fo fanna:
Yeah, but only for Linux.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.