Java Ultimate Tools OSHI allows management and the return of read-only info about your computer’s OS and hardware. It uses the package com.jgcomptech.tools.oshi. This library contains the following features:
The OS Info classes return info about the currently installed OS and software.
The retrievable info includes:
- Name
- Version including build number
- Manufacturer
- If OS is a server
- If OS is 32 or 64 bit
- Enhanced info from the registry if running a Windows OS
This class can be found in: com.jgcomptech.tools.oshi.OSInfo
The Hardware Info classes return info about the currently installed hardware.
The retrievable info includes:
- BIOS Release Date, Version and Vendor
- Internal and External IP Address
- OEM Name and Product Name
- Processor Name and Number of Cores
- RAM size
- Hard Drive Info
This class can be found in: com.jgcomptech.tools.oshi.HWInfo
NOTE: This library is fully dependent on the JUT Base library in order to function.
Downloads
Maven Download
Maven
<dependencies> <dependency> <groupId>com.jgcomptech.tools</groupId> <artifactId>java-ultimate-tools-oshi</artifactId> <version>2.0.0</version> </dependency> </dependencies>
Gradle Groovy DSL
compile 'com.jgcomptech.tools:java-ultimate-tools-oshi:2.0.0'
Gradle Kotlin DSL
compile(group = "com.jgcomptech.tools", name = "java-ultimate-tools-oshi", version = "2.0.0")
Scala SBT
libraryDependencies += "com.jgcomptech.tools" % "java-ultimate-tools-oshi" % "2.0.0"
Apache Ivy
<dependency org="com.jgcomptech.tools" name="java-ultimate-tools-oshi" rev="2.0.0" />
Groovy Grape
@Grapes( @Grab(group='com.jgcomptech.tools', module='java-ultimate-tools-oshi', version='2.0.0')
)