Ignore:
Timestamp:
Jun 6, 2020, 2:45:46 PM (4 years ago)
Author:
alloc
Message:

Updater with a few more log lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/AEInstaller2-Updater/src/net/oni2/aeinstaller/updater/AEInstaller2Updater.java

    r1078 r1134  
    55import java.io.FileOutputStream;
    66import java.io.PrintStream;
     7import java.text.SimpleDateFormat;
     8import java.util.Date;
    79
    810import javax.swing.JFrame;
     
    1315import net.oni2.aeinstaller.updater.backend.Paths;
    1416import net.oni2.aeinstaller.updater.gui.MainWin;
     17import net.oni2.platformtools.PlatformInformation;
    1518
    1619/**
     
    4346                }
    4447
     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
    4567                if (Paths.getProxySettingsFilename().exists()) {
    4668                        ProxySettings.deserializeFromFile(Paths.getProxySettingsFilename());
Note: See TracChangeset for help on using the changeset viewer.