Advertisement
Guest User

Untitled

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