Skip to content

Commit

Permalink
Add Java and OS details.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrowndotje committed Jun 22, 2023
1 parent d409181 commit 4e44e07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/structurizr/cli/VersionCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public void run(String... args) throws Exception {
} catch (Exception e) {
e.printStackTrace();
}

log.info("Java: " + System.getProperty("java.version") + "/" + System.getProperty("java.vendor") + " (" + System.getProperty("java.home") + ")");
log.info("OS: " + System.getProperty("os.name") + " " + System.getProperty("os.version") + " (" + System.getProperty("os.arch") + ")");
}

}

0 comments on commit 4e44e07

Please sign in to comment.