Java Applet Browser Info

JavaScript Disabled – cannot deploy Java applet.

The Java Plugin in a web browser can reveal information such as the operating system and version, system architecture, CPU core count, amount of dedicated memory, network interface enumeration, and file system-related information.

System.getProperties()

OS nameos.name
OS architectureos.arch
OS versionos.version
Java versionjava.version
Java vendorjava.vendor
Java vendor URLjava.vendor.url
JVM namejava.vm.name
JVM versionjava.vm.version
JVM vendorjava.vm.vendor
JVM specification versionjava.vm.specification.version
JVM specification vendorjava.vm.specification.vendor
JVM specification namejava.vm.specification.name
Java specification versionjava.specification.version
Java specification vendorjava.specification.vendor
Java specification namejava.specification.name
Java class versionjava.class.version
File separatorfile.separator
Path separatorpath.separator
Line separatorline.separator
Java HTTP agenthttp.agent

Runtime.getRuntime()

Available ProcessorsavailableProcessors
Free MemoryfreeMemory
Max MemorymaxMemory
Total MemorytotalMemory

ManagementFactory.getRuntimeMXBean()

JVM UptimegetUptime
JVM Start TimegetStartTime

ManagementFactory.getCompilationMXBean()

Compiler NamegetName
Total Compilation TimegetTotalCompilationTime

Locale.getDefault()

Language CodegetLanguage
Display LanguagegetDisplayLanguage
Country CodegetCountry
Display CountrygetDisplayCountry

NetworkInterface.getNetworkInterfaces()

Network Interface Description
InterfaceIs UpMTUPoint-To-PointSupports MulticastLoopbackVirtual
getNameisUpgetMTUisPointToPointsupportsMulticastisLoopbackisVirtual

Leave a Comment (1)