diff --git a/tools/demobench/src/main/kotlin/net/corda/demobench/model/JVMConfig.kt b/tools/demobench/src/main/kotlin/net/corda/demobench/model/JVMConfig.kt index 36242ea7df..64dd0fa0b2 100644 --- a/tools/demobench/src/main/kotlin/net/corda/demobench/model/JVMConfig.kt +++ b/tools/demobench/src/main/kotlin/net/corda/demobench/model/JVMConfig.kt @@ -1,15 +1,12 @@ package net.corda.demobench.model -import com.jediterm.terminal.ui.UIUtil import java.nio.file.Path import java.nio.file.Paths import tornadofx.Controller class JVMConfig : Controller() { - private val javaExe = if (UIUtil.isWindows) "java.exe" else "java" - - val javaPath: Path = Paths.get(System.getProperty("java.home"), "bin", javaExe) + val javaPath: Path = Paths.get(System.getProperty("java.home"), "bin", "java") init { log.info("Java executable: " + javaPath)