运行jboss-4.2.2.GA下的run.bat之后就出现下面的东西,是怎么回事啊?
请问如何处理才能启动jboss呢?
=============================================================================== JBoss Bootstrap Environment JBOSS_HOME: F:\joss\jboss-4.2.2.GA JAVA: C:\JDK\bin\java JAVA_OPTS: -Djava.library.path="F:\joss\jboss-4.2.2.GA\bin\native;d:\oracle\p
roduct\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;C
:\JDK\bin;C:\JDK\jre\bin;d:\progra~1\bin;d:\progra~1\function;d:\progra~1\sample
s\repl;d:\program files\rational\common;d:\program files\rational\clearcase\bin;
c:\program files\ibm\gsk8\lib;D:\PROGRA~1\IBM\SQLLIB\BIN;D:\PROGRA~1\IBM\SQLLIB\
FUNCTION;D:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\MySQL\MySQL Server
5.0\bin;C:\apache-ant-1.6.0\bin;D:\Program Files\IBM\WebSphere\AppServer\bin;D:
\Program Files\IBM\solidDB\solidDB6.3\bin;C:\Program Files\Common Files\Thunder
Network\KanKan\Codecs;C:\Program Files\StormII\Codec;C:\Program Files\StormII;C:
\Program Files\IDM Computer Solutions\UltraEdit\;C:\Program Files\IDM Computer S
olutions\UltraCompare\" -Dprogram.name=run.bat -server -Xms512m -Xmx1024m -XX:Ma
xPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcIn
terval=3600000 CLASSPATH: F:\joss\jboss-4.2.2.GA\bin\run.jar===============================================================================Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client. -cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument -splash:<imagepath>
show splash screen with specified image
请按任意键继续. . .
请问如何处理才能启动jboss呢?
=============================================================================== JBoss Bootstrap Environment JBOSS_HOME: F:\joss\jboss-4.2.2.GA JAVA: C:\JDK\bin\java JAVA_OPTS: -Djava.library.path="F:\joss\jboss-4.2.2.GA\bin\native;d:\oracle\p
roduct\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;C
:\JDK\bin;C:\JDK\jre\bin;d:\progra~1\bin;d:\progra~1\function;d:\progra~1\sample
s\repl;d:\program files\rational\common;d:\program files\rational\clearcase\bin;
c:\program files\ibm\gsk8\lib;D:\PROGRA~1\IBM\SQLLIB\BIN;D:\PROGRA~1\IBM\SQLLIB\
FUNCTION;D:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\MySQL\MySQL Server
5.0\bin;C:\apache-ant-1.6.0\bin;D:\Program Files\IBM\WebSphere\AppServer\bin;D:
\Program Files\IBM\solidDB\solidDB6.3\bin;C:\Program Files\Common Files\Thunder
Network\KanKan\Codecs;C:\Program Files\StormII\Codec;C:\Program Files\StormII;C:
\Program Files\IDM Computer Solutions\UltraEdit\;C:\Program Files\IDM Computer S
olutions\UltraCompare\" -Dprogram.name=run.bat -server -Xms512m -Xmx1024m -XX:Ma
xPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcIn
terval=3600000 CLASSPATH: F:\joss\jboss-4.2.2.GA\bin\run.jar===============================================================================Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client. -cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument -splash:<imagepath>
show splash screen with specified image
请按任意键继续. . .
path
classpth
jboss_home我这样配置好就没什么问题了。ps:jdk必须是5.0或5.0以上的。
C:\Program Files\Java\jdk1.6.0_10JBOSS_HOME
C:\jboss-4.2.3.GAclasspath
.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jarPath
%JAVA_HOME%\bin;以上是我的jboss-4.2.3.GA环境配置