mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Unpack JDK: use x64 JDK version for linux and OS X.
This commit is contained in:
@@ -52,7 +52,7 @@ private void unpackJdk(File osDir, File jdkDir, String archiveFileNamePrefix, St
|
||||
def arch = System.getenv("ProgramFiles(x86)") != null ? "x64" : "x86"
|
||||
jdkFiles = jdkFiles.findAll { it.name.endsWith("_${arch}.tar.gz") }
|
||||
}
|
||||
else {
|
||||
if (SystemInfo.isLinux) {
|
||||
jdkFiles = jdkFiles.findAll { it.name.endsWith("64.tar.gz") }
|
||||
}
|
||||
if (jdkFiles.empty) {
|
||||
|
||||
Reference in New Issue
Block a user