1 Reply Latest reply on Aug 14, 2013 5:30 AM by Wolf-Dieter Fink

    Unable to locate an executable at "/usr/bin/java/bin/java" (-1)

    Joe Nicora Newbie

      After recently installing Grails for a new project, my jboss install will not run. I get the following after running ./run.sh

       

      Workhog:bin joenicora$ =========================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: /opt/jboss

       

       

        JAVA: /usr/bin/java

       

       

        JAVA_OPTS: -Dprogram.name=run.sh -Xms1024m -Xmx3072m -XX:MaxPermSize=1024m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

       

       

        CLASSPATH: /opt/jboss/bin/run.jar

       

       

      =========================================================================

       

       

      Unable to locate an executable at "/usr/bin/java/bin/java" (-1)

       

       

      OSX 10.7.5

       

      java version "1.6.0_51"

       

      my bash_profile:

      export  JAVA_HOME=/Library/Java/Home

       

       

      The path in this part of the message doesn't look right: "Unable to locate an executable at "/usr/bin/java/bin/java" (-1)". But changes to my bash_profile never update that path. Any idea what is causing this issue?