CJCoding With Joseph
15free / daySign inCreate account

Mastering Java - Full Guide

Getting Java and JavaFX Set Up from Scratch

On this page, I’ll walk you through how to fully install Java and JavaFX, and make sure everything is working by running a simple JavaFX project at the end.


Step 1: Uninstall Any Old Versions of Java

If you already have Java installed, we need to remove it first. This avoids version conflicts and keeps things clean.

Use this link to download the official Uninstall Java Tool and follow the steps to remove any old JDK (Java Development Kit) versions from your computer.


Step 2 - Download JDK 22

Now that your old version is removed, it’s time to install the latest one. Let's install JDK 22. Go to this link to download the JDK 22.

Members only

Keep reading this lesson

You've reached the end of the free preview. Unlock the rest of this lesson plus 14 more lessons in Mastering Java - Full Guide.

  • Unlimited coding questions
  • Unlimited access to all classroom material
  • Weekly live call for questions and guidance
  • 3,000 AI tutor tokens / month
  • Personal SQL database (3 MB)
  • Progress tracking

Cancel any time.