Skip to content

Commit

Permalink
attempted fix for #579
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Sep 23, 2013
1 parent 2751626 commit 343a3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hawtio-app/src/main/java/io/hawt/app/App.java
Expand Up @@ -42,7 +42,7 @@ public static void main(String[] args) {
} catch (Exception e) {
// lets try find the tools.jar instead
String path = System.getProperty("java.home", ".");
String jreSuffix = "/jre";
String jreSuffix = File.separator + "jre";
if (path.endsWith(jreSuffix)) {
path = path.substring(0, path.length() - jreSuffix.length());
}
Expand Down

0 comments on commit 343a3bd

Please sign in to comment.