Posted By:
Anonymous
Posted On:
Thursday, December 20, 2001 04:46 AM
Dear All, I am trying to write a batch file in Linux to execute the RMI Server for my application. set path=C:Progra~1JavaSoftjre1.2 in set classpath= start rmiregistry 1099 set classpath=.;Jarsclasses12_01.zip;Jarsjgl3.1.0.jar;Jarsmail.jar;Jarsactivation.jar;Jarsjt400Access.zip;Jarsimap.jar;jars as.jar;jarslog4j.jar;jarsmailapi.jar;jarspop3.jar;jarssmtp.jar;c:CaterlinkRMIServeraircanadaClasses;c:CaterlinkRMIServeraircanadajarsjgl3.1.0.jar; java -Djava.security.policy=java.policy -Djava.rmi.server.hostname=172.22.2.239 com.cit.caterlinkserver.CaterLinkServer 172.22.2.239:1099 pause This is t
More>>
Dear All,
I am trying to write a batch file in Linux to execute the RMI Server for my application.
set path=C:Progra~1JavaSoftjre1.2 in
set classpath=
start rmiregistry 1099
set
classpath=.;Jarsclasses12_01.zip;Jarsjgl3.1.0.jar;Jarsmail.jar;Jarsactivation.jar;Jarsjt400Access.zip;Jarsimap.jar;jars
as.jar;jarslog4j.jar;jarsmailapi.jar;jarspop3.jar;jarssmtp.jar;c:CaterlinkRMIServeraircanadaClasses;c:CaterlinkRMIServeraircanadajarsjgl3.1.0.jar;
java -Djava.security.policy=java.policy
-Djava.rmi.server.hostname=172.22.2.239
com.cit.caterlinkserver.CaterLinkServer 172.22.2.239:1099
pause
This is the sample code written in the Windows OS to run the Server Application.
Please guide me to write the bat file in Linux Environment.
Moreover, in the Windows envirionment the JDK is installed in the Program Files directory.Could anyone tell me where will it be installed in the Linux.
I also have the problem of setting the PATH and CLASSPATH variable.
I would be grateful if anyone of you can state the exact code similar to the above for Linux environment.
Thanks
Magesh K G
<<Less