求助:ibm aix5.1下jboss4.0.2启动问题!!!

05-08-15 zhuxa
偶在ibm aix5.1上安装了jboss4.0.2 ,jdk为ibm jdk1.4.2,但是在启动的时候报错:

[zhuxa@xxx]$ pwd

/fs1/zhuxa/AppServer/JBoss/jboss/bin

[zhuxa@xxx]$ ./run.sh

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

JBoss Bootstrap Environment

JBOSS_HOME: /fs1/zhuxa/AppServer/JBoss/jboss

JAVA: /usr/java14_64/bin/java

JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

CLASSPATH: /fs1/zhuxa/AppServer/JBoss/jboss/bin/run.jar:/usr/java14_64/lib/tools.jar

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

The JVM option is invalid: -server

Could not create the Java virtual machine.

Usage: java [-options] class [args...]

(to execute a class)

or java [-jar] [-options] jarfile [args...]

(to execute a jar file)

where options include:

-cp -classpath <directories and zip/jar files separated by :>

set search path for application classes and resources

-D<name>=<value>

set a system property

-verbose[:class|gc|jni]

enable verbose output

-version print product version

-showversion print product version and continue

-? -help print this help message

-X print help on non-standard options

-assert print help on assert options

------------------------------------------------------------------------

从上面的报错信息好象是和Hotspot这个东东有关,但是我只是知道它是一个也动态编译器(for java), 错误信息的:-server参数不对的原因是不是ibm 的jdk没有集成Hotspot这个东东?请高人指点,谢谢!

redlly
2005-08-15 20:35
你环境变量没设置好,上面已经写了阿

The JVM option is invalid: -server
Could not create the Java virtual machine.

path=.;%JAVA_HOME%/bin

zhuxa
2005-08-16 09:22
楼上的,谢谢你回复,但是环境变量path肯定设置好了,如果没有设置好是不会抛出这样的错误,会抛出java这个命令不识别之类的错误.

猜你喜欢