File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
why jre after exe produced
Joined: Feb 26, 2008
Oct 28, 2008 05:21:00
i have developed one console application by using jdk 1.5 in one machine 'A' of windows xp as O.S.
after that i produced the jar file. then with the help of a tool
called JExe Creator i produced a exe file . All the above process was done
in machine A. After that i copied that exe file and pasted in another
machine 'B' of windows xp as O.S . That machine 'B' does not contain jre 1.5. i was unable to run the EXE file. after installing the jre 1.5 only, That Exe file runned.
my question is why we need JRE after EXE file is produced.
Joined: Sep 28, 2004
Oct 28, 2008 05:26:00
then with the help of a tool called JExe Creator i produced a exe file .
Maybe you should look into JExe Creator to see exactly what is done by the tool. Maybe this tool doesn't generate a "pure" executable, and needs a JRE to run.
Java Threads, 3rd Edition
Jini in a Nutshell
Java Gems (contributor)
Joined: Mar 10, 2008
Oct 29, 2008 01:59:00
JExeCreator is NOT a native compiler, it is a native LAUNCHER. It wraps the jars into the executable and also creates a launch-command but it does NOT compile your Java classes to native.
I agree. Here's the link:
subject: why jre after exe produced
How to increase Jar heap space in Linux
Problem changing JNLP file association
Problems with moving app from Netbeans to Tomcat
problem with installing eclipse
32 Bit to 64 Bit
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014