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