mooc-notes

Notes from online courses

View on GitHub

Setting Up a Java Environment - Pluralsight course by Sander Mak

Module 1 - Course Overview

Nothing much to note


Module 2 - Installing and Running Java

Goal

To run a simple Java code - you need do 2 things.

  1. Using “javac” compiler convert the .java file to a .class file = byte code. This byte code is system independent - Write Once Run Anywhere (WORA)
  2. With the help of Java Standard Edition (SE) APIs (for e.g. “System” class is not defined in our program) + Java Virtual Machine (JVM), execute the byte code.

JVM + Java SE APIs + tools like java and “javac” is called the JDK Java Development Kit

Another set of APIs called Java Enterprise Edition (EE) APIs - libraries geared towards developing web applications, enterprise application integrations, database access, etc. whereas Java SE APIs are more fundamental such as networking, file access, creating and managing collections in your code and other basic APIs that you expect your application runtime to offer.

Java EE APIs are not part of the JDK. If you want to build Enterprise Java applications making us of these EE APIs, you’ll need additional tools like an application server that’s on top of the JDK or Java EE APIs for your app.

Oracle has stopped developing Java EE and has donated all of these APIs to the Eclipse Foundation where it lives on as Jakarta EE.

Installing the JDK follow along the course

  1. Download latest JDK - https://jdk.java.net
    1. Not compulsory but convention is to place it in Program Files in Windows

skipping


Module 3 - Using IntelliJ for Java Development

skipping


Module 4 - Packaging Java Applications