@@ -218,7 +218,7 @@ public final class JavaVersion {
|
|||||||
public static final JavaVersion CURRENT_JAVA;
|
public static final JavaVersion CURRENT_JAVA;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
Path currentExecutable = getExecutable(Paths.get(System.getProperty("java.home")));
|
Path currentExecutable = getExecutable(Paths.get(System.getProperty("java.home")).toAbsolutePath());
|
||||||
try {
|
try {
|
||||||
currentExecutable = currentExecutable.toRealPath();
|
currentExecutable = currentExecutable.toRealPath();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user