Nevermind, I figured it out. Used the .bat method.
this worked for me in the bat file
Code: Select all
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xmx1024M -Xms1024M -jar minecraft_server.jar
instead of using just "java" i put the whole path to the javaw.exe in quotes. (this is the default windows 7 64bit java install path)
note: i tried setting it to 2048 but it gave me some kind of "could not create virtual machine" error