How to set Java Home environment variable on Mac OS X

Here I’ll explain how to add JAVA_HOME variable on your MacBook (Mac OS). Set JAVA_HOME in .bash_profile Open Launchpad and search for Terminal and launch it. Edit ~/.bash_profile: and add to the end: ${/usr/libexec/java_home} is a symlink for current Java. Press Ctrl+X to exit and “Y” to save your changes. Now we need to recompile … Read more

How To Set Java Path & JAVA_HOME in Windows 10, MacOS & Ubuntu

I’ll explain to you how to set Java path variable on Windows, macOS, and Ubuntu (Linux). I’ve prepared awesome examples of how to set Java Home via command prompt and GUI (Windows) as well. I’ll show you how to check Java version and verify Java Home variable. Select link depending on your operation system: Set … Read more

How to Update Java on Windows 10

Java update mechanism could be different on Windows 10 depending on your needs: If you want to update from one major version of Java to another one, e.g. from Java 8 to Java 11 – you need to uninstall an old version and install a new one. If you want to update a minor version … Read more

How to Uninstall Java on Ubuntu

There are 2 options depending on the type of JDK (OpenJDK or Oracle JDK) how to uninstall Java in Ubuntu. OracleJDK Check installed Oracle JDK packages: Remove Java 8: Removing Java 9: OpenJDK First of all, take a look at installed OpenJDK packages: Depending on installed packages you should edit a list to remove: Check … Read more

How to Uninstall Java on MacOS

The first requirement to uninstall Java on Mac OS – you should have administrator privileges. Second – you shouldn’t be afraid to use terminal. This method works fine for any version of Java – 8, 9, 10, 11, 12, 13 or any other version. Uninstalling Java on the Mac Click on Launchpad in the dock … Read more

How to Uninstall Java on Windows 10

How to uninstall java on Windows 10? Easy – you can do it in the same way as any other application. Open Start – Settings and search for “Apps & features“: Search for “Java” in “Apps & features” and press “Uninstall” on Java (64-bit): Uninstall Java (TM) SE Development Kit as well: Removing Java is … Read more

How to Update Java on MacOS

It’s really simple to update Java on Mac OS – 3 simple steps. Go to System Preferences and click on Java icon on the bottom. Java Control Panel will be opened, go to Update tab and press Update Now. Java Installer will be opened, press Install Update button. Wait a little bit while a new … Read more

How to Enable Java in Chrome?

Does Chrome support Java? Using Java in Chrome is a little bit tricky at this moment. NPAPI was required to enable Java applets, but since 24th of November 2014, NPAPI was disabled by default. Since April 2015 NPAPI plugins were unpublished from Chrome Web Store. Between this period you could enable it in settings: But … Read more

Auto Increment in MySQL

MySQL autoincrement is used to automatically generate unique numbers for new rows. Usually, it used for identifiers. Let’s write SQL statement to create a new table with autoincrement id column. Every time when you insert a new row into the table new id will be generated: As you can see I don’t provide any values … Read more

How to Join Multiple Tables in SQL

I’ll explain how to join more than two tables in SQL. But first of all, you need to be sure that your MySQL server is installed and running. Let’s create 3 table and write a join SQL statement. For example, we have a student table with 3 students “John”, “Henry” and “Michael”. id name 1 … Read more