Changeset 1134 for java/AEInstaller2-Updater/src/net/oni2/aeinstaller/updater/AEInstaller2Updater.java
- Timestamp:
- Jun 6, 2020, 2:45:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/AEInstaller2-Updater/src/net/oni2/aeinstaller/updater/AEInstaller2Updater.java
r1078 r1134 5 5 import java.io.FileOutputStream; 6 6 import java.io.PrintStream; 7 import java.text.SimpleDateFormat; 8 import java.util.Date; 7 9 8 10 import javax.swing.JFrame; … … 13 15 import net.oni2.aeinstaller.updater.backend.Paths; 14 16 import net.oni2.aeinstaller.updater.gui.MainWin; 17 import net.oni2.platformtools.PlatformInformation; 15 18 16 19 /** … … 43 46 } 44 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 45 67 if (Paths.getProxySettingsFilename().exists()) { 46 68 ProxySettings.deserializeFromFile(Paths.getProxySettingsFilename());
Note:
See TracChangeset
for help on using the changeset viewer.