aspose file tools*
The moose likes Beginning Java and the fly likes Where does it gets one JVM ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Where does it gets one JVM ?" Watch "Where does it gets one JVM ?" New topic
Author

Where does it gets one JVM ?

Sabyasachi Chowdhury
Greenhorn

Joined: Jul 22, 2004
Posts: 7
When I write a java class and put its class file in a server then the server loeads it and executes it.

But when I write a simple java class which has a public static void main method...and when I run it from the comand prompt by typing java HelloWorld how does its gets a JVM?

Sabya
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 804
Somewhere there's a PATH statement that lists the path to the java.exe binary executable. The classpath I believe always includes the current working directory, designated by a period in the CLASSPATH statement...


Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where does it gets one JVM ?
 
Similar Threads
Grren Thread/User Thread..!
In which pakage or class is the java main method
How to handle all these jars?
Green Thread/User Thread of JVM
Oracle JDeveloper Question