Peter Johnson wrote:
Thinking about it some more, I suspect that Eclipse is using a JRE. You can tell Eclipse to run with your JDK by adding these lines to the eclipse/eclipse.ini file (replace the path with yours):
Jaikiran Pai wrote:Use the latest JDK 1.6 from Sun. See this for more details.
Jaikiran Pai wrote:
And as you shown from your output, Eclipse seems to be using an earlier JDK6 version. Whereas when you run JBoss from the command line it is using the latest JDK6. So point Eclipse to the JDK which the command line is using.
By the way, I was told previously (I can't remember now where I saw this) that I was supposed to set -vm to:
Is this wrong?
In my JDK (1.6.0_06) there are two copies of jvm.dll. They are located here:
Did you mean the first one?