ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/java/AEInstaller2-Updater/src/net/oni2/aeinstaller/updater/AEInstaller2Updater.java
(Generate patch)

Comparing java/AEInstaller2-Updater/src/net/oni2/aeinstaller/updater/AEInstaller2Updater.java (file contents):
Revision 1078 by alloc, Mon Oct 16 15:31:37 2017 UTC vs.
Revision 1134 by alloc, Sat Jun 6 12:45:46 2020 UTC

# Line 4 | Line 4 | import java.io.File;
4   import java.io.FileNotFoundException;
5   import java.io.FileOutputStream;
6   import java.io.PrintStream;
7 + import java.text.SimpleDateFormat;
8 + import java.util.Date;
9  
10   import javax.swing.JFrame;
11   import javax.swing.SwingUtilities;
# Line 12 | Line 14 | import javax.swing.UIManager;
14   import net.oni2.ProxySettings;
15   import net.oni2.aeinstaller.updater.backend.Paths;
16   import net.oni2.aeinstaller.updater.gui.MainWin;
17 + import net.oni2.platformtools.PlatformInformation;
18  
19   /**
20   * @author Christian Illy
# Line 42 | Line 45 | public class AEInstaller2Updater {
45                          }
46                  }
47  
48 +                SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
49 +                System.out.println("Time:      " + sdf.format(new Date()));
50 +                System.out.println("Java:      \""
51 +                                + System.getProperty("java.runtime.name") + "\" v. "
52 +                                + System.getProperty("java.version") + " by \""
53 +                                + System.getProperty("java.vendor") + "\" (spec. "
54 +                                + System.getProperty("java.specification.version") + ")");
55 +                System.out.println("Java home: " + System.getProperty("java.home"));
56 +                System.out.println("Command:   "
57 +                                + System.getProperty("sun.java.command"));
58 +                System.out.println("PrefsPath: " + Paths.getPrefsPath());
59 +                System.out.println("DownPath:  " + Paths.getDownloadPath());
60 +                System.out.println("TempPath:  " + Paths.getTempPath());
61 +                System.out.println("Platform:  " + System.getProperty("os.name") +
62 +                                " detected as " + PlatformInformation.getPlatform().toString());
63 +                System.out.println("Architect: "
64 +                                + PlatformInformation.getArchitecture());
65 +                System.out.println("");
66 +
67                  if (Paths.getProxySettingsFilename().exists()) {
68                          ProxySettings.deserializeFromFile(Paths.getProxySettingsFilename());
69                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)