I had the same problem, but I have one more tip. If you've already created the JBoss AS 7 server runtime pointing to the JRE, you'll need to delete it and re-add it using the JDK. Even though I switched the runtime to use the JDK, it still had a reference somewhere to the JRE. Deleting and re-adding using the JDK did the trick.