We are writing a small library in java that should collect information from the base system. We can read most of the material from the properties of the system in java, but we cannot find the right way to extract the distribution name when working on Linux. Call
System.getProperty("os.name");
return "Linux" (which we also compile), but we are looking for a way to get, for example. "Ubuntu". We need this solution in java and would like not to parse / etc / release
source share