Advertisement
Guest User

Crim's Launcher for TRiBot - v1

a guest
Dec 12th, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.85 KB | None | 0 0
  1. @echo off
  2. color 0c
  3. title TRiBot Launcher
  4. echo This is a TRiBot launcher by Crimson (Version 1)
  5. echo It should automatically search for your Java path
  6. echo And launch the jar with said Java path
  7. echo If there are any errors below the line, please post them on tribot.
  8. echo ---------------------------------------------
  9. if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
  10. :compile
  11. for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\java.exe")
  12. if defined p (%p% -Xmx512m -jar TRiBot_Loader.jar)
  13. if defined p (goto end)
  14. :error
  15. echo You do not have Java installed. Please download it from Oracle's site.
  16. echo An Internet Explorer browser will now open to Oracle's site.
  17. "%programfiles%\Internet Explorer\iexplore.exe" http://www.oracle.com/technetwork/java/javase/downloads/index.html
  18. :end
  19. echo End of this launcher.
  20. pause
  21. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement