jacorb 的使用(一)

    技术2022-07-02  77

    1. http://www.jacorb.org/download.html 下载最新的2.3版本 2. 将jacorb放在 D:/jacorb 目录下。 3. 修改 /bin目录下的 jaco.bat 文件,内容如下: @echo off rem call java interpreter set JACORB_HOME=D:/jacorb set JAVA_HOME=C:/j2sdk1.4.2_13 set path=%JAVA_HOME%/bin;%path% set CLASSPATH=%JAVA_HOME%/lib/rt.jar set CLASSPATH=%JACORB_HOME%/classes;%JACORB_HOME%/lib/antlr-2.7.2.jar;%JACORB_HOME%/lib/avalon-framework-4.1.5.jar;%JACORB_HOME%/lib/concurrent-1.3.2.jar;%JACORB_HOME%/lib/idl.jar;%JACORB_HOME%/lib/jacorb.jar;%JACORB_HOME%/lib/logkit-1.2.jar;%JACORB_HOME%/lib/picocontainer-1.2.jar;%JACORB_HOME%/lib/wrapper-3.1.0.jar;%CLASSPATH% set CLASSPATH=%JACORB_HOME%/lib/backport-util-concurrent.jar;%CLASSPATH% rem call java interpreter java    -cp %CLASSPATH% -Djacorb.home=%JACORB_HOME% -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton %* rem @JAVA_CMD@ -Djava.endorsed.dirs=@JACORB_HOME@/lib -Djacorb.home=@JACORB_HOME@ -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton -classpath %CLASSPATH% %* 4. 新建 D:/jacorb/classes 目录,将 jacorb.properties 配置文件放在下面。 


    最新回复(0)