Skip to content

java/lab-jdk-tools

Repository files navigation

JDK Tools Lab

Introduction

This lab explores the latest features of the JDK tools and how to combine them in development:

  1. Understand the latest features java launcher
  2. Use javadoc tool and its type of comments
  3. Leverage jwebserver tool and SimpleFileServer API
  4. Analyze dependencies with jdeps and produce minimal runtimes with jlink.
  5. Utilize jfr commands to monitor your application.

Each part is implemented in its own module, so that you can follow one or the other, independently.

Prerequisites

java -version 
  • Use your favorite IDE (like IntelliJ or Eclipse) or a code editor like VS Code.
  • (Optional for jlink integration step) Docker CLI running on your machine. Check that by running the following command in a terminal window:
docker version 

Working on the Lab

Start by cloning the code from this repo:

git clone https://github.com/java/lab-jdk-tools.git

Each module contains its own README.md file, with the instructions and hints on how to work on the different parts of the lab. They are all independent, so you can choose the one you want to work on. The project was generated with IntelliJ's build system, but below are additional steps in case you decide to use a different code editor.

In case you wish to work in Eclipse IDE, please use eclipse branch instructions.

Now let's get started!

About

Fast Track JDK Tools Hands-on-Lab

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages