code_junkie

Running Jar file in Windows

Nov 13th, 2011
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. java -jar helloworld.jar
  2.  
  3. C:>ftype myjarfile="C:JRE1.6binjavaw.exe" -jar "%1" %*
  4. C:>assoc .jar=myjarfile
  5.  
  6. C:>assoc .jar
  7. C:>ftype jarfile
  8.  
  9. java -jar MyJavaTool.jar
Add Comment
Please, Sign In to add comment