4 Replies Latest reply on Aug 3, 2006 5:56 PM by gseel

    Default Java Installation for IDE

    gseel

      I have just upgraded the underlying Java installation from 1.4 to 1.5 in my JBOSS/Eclipse set-up. JBoss works fine standalone, Eclipse works fine standalone but when I try to start the JBOSS IDE (just upgraded to 1.6.0) in Eclipse it complains that it is looking for the Java 1.4 installation and won't start.

      Where do I set the configuration details to point the IDE at the new Java installation? JAVA_HOME is set to 1.5 and is picked up by standalone JBOSS.

        • 1. Re: Default Java Installation for IDE

          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.

          • 2. Re: Default Java Installation for IDE
            gseel

            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?

            • 3. Re: Default Java Installation for IDE

              Ahh yes...

              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.

              • 4. Re: Default Java Installation for IDE
                gseel

                Yes, that's the one.

                Many thanks.