import java.util.Collection;
import java.util.HashMap;
import java.util.List;
+import java.util.Locale;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
if (os.startsWith("Linux"))
{
// ChimeraX .deb and .rpm packages put symbolic link from /usr/bin/chimerax
- pathList.add(String.format("/usr/bin/%s", chimeraExe.toLowerCase()));
+ pathList.add(String.format("/usr/bin/%s", chimeraExe.toLowerCase(Locale.ROOT)));
pathList.add(String.format("/usr/bin/%s", chimeraExe));
pathList.add(
- String.format("/usr/local/bin/%s", chimeraExe.toLowerCase()));
+ String.format("/usr/local/bin/%s", chimeraExe.toLowerCase(Locale.ROOT)));
pathList.add(String.format("/usr/local/bin/%s", chimeraExe));
// these paths also used by .deb and .rpm
pathList.add(String.format("/usr/lib/ucsf-%s/bin/%s",
- chimera.toLowerCase(), chimeraExe));
+ chimera.toLowerCase(Locale.ROOT), chimeraExe));
pathList.add(String.format("/usr/libexec/UCSF-%s/bin/%s", chimera,
chimeraExe));
// user home paths
pathList.add(String.format("%s/bin/%s",
- System.getProperty("user.home"), chimeraExe.toLowerCase()));
+ System.getProperty("user.home"), chimeraExe.toLowerCase(Locale.ROOT)));
pathList.add(String.format("%s/bin/%s",
System.getProperty("user.home"), chimeraExe));
pathList.add(String.format("%s/opt/bin/%s",
- System.getProperty("user.home"), chimeraExe.toLowerCase()));
+ System.getProperty("user.home"), chimeraExe.toLowerCase(Locale.ROOT)));
pathList.add(String.format("%s/opt/bin/%s",
System.getProperty("user.home"), chimeraExe));
pathList.add(String.format("%s/local/bin/%s",
- System.getProperty("user.home"), chimeraExe.toLowerCase()));
+ System.getProperty("user.home"), chimeraExe.toLowerCase(Locale.ROOT)));
pathList.add(String.format("%s/local/bin/%s",
System.getProperty("user.home"), chimeraExe));
}