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
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
Unable to locate an executable at "/usr/bin/java/bin/java" (-1)
java version "1.6.0_51"
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?
welcome to the forum.
It looks like that the JAVA or JAVA_HOME is set to /usr/bin/java and there is no installation. Might be that the Grails installation remove it or set a wrong environment.
You should logout and see whether it works with a new login.
If not you should check the profiles where the wrong path for Java is set.