IDEMPIERE-3820 Remove unnecessary legacy code requiring JDK instead of JRE
This commit is contained in:
parent
66d147281e
commit
15b9588912
|
@ -46,8 +46,6 @@ public class ConfigVM extends Config
|
||||||
// Java Home, e.g. D:\j2sdk1.4.1\jre
|
// Java Home, e.g. D:\j2sdk1.4.1\jre
|
||||||
String javaHome = System.getProperty("java.home");
|
String javaHome = System.getProperty("java.home");
|
||||||
log.fine(javaHome);
|
log.fine(javaHome);
|
||||||
if (javaHome.endsWith("jre"))
|
|
||||||
javaHome = javaHome.substring(0, javaHome.length()-4);
|
|
||||||
p_data.setJavaHome(javaHome);
|
p_data.setJavaHome(javaHome);
|
||||||
} // init
|
} // init
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue