if (replicated) {
try {
final Class repEnvClass = Class.forName
("com.sleepycat.je.rep.utilint.DbCacheSizeRepEnv");
final DbCacheSizeRepEnv repEnv =
(DbCacheSizeRepEnv) repEnvClass.newInstance();
return repEnv.open(tempDir, config, repParams);
} catch (ClassNotFoundException e) {
throw new IllegalStateException(e);
} catch (InstantiationException e) {
throw new IllegalStateException(e);
} catch (IllegalAccessException e) {