Hi,
Here is the synopsis:
java [ options ] class [ argument ... ]
options - VM options
argument - arguments for your class(String[] args in the main method)
Print java -h in command line to get a list of vm arguments.
Print java -X in command line to get a list of non-standart vm arguments.
More detailed information:
For windows - http://java.sun.com/javase
For linux and solaris - http://java.sun.com/javase
Main Topics
Browse All Topics





by: objectsPosted on 2009-10-31 at 01:00:00ID: 25708833
eg.
java -Xmx1g au.com.objects.MyApp