环境:windows XP ,mysql
在配置目录下找到setpatch.bat,设置以下参数:
@REM The path to where the java installation is
SET JAVA_HOME="D:\oracle11g\product\11.1.0\db_1\jdk"
@REM the classpath, to include any jdbc jar files
SET JDBC_CLASSPATH=D:\program\dbreplicator\java\DBReplicator.jar;mysql-connector-java-5.1.5-bin.jar;log4j.jar
@REM The name of this host, as used by others to connect to it
SET SERVER_NAME=condor-hq
特别注意JAVA_HOME中的目录参数不能有空格,否则无法启动PubServer.bat和SubServer.bat
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16582684/viewspace-625903/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/16582684/viewspace-625903/