Adapt Java library path to java-1.8.0-openjdk-aarch32

This commit is contained in:
Petr Písař 2017-01-13 11:15:29 +01:00
commit 20fedc558c
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,5 @@
/* JavaConfig - tool for getting paths for current java environment.
* © 2011 Petr Písař <ppisar@redhat.com>
* © 2011, 2012, 2014, 2017 Petr Písař <ppisar@redhat.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -77,6 +77,13 @@ class JavaConfig {
if (null == architecture || null == home || null == filesep) {
return null;
}
/* Experimental 32-bit ARM openjdk variant uses lib/aarch32. See
* <https://bugzilla.redhat.com/show_bug.cgi?id=1412953>. */
if (architecture.contentEquals("arm") && home.contains("aarch32")) {
architecture = "aarch32";
}
value = value + ":" +
home + filesep + "lib" + filesep + architecture + ":" +
home + filesep + "lib" + filesep + architecture + filesep + "server" +