public class NJavaSdkUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
protected net.thevpc.nuts.log.NLogOp |
_LOGOP() |
net.thevpc.nuts.NId |
createJdkId(String version) |
net.thevpc.nuts.NVersionFilter |
createVersionFilter(String requestedJavaVersion) |
Predicate<String> |
createVersionFilterPredicate(net.thevpc.nuts.NVersionFilter versionFilter) |
Predicate<String> |
createVersionFilterPredicate(String requestedJavaVersion) |
String |
detectJdkProvider(String name) |
static boolean |
isJava(net.thevpc.nuts.NId id) |
static List<NClassLoaderNodeExt> |
loadNutsClassLoaderNodeExts(net.thevpc.nuts.NClassLoaderNode[] n,
boolean java9) |
static int |
normalizeJavaVersionAsInt(net.thevpc.nuts.NVersion version) |
static NJavaSdkUtils |
of(net.thevpc.nuts.NWorkspace ws) |
String |
resolveJavaCommandByHome(String javaHome) |
String |
resolveJavaCommandByVersion(net.thevpc.nuts.NPlatformLocation nutsPlatformLocation,
boolean javaw) |
String |
resolveJavaCommandByVersion(String requestedJavaVersion,
boolean javaw) |
net.thevpc.nuts.NPlatformLocation |
resolveJdkLocation(net.thevpc.nuts.io.NPath path,
String preferredName) |
net.thevpc.nuts.NPlatformLocation |
resolveJdkLocation(String requestedJavaVersion) |
net.thevpc.nuts.NPlatformLocation[] |
searchJdkLocations() |
net.thevpc.nuts.NPlatformLocation[] |
searchJdkLocations(net.thevpc.nuts.io.NPath loc) |
Future<net.thevpc.nuts.NPlatformLocation[]> |
searchJdkLocationsFuture() |
Future<net.thevpc.nuts.NPlatformLocation[]> |
searchJdkLocationsFuture(net.thevpc.nuts.io.NPath s) |
public static NJavaSdkUtils of(net.thevpc.nuts.NWorkspace ws)
public static List<NClassLoaderNodeExt> loadNutsClassLoaderNodeExts(net.thevpc.nuts.NClassLoaderNode[] n, boolean java9)
public static boolean isJava(net.thevpc.nuts.NId id)
protected net.thevpc.nuts.log.NLogOp _LOGOP()
protected net.thevpc.nuts.log.NLog _LOG()
public Predicate<String> createVersionFilterPredicate(String requestedJavaVersion)
public Predicate<String> createVersionFilterPredicate(net.thevpc.nuts.NVersionFilter versionFilter)
public net.thevpc.nuts.NVersionFilter createVersionFilter(String requestedJavaVersion)
public net.thevpc.nuts.NPlatformLocation resolveJdkLocation(String requestedJavaVersion)
public net.thevpc.nuts.NPlatformLocation[] searchJdkLocations()
public Future<net.thevpc.nuts.NPlatformLocation[]> searchJdkLocationsFuture()
public net.thevpc.nuts.NPlatformLocation[] searchJdkLocations(net.thevpc.nuts.io.NPath loc)
public Future<net.thevpc.nuts.NPlatformLocation[]> searchJdkLocationsFuture(net.thevpc.nuts.io.NPath s)
public net.thevpc.nuts.NPlatformLocation resolveJdkLocation(net.thevpc.nuts.io.NPath path,
String preferredName)
public net.thevpc.nuts.NId createJdkId(String version)
public String resolveJavaCommandByVersion(String requestedJavaVersion, boolean javaw)
public String resolveJavaCommandByVersion(net.thevpc.nuts.NPlatformLocation nutsPlatformLocation, boolean javaw)
public static int normalizeJavaVersionAsInt(net.thevpc.nuts.NVersion version)
Copyright © 2025 vpc open source initiative. All rights reserved.