Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Tekkit Server Problem!

launcher.bat technic launcher server! problem with bat

  • Please log in to reply
1 reply to this topic

#1

EpicIncorporated1

Posted 15 July 2012 - 03:58 PM

C:\Users\Boys\Desktop\Minecraft Server\Minecraft Tekkit Server>java -Xmx12288M -
Xms1024M -jar Tekkit.jar nogui
'java' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Boys\Desktop\Minecraft Server\Minecraft Tekkit Server>pause
Press any key to continue . . .



This is what it says please help

Register or log in to remove.

#2

jefe
    jefe

    Creamymin

  • Forum Admin
  • 16130 posts
  • Location: Colorado
  • Minecraft: jefe323

Posted 15 July 2012 - 04:16 PM

Replace "java" with this:

"%ProgramFiles%\Java\jre6\bin\java.exe" if you are using Java 6
"%ProgramFiles%\Java\jre7\bin\java.exe" if you are using Java 7

So your new batch file should look something like this:

Quote

"%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx12288M -Xms1024M -jar Tekkit.jar nogui
PAUSE