You will need to change your VM configuration in Eclipse. Look in Window > Settings > Java > Java VM. You will need to setup your 1.5 VM and make it the default for your workspace. HTH.
Thanks for the reply but I'm still stuck.
Nearest I can find on Eclipse 3.1.0 is Window>Preferences>Java>Installed JREs but that already points to JDK1.5
Eclipse is running that happily it is just when I tryto start JBoss via Default Server>Start (or the equivalent icon) that I get the error message.
If I run the same installation of JBoss through a cmd window it picks up JDK1.5 as well. System variables also have JAVA_HOME pointing to jdk1.5
Is there a specific config file that the JBoss-IDE uses to start JBoss that I'm overlooking?
Go into the debug configuration for your instance of JBoss and click on the "JDK" tab... you will need to change the JDK that JBossIDE uses to start JBoss with there.
Yes, that's the one.