Print out some information about the VM model
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 23 Jan 2013 08:12:20 +0100
branchmodel
changeset 536c4e6e1537d66
parent 535 0867fd166be9
child 537 7dbd0a097e44
Print out some information about the VM
launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Bck2BrwsrLauncher.java
     1.1 --- a/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Bck2BrwsrLauncher.java	Tue Jan 22 22:49:03 2013 +0100
     1.2 +++ b/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Bck2BrwsrLauncher.java	Wed Jan 23 08:12:20 2013 +0100
     1.3 @@ -261,6 +261,11 @@
     1.4          LOG.log(Level.INFO, "Showing {0}", uri);
     1.5          if (cmd == null) {
     1.6              try {
     1.7 +                LOG.log(Level.INFO, "Trying Desktop.browse on {0} {2} by {1}", new Object[] {
     1.8 +                    System.getProperty("java.vm.name"),
     1.9 +                    System.getProperty("java.vm.vendor"),
    1.10 +                    System.getProperty("java.vm.version"),
    1.11 +                });
    1.12                  java.awt.Desktop.getDesktop().browse(uri);
    1.13                  LOG.log(Level.INFO, "Desktop.browse successfully finished");
    1.14                  return null;