Add useful startup information.
This commit is contained in:
parent
c13344d0e2
commit
5fe71670e2
2 changed files with 11 additions and 4 deletions
|
|
@ -132,7 +132,11 @@ public class Manager extends Component {
|
|||
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
Logger.getLogger(Manager.class.getName()).fine(() -> "Version: "
|
||||
var logger = Logger.getLogger(Manager.class.getName());
|
||||
logger.fine(() -> "Running on " + System.getProperty("java.vm.name")
|
||||
+ " (" + System.getProperty("java.vm.version") + ")"
|
||||
+ " from " + System.getProperty("java.vm.vendor"));
|
||||
logger.fine(() -> "Version: "
|
||||
+ Manager.class.getPackage().getImplementationVersion());
|
||||
|
||||
// Parse the command line arguments
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue