aspose file tools*
The moose likes Beginning Java and the fly likes JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JVM" Watch "JVM" New topic
Author

JVM

Suneetha, Rao
Greenhorn

Joined: Dec 27, 2000
Posts: 2
We can run the Java application programme without JVM.How it is possible? Help me!
------------------
Swati Samudra
Greenhorn

Joined: Dec 27, 2000
Posts: 16
It is not possible to run the java program without JVM. I don't think so coz Interpreter in the JVM translates the java bytecodes in to executable program which is then run by the computer system.
deekasha gunwant
Ranch Hand

Joined: May 06, 2000
Posts: 396
Hi Swati,
Yes,You can run a java program without JVM only if u compile the java file directly in to an EXE for the platform on which u want to run it.
otherwise as we do generally that we compile the .java file to a .class file that consists of byte codes now to run this class files we need a interpreter( JVM )that translates byte code to the native code for the platfom on which it is running and hence in this case JVM is inevitable.
but if u have a compiler that directly generates the EXE for the platform u want to run it on then certainly u won't need the JVM.but in this case u will be sacrificing java's platform independence.coz u'll need to have one exe for each platform.

hope this helps
regards
Deekasha

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JVM