IDEMPIERE-3820 Remove unnecessary legacy code requiring JDK instead of JRE

This commit is contained in:
Carlos Ruiz 2018-11-16 14:03:16 -02:00
parent 66d147281e
commit 15b9588912
1 changed files with 0 additions and 2 deletions

View File

@ -46,8 +46,6 @@ public class ConfigVM extends Config
// Java Home, e.g. D:\j2sdk1.4.1\jre
String javaHome = System.getProperty("java.home");
log.fine(javaHome);
if (javaHome.endsWith("jre"))
javaHome = javaHome.substring(0, javaHome.length()-4);
p_data.setJavaHome(javaHome);
} // init