我也下载并安装了j2ee,但如何配置及用却不会!我也等候高手的详细说明了!

解决方案 »

  1.   

    是啊,我在2k的系统配置中加入了环境变量(java_home,j2ee_home),运行j2ee.bat后,没出现
    错误,就没了!
      

  2.   

    win98 下跑不起来的 ,use win2k or linux 
      

  3.   

    执行如下脚本!!存为bat文件--看看出现什么!!
    rem @echo on
    rem Set JAVA_HOME and J2EE_HOME before running this script.
    rem set JAVA_HOME to the path where you have Java 2 (JDK1.2) installed.
    rem set J2EE_HOME to the path where you have installed this package (EJB server).if not "%J2EE_HOME%" == "" goto CONT0
    echo ERROR: Set J2EE_HOME before running this script.
    goto END
    :CONT0if EXIST "%J2EE_HOME%\bin\setenv.bat" goto CONT1
    echo ERROR: Set J2EE_HOME to the path of a valid j2sdkee.
    goto END
    :CONT1call %J2EE_HOME%\bin\setenv.batif not "%JAVA_HOME%" == "" goto CONT2
    echo ERROR: Set JAVA_HOME before running this script.
    goto END
    :CONT2if EXIST "%JAVA_HOME%\bin\java.exe" goto CONT3
    echo ERROR: Set JAVA_HOME to the path of a valid jdk.
    goto END
    :CONT3
    @echo on
    %JAVACMD% %LISTEN_OPTIONS% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy==%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath "%CPATH%" com.sun.enterprise.server.J2EEServer -verbose %1:END
    pause