Skip to content

Commit

Permalink
Merge branch 'java7'
Browse files Browse the repository at this point in the history
  • Loading branch information
rjolly committed Feb 28, 2020
2 parents 20912b4 + 7428ee2 commit f1228bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion application/src/main/java/linoleum/application/Packages.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ public boolean accept(final File file) {
add1(new File(javaHome, "lib/tools.jar"));
add1(new File(javaHome, "lib/jconsole.jar"));
if (jar != null && System.getProperty("linoleum.home") == null) {
System.setProperty("linoleum.home", jar.getParent());
final String str = jar.getParent();
if (str != null) {
System.setProperty("linoleum.home", str);
}
}
try {
final String str = System.getProperty("linoleum.home");
Expand Down

0 comments on commit f1228bd

Please sign in to comment.