Ubuntu is a very popular linux distro and I was pleased to see that there was a version available that was suitable for the Raspberry PI, so as a change instead of the usual Raspbian installation I thought that I would try this out. What…
Tag:
operating system
-
-
This examples uses pi4j library to display operating system information [codesyntax lang=”java”] import com.pi4j.system.NetworkInfo; import com.pi4j.system.SystemInfo; import java.io.IOException; import java.text.ParseException; public class osinfo { public static void main(String[] args) throws InterruptedException, IOException, ParseException { System.out.println(“—————————————————-“); System.out.println(“OPERATING SYSTEM INFO”); System.out.println(“—————————————————-“); System.out.println(“OS Name : ” + SystemInfo.getOsName());…