问题描述
运行jboss-4.2.2.GA下的run.bat之后就出现下面的东西,是怎么回事啊?请问如何处理才能启动jboss呢?===============================================================================JBossBootstrapEnvironmentJBOSS_HOME:F:jossjboss-4.2.2.GAJAVA:C:JDKbinjavaJAVA_OPTS:-Djava.library.path="F:jossjboss-4.2.2.GAbinnative;d:oracleproduct10.2.0db_1bin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32wbem;C:JDKbin;C:JDKjrebin;d:progra~1bin;d:progra~1function;d:progra~1samplesrepl;d:programfilesrationalcommon;d:programfilesrationalclearcasebin;c:programfilesibmgsk8lib;D:PROGRA~1IBMSQLLIBBIN;D:PROGRA~1IBMSQLLIBFUNCTION;D:PROGRA~1IBMSQLLIBSAMPLESREPL;C:ProgramFilesMySQLMySQLServer5.0bin;C:apache-ant-1.6.0bin;D:ProgramFilesIBMWebSphereAppServerbin;D:ProgramFilesIBMsolidDBsolidDB6.3bin;C:ProgramFilesCommonFilesThunderNetworkKanKanCodecs;C:ProgramFilesStormIICodec;C:ProgramFilesStormII;C:ProgramFilesIDMComputerSolutionsUltraEdit;C:ProgramFilesIDMComputerSolutionsUltraCompare"-Dprogram.name=run.bat-server-Xms512m-Xmx1024m-XX:MaxPermSize=256m-Dsun.rmi.dgc.client.gcInterval=3600000-Dsun.rmi.dgc.server.gcInterval=3600000CLASSPATH:F:jossjboss-4.2.2.GAbinrun.jar===============================================================================Usage:java[-options]class[args...](toexecuteaclass)orjava[-options]-jarjarfile[args...](toexecuteajarfile)whereoptionsinclude:-clienttoselectthe"client"VM-servertoselectthe"server"VM-hotspotisasynonymforthe"client"VM[deprecated]ThedefaultVMisclient.-cp<classsearchpathofdirectoriesandzip/jarfiles>-classpath<classsearchpathofdirectoriesandzip/jarfiles>A;separatedlistofdirectories,JARarchives,andZIParchivestosearchforclassfiles.-D<name>=<value>setasystemproperty-verbose[:class|gc|jni]enableverboseoutput-versionprintproductversionandexit-version:<value>requirethespecifiedversiontorun-showversionprintproductversionandcontinue-jre-restrict-search|-jre-no-restrict-searchinclude/excludeuserprivateJREsintheversionsearch-?-helpprintthishelpmessage-Xprinthelponnon-standardoptions-ea[:<packagename>...|:<classname>]-enableassertions[:<packagename>...|:<classname>]enableassertions-da[:<packagename>...|:<classname>]-disableassertions[:<packagename>...|:<classname>]disableassertions-esa|-enablesystemassertionsenablesystemassertions-dsa|-disablesystemassertionsdisablesystemassertions-agentlib:<libname>[=<options>]loadnativeagentlibrary<libname>,e.g.-agentlib:hprofseealso,-agentlib:jdwp=helpand-agentlib:hprof=help-agentpath:<pathname>[=<options>]loadnativeagentlibrarybyfullpathname-javaagent:<jarpath>[=<options>]loadJavaprogramminglanguageagent,seejava.lang.instrument-splash:<imagepath>showsplashscreenwithspecifiedimage请按任意键继续...
解决方案
解决方案二:
java_homepathclasspthjboss_home我这样配置好就没什么问题了。ps:jdk必须是5.0或5.0以上的。
解决方案三:
JAVA_HOMEC:ProgramFilesJavajdk1.6.0_10JBOSS_HOMEC:jboss-4.2.3.GAclasspath.;%JAVA_HOME%libdt.jar;%JAVA_HOME%libtools.jarPath%JAVA_HOME%bin;以上是我的jboss-4.2.3.GA环境配置