aspose file tools*
The moose likes Java in General and the fly likes running java without JRE ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "running java without JRE ?" Watch "running java without JRE ?" New topic
Author

running java without JRE ?

Sankar Subbiramaniam
Ranch Hand

Joined: Oct 03, 2000
Posts: 116
Hi,
If i convert my class file to an exe file, then can i run it without installing JRE?
Thanks
Sankar
Snigdha Solanki
Ranch Hand

Joined: Sep 07, 2000
Posts: 128
I guess not, you would need some runtime environment to run class file. However, on windows it is possible for users to run class files using a batch file that uses Microsofts Virtual Machine(jview.exe).Microsoft's VM is installed with IE 5.x.


Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
Greg Brouelette
Ranch Hand

Joined: Jan 23, 2002
Posts: 144
In the search box at the bottom of this page select the saloon.javaranch.com radio button and then search for
.exe
You'll find hundreds of post answering this question.


For a good Prime, call:<br />29819592777931214269172453467810429868925511217482600306406141434158089
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Of course you can just "bundle" the jre with your application without really "installing" it and have your users invoke a bat file that sets the path and classpath on the fly to look at your applications jre even if they do not have java "really" installed.
The jre is not all that big.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: running java without JRE ?