PDA

Click to See Complete Forum and Search --> : [RESOLVED] How a application is run without an installation - based on Java


eranga262154
Oct 24th, 2007, 04:29 AM
Hi all,

One of my friend download an application from the web, actually an *.exe file and few folders there in that package. He runs the *.exe the program just start to work, I mean view the interface and ready to work. But there is no installation.

Check the what are inside the folder, found large number of jar files. I know that jar include set of Java classes. My question how those files are execute through the *.exe file.

The most important thing I found is that, no need to install Java either on the machine. No need any related application to install either.

So, how it works. Should exe virtually connect those jar files or anything else is happened there?

ComputerJy
Oct 24th, 2007, 06:28 AM
.exe = Machine code executable

eranga262154
Oct 24th, 2007, 06:38 AM
You mean that exe link all the class files included inside jar files and execute without any installation, just it is not important the working environment at all.

ComputerJy
Oct 24th, 2007, 06:51 AM
I don't know about the one your friend downloaded, this executable might just be a launcher to start the java app. Or it might be a platform dependent executable

eranga262154
Oct 24th, 2007, 06:54 AM
Thats the major issue, even I don't know from where he download it.

nemaroller
Nov 15th, 2007, 11:28 AM
The 'download' has its own private version of the JRE and the EXE you're launchg is using that JRE to execute. Therefore, no installation would be necessary - it just needs to be available somewhere for loading.

eranga262154
Nov 15th, 2007, 08:56 PM
Actually it is a Java app, as ComputerJy says :p I found it.