Home > Archive > Java Help > August 2006 > JAR executable file problem with(out) java.exe
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
JAR executable file problem with(out) java.exe
|
|
|
| If I have a JAR executable file, but I don't have java.exe, javaw.exe,
or the JRE on my machine.
How can I run it?
Is it possible to have the JRE inside of the JAR executable file adn
still ahve it run ok?
(even if I don't have java.exe nor javaw.exe)
Any help would be appreciated.
| |
| Thomas Weidenfeller 2006-08-24, 8:02 am |
| boo wrote:
> If I have a JAR executable file, but I don't have java.exe, javaw.exe,
> or the JRE on my machine.
> How can I run it?
You can't without the JRE (which includes java and javaw).
> Is it possible to have the JRE inside of the JAR executable file adn
> still ahve it run ok?
No.
> (even if I don't have java.exe nor javaw.exe)
Again no. You are hoping for a miracle.
> Any help would be appreciated.
Install a JRE.
/Thomas
--
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS...ng/java/gui/faq
http://www.uni-giessen.de/faq/archi...g.java.gui.faq/
| |
|
|
Thomas Weidenfeller wrote:
> boo wrote:
>
> You can't without the JRE (which includes java and javaw).
>
>
> No.
>
>
> Again no. You are hoping for a miracle.
You can use the gcj (http://gcc.gnu.org/java/) to create an executable
from the jar.
But, its not going to support Swing or AWT very well. It does work very
well with SWT.
|
|
|
|
|