2 Replies Latest reply on Dec 7, 2009 10:21 AM by alkero

    [jBPM4.2] Installation problems

      Hi everyone,

      I'm having quite a few issues trying to install jBPM and jBoss AS. I have downloaded jBPM 4.2, unzipped and gone into the install folder. Running "ant demo.setup.jboss" fails and tells me that my JAVA_HOME is set to something that it definitely is not.

      Here are the installation notes:
      testbase@linux-01:~/surv/jbpm-4.2/install$ ant demo.setup.jboss > a.out

      BUILD FAILED
      /home/testbase/surv/jbpm-4.2/install/build.xml:149: The following error occurred while executing this line:
      /home/testbase/surv/jbpm-4.2/install/build.xml:337: The following error occurred while executing this line:
      /home/testbase/surv/jbpm-4.2/examples/build.xml:85: 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.
      It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"

      Total time: 1 minute 55 seconds

      And a.out: http://pastebin.com/fdc36aaa

      And my JAVA_HOME:

      testbase@linux-01:~/surv/jbpm-4.2/install$ echo $JAVA_HOME
      /usr/lib/jvm/java-1.6.0-openjdk


      Anybody got any ideas why this is failing?

      Cheers,
      Steven