### Get all System Properties

To list all system properties, use a JavaObject and the getProperties method from the java.lang.System Class.
More information:
http://docs.oracle.com/javase/7/docs/api/java/lang/System.html
Example logging all System properties
`Sub getSystemProperties
' Declare the JavaObject and init the class
Dim JO As JavaObject
JO.InitializeStatic("java.lang.System")
' Get the system properties into one object
Dim objProperties As Object = JO.RunMethod("getProperties", Null)
' Convert the properties object into a list of strings
Dim s As String = objProperties
s.SubString(1)
Dim l As List
l = Regex.Split(", ", s)
l.Sort(True)
' List the properties
For i = 0 To l.Size - 1
Log(l.Get(i))
Next
End Sub`
Output
awt.toolkit=sun.awt.windows.WToolkit
file.encoding.pkg=sun.io
file.encoding=UTF-8
file.separator=\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:\Daten\b4j\opensource\rosandbox\ui\Objects\rosandbox.jar
java.class.version=52.0
java.endorsed.dirs=C:\Program Files (x86)\Java\jdk8\jre\lib\endorsed
java.ext.dirs=C:\Program Files (x86)\Java\jdk8\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home=C:\Program Files (x86)\Java\jdk8\jre
java.io.tmpdir=C:\Users\Robert\AppData\Local\Temp\
java.library.path=C:\Program Files (x86)\Java\jdk8\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Embarcadero\RAD Studio\10.0\bin;C:\Users\Public\Documents\RAD Studio\10.0\Bpl;C:\Program Files\Embarcadero\RAD Studio\10.0\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Prog...
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_05-b13
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.8
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.vendor.url=http://java.oracle.com/
java.vendor=Oracle Corporation
java.version=1.8.0_05
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.8
java.vm.vendor=Oracle Corporation
java.vm.version=25.5-b02
javafx.runtime.version=8.0.5-b13
line.separator=
os.arch=x86
os.name=Windows 8.1
os.version=6.3
path.separator=;
sharing
sun.arch.data.model=32
sun.boot.class.path=C:\Program Files (x86)\Java\jdk8\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk8\jre\classes
sun.boot.library.path=C:\Program Files (x86)\Java\jdk8\jre\bin
sun.cpu.endian=little
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86}
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.java.command=C:\Daten\b4j\opensource\rosandbox\ui\Objects\rosandbox.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=Cp1252
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=
user.country=DE
user.dir=C:\Daten\b4j\OPENSO~1\ROSAND~1\ui\Objects
user.home=C:\Users\Robert
user.language=de
user.name=Robert
user.script=
user.timezone=Europe/Berlin
user.variant=
{javafx.version=8.0.5

Changed: , Category: Application, File: T6C159M1159.htm, ID: 1159