Guest User

Untitled

a guest
Apr 27th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. Usage: java [-options] class [args...]
  2. (to execute a class)
  3. or java [-options] -jar jarfile [args...]
  4. (to execute a jar file)
  5. where options include:
  6. -d32 use a 32-bit data model if available
  7. -d64 use a 64-bit data model if available
  8. -server to select the "server" VM
  9. -jamvm to select the "jamvm" VM
  10. -cacao to select the "cacao" VM
  11. -zero to select the "zero" VM
  12. The default VM is server.
  13.  
  14. -cp <class search path of directories and zip/jar files>
  15. -classpath <class search path of directories and zip/jar files>
  16. A : separated list of directories, JAR archives,
  17. and ZIP archives to search for class files.
  18. -D<name>=<value>
  19. set a system property
  20. -verbose[:class|gc|jni]
  21. enable verbose output
  22. -version print product version and exit
  23. -version:<value>
  24. require the specified version to run
  25. -showversion print product version and continue
  26. -jre-restrict-search | -jre-no-restrict-search
  27. include/exclude user private JREs in the version search
  28. -? -help print this help message
  29. -X print help on non-standard options
  30. -ea[:<packagename>...|:<classname>]
  31. -enableassertions[:<packagename>...|:<classname>]
  32. enable assertions with specified granularity
  33. -da[:<packagename>...|:<classname>]
  34. -disableassertions[:<packagename>...|:<classname>]
  35. disable assertions with specified granularity
  36. -esa | -enablesystemassertions
  37. enable system assertions
  38. -dsa | -disablesystemassertions
  39. disable system assertions
  40. -agentlib:<libname>[=<options>]
  41. load native agent library <libname>, e.g. -agentlib:hprof
  42. see also, -agentlib:jdwp=help and -agentlib:hprof=help
  43. -agentpath:<pathname>[=<options>]
  44. load native agent library by full pathname
  45. -javaagent:<jarpath>[=<options>]
  46. load Java programming language agent, see java.lang.instrument
  47. -splash:<imagepath>
  48. show splash screen with specified image
Advertisement
Add Comment
Please, Sign In to add comment