Gefällt mir: https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html? Ich würde sagen, Oracle eine Liste
Update (kopiert von Link oben) haben wird:
"file.separator" Character that separates components of a file path. This is "/" on UNIX and "\" on Windows.
"java.class.path" Path used to find directories and JAR archives containing class files. Elements of the class path are separated by a platform-specific character specified in the path.separator property.
"java.home" Installation directory for Java Runtime Environment (JRE)
"java.vendor" JRE vendor name
"java.vendor.url" JRE vendor URL
"java.version" JRE version number
"line.separator" Sequence used by operating system to separate lines in text files
"os.arch" Operating system architecture
"os.name" Operating system name
"os.version" Operating system version
"path.separator" Path separator character used in java.class.path
"user.dir" User working directory
"user.home" User home directory
"user.name" User account name
Eine vollständigere Liste von https://docs.oracle.com/javase/8/docs/api/java/lang/System.html
java.version Java Runtime Environment version
java.vendor Java Runtime Environment vendor
java.vendor.url Java vendor URL
java.home Java installation directory
java.vm.specification.version Java Virtual Machine specification version
java.vm.specification.vendor Java Virtual Machine specification vendor
java.vm.specification.name Java Virtual Machine specification name
java.vm.version Java Virtual Machine implementation version
java.vm.vendor Java Virtual Machine implementation vendor
java.vm.name Java Virtual Machine implementation name
java.specification.version Java Runtime Environment specification version
java.specification.vendor Java Runtime Environment specification vendor
java.specification.name Java Runtime Environment specification name
java.class.version Java class format version number
java.class.path Java class path
java.library.path List of paths to search when loading libraries
java.io.tmpdir Default temp file path
java.compiler Name of JIT compiler to use
java.ext.dirs Path of extension directory or directories Deprecated. This property, and the mechanism which implements it, may be removed in a future release.
os.name Operating system name
os.arch Operating system architecture
os.version Operating system version
file.separator File separator ("/" on UNIX)
path.separator Path separator (":" on UNIX)
line.separator Line separator ("\n" on UNIX)
user.name User's account name
user.home User's home directory
user.dir User's current working directory
Obwohl einige Duplikate, ich glaube, die ehemalige Beschreibungen sind informativer als letztere. Die letztere Listen 28 Objekte, während, wenn ich alle Eigenschaften drucken, meine JVM mit 56 reagiert, aufgeführt einige nicht in den 28 umfassen sun.*
(12), *.awt.*
(3), 7 von 10 Benutzereigenschaften (country.format, country, script, variant, timezone, language, language.format
)
ich immer noch bin interessiert an einer Antwort finden und diese Frage möchte wieder geöffnet werden. Siehe https://meta.stackoverflow.com/q/349307/4428150. – Gustave
Ich nehme an, die richtige Antwort ist "Nein", aber es wäre eine nette Überraschung, wenn sich herausstellt, dass ich falsch liege. – Gustave