I just double click the Tekkit.jar file- I can't get a batch file to work.
OK, I have used this program a friend gave me to create a launch batch file. I tweaked it, and here is what I have:
@echo off
title CraftBukkit Launcher
echo BukkitGen 1.2.2 Generated CraftBukkit Launcher
echo press any key to start server
pause >> nul
cls
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -jar -Xms1G -Xmx3G "C:\Users\<myuser>\Tekkit_Server_3.1.2\Tekkit.jar"
When I try this, I get a pop-up saying that java failed to create the Java Virtual Machine.