Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.44 KB | None | 0 0
  1. Microsoft Windows [Version 6.1.7601]
  2. Copyright (c) 2009 Microsoft Corporation. All rights reserved.
  3.  
  4. C:\Users\Joey\Desktop\Dump Folder\Computer\Computer Software\Java\Final Work\.ja
  5. va version>java
  6. Usage: java [-options] class [args...]
  7. (to execute a class)
  8. or java [-options] -jar jarfile [args...]
  9. (to execute a jar file)
  10. where options include:
  11. -d32 use a 32-bit data model if available
  12. -d64 use a 64-bit data model if available
  13. -client to select the "client" VM
  14. -server to select the "server" VM
  15. The default VM is client.
  16.  
  17. -cp <class search path of directories and zip/jar files>
  18. -classpath <class search path of directories and zip/jar files>
  19. A ; separated list of directories, JAR archives,
  20. and ZIP archives to search for class files.
  21. -D<name>=<value>
  22. set a system property
  23. -verbose:[class|gc|jni]
  24. enable verbose output
  25. -version print product version and exit
  26. -version:<value>
  27. Warning: this feature is deprecated and will be removed
  28. in a future release.
  29. require the specified version to run
  30. -showversion print product version and continue
  31. -jre-restrict-search | -no-jre-restrict-search
  32. Warning: this feature is deprecated and will be removed
  33. in a future release.
  34. include/exclude user private JREs in the version search
  35. -? -help print this help message
  36. -X print help on non-standard options
  37. -ea[:<packagename>...|:<classname>]
  38. -enableassertions[:<packagename>...|:<classname>]
  39. enable assertions with specified granularity
  40. -da[:<packagename>...|:<classname>]
  41. -disableassertions[:<packagename>...|:<classname>]
  42. disable assertions with specified granularity
  43. -esa | -enablesystemassertions
  44. enable system assertions
  45. -dsa | -disablesystemassertions
  46. disable system assertions
  47. -agentlib:<libname>[=<options>]
  48. load native agent library <libname>, e.g. -agentlib:hprof
  49. see also, -agentlib:jdwp=help and -agentlib:hprof=help
  50. -agentpath:<pathname>[=<options>]
  51. load native agent library by full pathname
  52. -javaagent:<jarpath>[=<options>]
  53. load Java programming language agent, see java.lang.instrument
  54.  
  55. -splash:<imagepath>
  56. show splash screen with specified image
  57. See http://www.oracle.com/technetwork/java/javase/documentation/index.html for m
  58. ore details.
  59.  
  60. C:\Users\Joey\Desktop\Dump Folder\Computer\Computer Software\Java\Final Work\.ja
  61. va version>java tuna.java
  62. Error: Could not find or load main class tuna.java
  63.  
  64. C:\Users\Joey\Desktop\Dump Folder\Computer\Computer Software\Java\Final Work\.ja
  65. va version>java apples.java
  66. Error: Could not find or load main class apples.java
  67.  
  68. C:\Users\Joey\Desktop\Dump Folder\Computer\Computer Software\Java\Final Work\.ja
  69. va version>java apples
  70. Error: Could not find or load main class apples
  71.  
  72. C:\Users\Joey\Desktop\Dump Folder\Computer\Computer Software\Java\Final Work\.ja
  73. va version>java tuna
  74. Error: Main method not found in class tuna, please define the main method as:
  75. public static void main(String[] args)
  76. or a JavaFX application class must extend javafx.application.Application
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement