I think i know what your talking about the only thing i can think of is...
right click run.bat or runserver and where it says jdk change it to the numbers of you java verison worst comes to worst do this...
Open up a new NOTEPAD...and copy this information and paste it in notepad...COPY THIS....
@echo off
title Runserver
"C:/Program Files/Java/jdk1.6.0_06/bin/java.exe" server
pause
now once you copied that into notepad click file and save as.
save it sas runserver.bat or run.bat
then once you save it close that then you will need to find it to add to your source so clickl start then click documents look for what you just saved it as then add it to your source
if that doesn't work then idk ,..but i tried and your welcome