Guest User

Untitled

a guest
Apr 19th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. Microsoft Windows [Version 6.1.7601]
  2. Copyright (c) 2009 Microsoft Corporation. All rights reserved.
  3.  
  4. C:\Users\martinandt>set path=C:\Program Files\Java\jre6\bin\;%path%
  5.  
  6. C:\Users\martinandt>java
  7. Usage: java [-options] class [args...]
  8. (to execute a class)
  9. or java [-options] -jar jarfile [args...]
  10. (to execute a jar file)
  11.  
  12. where options include:
  13. -server to select the "server" VM
  14. -hotspot is a synonym for the "server" VM [deprecated]
  15. The default VM is server.
  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. require the specified version to run
  28. -showversion print product version and continue
  29. -jre-restrict-search | -jre-no-restrict-search
  30. include/exclude user private JREs in the version search
  31. -? -help print this help message
  32. -X print help on non-standard options
  33. -ea[:<packagename>...|:<classname>]
  34. -enableassertions[:<packagename>...|:<classname>]
  35. enable assertions
  36. -da[:<packagename>...|:<classname>]
  37. -disableassertions[:<packagename>...|:<classname>]
  38. disable assertions
  39. -esa | -enablesystemassertions
  40. enable system assertions
  41. -dsa | -disablesystemassertions
  42. disable system assertions
  43. -agentlib:<libname>[=<options>]
  44. load native agent library <libname>, e.g. -agentlib:hprof
  45. see also, -agentlib:jdwp=help and -agentlib:hprof=help
  46. -agentpath:<pathname>[=<options>]
  47. load native agent library by full pathname
  48. -javaagent:<jarpath>[=<options>]
  49. load Java programming language agent, see java.lang.instrument
  50.  
  51. -splash:<imagepath>
  52. show splash screen with specified image
  53.  
  54. C:\Users\martinandt>java -Xincgc -Xmx1024m -cp "%APPDATA%\.minecraft\bin\minecra
  55. ft.jar;%APPDATA%\.minecraft\bin\lwjgl.jar;%APPDATA%\.minecraft\bin\lwjgl_util.ja
  56. r;%APPDATA%\.minecraft\bin\jinput.jar" -Djava.library.path="%APPDATA%\.minecraft
  57. \bin\natives" net.minecraft.client.Minecraft
  58. Exception in thread "main" java.lang.NoClassDefFoundError: net/minecraft/client/
  59. Minecraft
  60. Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
  61. at java.net.URLClassLoader$1.run(Unknown Source)
  62. at java.security.AccessController.doPrivileged(Native Method)
  63. at java.net.URLClassLoader.findClass(Unknown Source)
  64. at java.lang.ClassLoader.loadClass(Unknown Source)
  65. at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
  66. at java.lang.ClassLoader.loadClass(Unknown Source)
  67. Could not find the main class: net.minecraft.client.Minecraft. Program will exi
  68. t.
  69.  
  70. C:\Users\martinandt>
Add Comment
Please, Sign In to add comment