File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where does it gets one JVM ?

 
Sabyasachi Chowdhury
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 805
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic