Java 教程是为 JDK 8 编写的。本页中描述的示例和实践未利用在后续版本中引入的改进。
This topic lists system properties that can be accessed by rich Internet applications (RIAs) that are restricted to the security sandbox and are launched with or without the Java Network Launch Protocol (JNLP). Some system properties cannot be accessed by sandbox RIAs.
All RIAs can retrieve the following secure system properties:
java.class.versionjava.vendorjava.vendor.urljava.versionos.nameos.archos.versionfile.separatorpath.separatorline.separatorRIAs launched by using JNLP can set and retrieve the following secure properties:
awt.useSystemAAFontSettingshttp.agenthttp.keepAlivejava.awt.syncLWRequestsjava.awt.Window.locationByPlatformjavaws.cfg.jauthenticatorjavax.swing.defaultlfsun.awt.noerasebackgroundsun.awt.erasebackgroundonresizesun.java2d.d3dsun.java2d.dpiawaresun.java2d.noddrawsun.java2d.openglswing.boldMetalswing.metalThemeswing.noxpswing.useSystemFontSettingsSandbox RIAs cannot access the following system properties:
java.class.pathjava.homeuser.diruser.homeuser.name