Login to your account and open .profile file $ vi ~/.profile Set JAVA_HOME as follows using syntax export JAVA_HOME=<path-to-java>. If your path is set to
/usr/java/jdk1.5.0_07/bin/java, set it as follows: export JAVA_HOME=/usr/java/jdk1.5.0_07/bin/java Set PATH as follows: export PATH=$PATH:$JAVA_HOME Save and close the file. Just logout and login back to see new changes: echo $JAVA_HOME echo $PATH ssukatja wrote: > > Hi, > > I've problem when installing active mq vers 4.1.1. in HPUX 11.11, as > follow error : > > cygnus:/data1/apache-activemq-4.1.1/bin>./activemq > Error: JAVA_HOME is not defined correctly. > We cannot execute no java in /usr/sbin /usr/bin /usr/ccs/bin > /usr/contrib/bin > /opt/hparray/bin /opt/nettladm/bin /opt/upgrade/bin /opt/fcms/bin > /opt/pd/bin /o > pt/resmon/bin /usr/bin/X11 /usr/contrib/bin/X11 /opt/graphics/common/bin > /opt/gn > ome/bin /opt/mozilla /opt/mx/bin /usr/sbin/diag/contrib /opt/wbem/bin > /opt/wbem/ > sbin /opt/ignite/bin /opt/hpsmh/bin /opt/ftam/bin /opt/ftam/lbin > /sbin/fs/vxfs3. > 5/bin /sbin /home/root > cygnus:/data1/apache-activemq-4.1.1/bin> > > > Please help me to solve this problem.. > > > > Thanks, > > Sudhia > email: [EMAIL PROTECTED] > -- View this message in context: http://www.nabble.com/Active-MQ-installation-problem-tp15998386s2354p16002551.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.