wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes why jre after exe produced Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "why jre after exe produced" Watch "why jre after exe produced" New topic
Author

why jre after exe produced

joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
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.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18545
    
  40

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.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Ove Lindström
Ranch Hand

Joined: Mar 10, 2008
Posts: 326

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.
 
 
subject: why jre after exe produced
 
Similar Threads
problem with installing eclipse
32 Bit to 64 Bit
Problems with moving app from Netbeans to Tomcat
How to increase Jar heap space in Linux
Problem changing JNLP file association