Here's what i figured out, the server won't run because java se 6 and jdk 7 are both installed on my computer, most apps run on java se 6, so that's the default, but 2.1.1 needs jdk 7, i need to know how to direct a command file to use jdk 7 instead of java se 6. This is the command i've been using:
#!/bin/bash
cd "$(dirname "$0")"
exec java -Xmx10G -Xms10G -jar Tekkit.jar