8 Replies Latest reply on Aug 10, 2005 6:30 PM by Jiyang Hu

    Running jboss-server from IDE, unable to find javac

    Not Given Newbie

      Hi,

      When running the jboss server in debug mode from eclipse, it fails with:

      Unable to find a javac compiler;
      com.sun.tools.javac.Main is not on the classpath.
      Perhaps JAVA_HOME does not point to the JDK

      however, the same jboss server runs fine when started from the command line.

      Where does the JAVA_HOME / classpath get set in eclipse? The environment variables that work when running from the command line, don't seem to make it through to the jboss server when it's run from eclipse.

      Eclipse 3.1.0
      JbossIDE 1.4.1
      Jboss 4.0.1

      Thanks,
      Sean