I'm on Ubuntu Server 11.10
Here's what I did:
I used this code for start.command, note the '&' at the end
Code:
#!/bin/bash
java -Xms256M -Xmx256M -jar minecraft_server.jar nogui &
I went ahead and ran the command
Minecraft started normally
Code:
shimdidly@diwars:~/minecraft$ ./start.command
shimdidly@diwars:~/minecraft$ 177 recipes
27 achievements
2012-03-21 14:21:26 [INFO] Starting minecraft server version 1.2.3
2012-03-21 14:21:26 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
2012-03-21 14:21:26 [INFO] Loading properties
2012-03-21 14:21:26 [INFO] Starting Minecraft server on *:25565
2012-03-21 14:21:26 [INFO] Preparing level "David is Beast"
2012-03-21 14:21:26 [INFO] Default game type: 0
2012-03-21 14:21:26 [INFO] Preparing start region for level 0
2012-03-21 14:21:27 [INFO] Preparing spawn area: 60%
2012-03-21 14:21:28 [INFO] Done (1877834749ns)! For help, type "help" or "?"
shimdidly@diwars:~/minecraft$ jobs
jobs returned nothing. I read somewhere that all I need to do to put a process in the foreground again is to use 'fg %1', but nothing at all appeared for jobs, and 'fg %1' returns 'no such job'