Skip to content

Java Notes

  1. Determine location of Java on Mac OS X
    1. echo $(/usr/libexec/java_home)
  2. Using Ivy with Ant
    • Download Apache Ivy
      1. Put files into ant/lib directory.
      2. Lib directory at ~/.ant/lib - Using sdkman to manage Ant.




Dev Notes

  • Tell Gradle to use a specific jdk version = Point to Java8 -
    • In - on Mac OS X with SDKMAN installed

Learning to use Spring


  • Start with maven
  • mvn archetype:generate -DartifactId=tutorial -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
  • cd tutorial
  • mvn package
  • java -cp target/tutorial-1.0-SNAPSHOT.jar
    • Runs the App

Last update: April 13, 2020 16:50:19