Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 1.44 KB

README.md

File metadata and controls

72 lines (48 loc) · 1.44 KB

java-in-60-minutes

Java 👸🏻, I hate 🤬 you.

✅ Setup environment 🌳 on MacOS 👩🏼‍💻 (5 minutes)

  1. Download JDK: https://jdk.java.net/15/

  2. Extract it & move to /Library/Java/JavaVirtualMachines/

tar -xvf openjdk-15.0.1_osx-x64_bin.tar
sudo mv jdk-15.0.1.jdk /Library/Java/JavaVirtualMachines
  1. Open .bash_profile and add the following entries at the end of it.
JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home"
PATH="${JAVA_HOME}/bin:${PATH}"
export PATH
  1. Verify the JDK installation
java --version
  1. Download Maven: https://maven.apache.org/download.cgi

  2. Extract it & move to /opt

tar -xvf apache-maven-3.6.3-bin.tar
sudo mv apache-maven-3.6.3/ /opt
  1. Open .bash_profile and add the following entries at the end of it.
export PATH=/opt/apache-maven-3.6.3/bin:$PATH
  1. Verify the Maven installation
mvn --version

✅ Java Core 👻 (20 minutes)

public class AwesomeJava {
    public static void main(String[] args) {
        System.out.println("Hello 🖖 Java. I love ❤️ you.");
    }
}

Details

✅ Spring Boot 💅 (30 minutes)

Details

✅ Docker 🐳 (5 minutes)

Details