Code:
@echo off
set java1=%ProgramFiles%\Java\jre7\bin
set java2=%ProgramFiles%\Java\jre6\bin
set args=-jar -Xmx4096M -XX:MaxPermSize=1024M RSBot-4028*.jar org.powerbot.Boot
if not exist "RSBot-4*.jar" (
echo You need to put the RSBot jar in the same folder as this batch file!
GOTO end
)
if exist "%java1%" (
echo Launching RSBot...
"%java1%\java" %args%
GOTO end
)
if exist "%java2%" (
echo Launching RSBot...
"%java2%\java" %args%
GOTO end
)
echo You don't have Java 6 installed on your computer.
echo Opening link to download it.
start http://links.powerbot.org/jre
:end
pause
Save it as RSBot.bat inside a folder with the jar file, where it says 4028 change to whatever version you're using. You need Java 7 JDK & JRE.
This was the previous fix for when you couldn't open 6 tabs, it seems to work for me when I'm unable to open more than 1 client/tab with the new version.