For me it looks like a path problem,
Try to add this to the path = ;C:\Program Files\Java\jre7\bin
If you run Java 6 writte jre6 instead of jre7 and if you run a 64-Bit system add (x86) after program files, will look like this Program Files(x86)
More detailed instruction: http://forums.technicpack.net/threads/how-to-set-up-a-tekkit-server-step-by-step-guide-win-7-images.2299/