jarInformation

fun jarInformation(classInJar: Class<*>): HashMap<String, String>

Retrieve information about the environment for the given class.

Available key-value-pairs:

  • jarPath - The path to the JAR-file.

  • jarName - The name of the JAR-file.

  • javaVersion - The version of the Java

  • installation used.

  • osArch - Architecture of the system.

  • osName - Name of the operating system.

  • osVersion - Version of the operating system.

Return

A hashmap containing key-value-pairs with information about the JAR-file and system.

Author

Griefed

Parameters

classInJar

Class for which to acquire information about its JAR-file and system.