Java Ultimate Tools – OSHI

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

<dependencies>
    <dependency>
        <groupId>com.jgcomptech.tools</groupId>
        <artifactId>java-ultimate-tools-oshi</artifactId>
        <version>2.0.0</version>
    </dependency>
</dependencies>
compile 'com.jgcomptech.tools:java-ultimate-tools-oshi:2.0.0'
compile(group = "com.jgcomptech.tools", name = "java-ultimate-tools-oshi", version = "2.0.0")
libraryDependencies += "com.jgcomptech.tools" % "java-ultimate-tools-oshi" % "2.0.0"
<dependency org="com.jgcomptech.tools" name="java-ultimate-tools-oshi" rev="2.0.0" />
@Grapes(
  @Grab(group='com.jgcomptech.tools', module='java-ultimate-tools-oshi', version='2.0.0')
)

Version 1.5.1 changes (10/13/2018):
* Added new userHasPermissions method overload to AuthManager
* Added new userHasPermissions method overload to Subject
* Fixed bugs and missing methods in Subject
* Fixed deprecated methods in NativeMethods
* Fixed other small bugs