This post is about summarizing different ways to check if user is admin in JAva Use system calls to check if user is admin A Java application can call system command through the class Runnable You can see this post about ways to know if from command line. The code to execute a command […]
How to call native code from a Java application
Methods to call a native function Method 1. Use Runtime class Runtime class contains the exec method that allows the application to run an operating system command. An example of how to use this method: String command = “echo \”Hello World!\”"; Runtime.getRuntime().exec(command); Method 2. Use JNI Java Native Inteface (JNI) is […]
How to print any special character on Ubuntu
Find the Unicode character linked to the character you want to print. Press Ctrl + Shift + u, then type the hexadecimal code of the Unicode character you want to print. External references heemayl, “How to print special characters“, AskUbuntu.com
How to prepare ITIL 4 Foundation Certification
ITIL 4 Foundations Exam is a entry-level certification about service delivery practices among the certifications issued by ITIL. I passed this exam on March 2020, so I would like to share my experience and lessons learnt about it. Some commercial training organizations or apps are mentioned in the post. The idea is not to advertise […]
How to install OpenFortiGUI on Ubuntu Linux
OpenFortiGUI is an open-source VPN-Client to connect to Fortigate VPN-Hardware. It is based on openfortivpn and adds an easy to use and nice GUI on top of it, written in Qt5. This is a tutorial of how to install OpenFortiGUI in Ubuntu Linux. In my case I used version Ubuntu 16.04 LTS. Installation Instructions 1. Add […]
How to install Windows 10 in a Virtual Machine on Ubuntu Linux
There are different virtual machines available for Linux/Ubuntu, but in this tutorial we are using Oracle VM VirtualBox. VirtualBox is a free and open source virtualization software from Oracle. I installed VirtualBox on Ubuntu 16.04 LTS (Xenial Xerus). 1. Add VirtualBox to Ubuntu repository Go to Start > Software & Updates > Other Software […]