Package org.gradle.integtests.fixtures.jvm

Examples of org.gradle.integtests.fixtures.jvm.InstalledJvmLocator


    private static List<JvmInstallation> getJvms() {
        if (jvms == null) {
            FileCanonicalizer fileCanonicalizer = NativeServices.getInstance().get(FileCanonicalizer.class);
            jvms = new ArrayList<JvmInstallation>();
            jvms.addAll(new DevInfrastructureJvmLocator(fileCanonicalizer).findJvms());
            jvms.addAll(new InstalledJvmLocator().findJvms());
            jvms.addAll(new HomeDirJvmLocator(fileCanonicalizer).findJvms());
            // Order from most recent to least recent
            Collections.sort(jvms, new Comparator<JvmInstallation>() {
                public int compare(JvmInstallation o1, JvmInstallation o2) {
                    return o2.getVersion().compareTo(o1.getVersion());
View Full Code Here

TOP

Related Classes of org.gradle.integtests.fixtures.jvm.InstalledJvmLocator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.