Skip to content

Commit

Permalink
Merge pull request #51 from afester/Issue#50
Browse files Browse the repository at this point in the history
Issue #50: Allow to launch ScenicView from within a path containing spaces
  • Loading branch information
JonathanGiles authored Jan 5, 2021
2 parents c84110a + 93c023e commit 7849555
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ private File findAgent() {
/**
* Find jar distributed in custom image
*/
tempf = new File(new URL("file:///" + System.getProperty("java.home") + "/lib/scenicview.jar").toURI());
tempf = new File(System.getProperty("java.home") + "/lib/scenicview.jar");
}
} catch (MalformedURLException | URISyntaxException e) {
ExceptionLogger.submitException(e, "Attempting to get agent jar.");
Expand Down

0 comments on commit 7849555

Please sign in to comment.