我正在尝试让 ActiveMQ 服务器在 RaspberryPI Debian Squeeze 盒子上运行,并且所有内容似乎都已正确安装,但是当我尝试启动该服务时,我得到以下信息......
root@raspberrypi:/var/www/activemq/apache-activemq-5.7.0# bin/activemq
信息:正在加载“/etc/default/activemq”
信息:使用 java '/usr/jre1.7.0_07/bin/java'
/usr/jre1.7.0_07/bin/java: 1: /usr/jre1.7.0_07/bin/java:ELF0
4°: not found
/usr/jre1.7.0_07/bin/java:2:/usr/jre1.7.0_07/bin/java:语法错误:“(”意外
sysv init 脚本提供的任务:
restart - stop running instance (if there is one), start new instance
console - start broker in foreground, useful for debugging purposes
status - check if activemq process is running
setup - create the specified configuration file for this init script
(see next usage section)
此脚本的配置:
The configuration of this script can be placed on /etc/default/activemq or /root/.activemqrc.
To use additional configurations for running multiple instances on the same operating system
rename or symlink script to a name matching to activemq-instance-<INSTANCENAME>.
This changes the configuration location to /etc/default/activemq-instance-<INSTANCENAME> and
$HOME/.activemqrc-instance-<INSTANCENAME>. Configuration files in /etc have higher precedence.
root@raspberrypi:/var/www/activemq/apache-activemq-5.7.0#
看起来某处有错误,但我是一个相当新手,不知道在哪里看。