CloudAcademy

The hands-on lab is part of this learning path

Introduction to Java
course-steps 8 certification 1 lab-steps 5

Lab Steps

keyboard_tab
lock
Logging in to the Amazon Web Services Console
lock
Connecting to the Java Web IDE
lock
Open the Terminal
lock
Exercise 1 - Starting and Stopping
lock
Exercise 2 - Feedback Modes
lock
Exercise 3 - Snippets
lock
Exercise 4 - Commands

Ready for the real environment experience?

DifficultyBeginner
Duration1h
Students6

Description

Lab Overview

This Lab introduces you to JShell, an interactive REPL Java utility. You will be required to complete the following guided coding exercises:

  • Exercise 1 - Starting and Stopping: Learn how to start and stop JShell 
  • Exercise 2 - Feedback Modes: Learn how to configure different feedback modes to help with your interaction with JShell
  • Exercise 3 - Snippets: Declare and use Java statements, variables, methods, expressions, and class definitions
  • Exercise 4 - Commands: Learn to use the various JShell commands to control the session

Lab Objectives

Upon completion of this Lab, you will be able to:

  • Confidently use the JShell for exploratory Java coding and prototyping

You should:

  • Be comfortable with using a browser based IDE
  • Be comfortable with using the integrated terminal

Lab Environment

This Lab will start with the following AWS resources provisioned automatically for you:

  • A single EC2 instance, named ide.java.platform.instance, which will have a public IP address attached. This instance will host a web based Java IDE (based on the Visual Code editor).

To achieve the Lab end state, you will be walked through the process of:

  • Using you local browser, access the web based Java IDE served from the ide.java.platform.instance
  • Completing the 4 lab exercises:
    • Exercise 1 - Starting and Stopping
    • Exercise 2 - Feedback Modes
    • Exercise 3 - Snippets
    • Exercise 4 - Commands 

 

 

About the Author

Students6530
Labs13
Courses44
Learning paths9

Jeremy is the DevOps Content Lead at Cloud Academy where he specializes in developing technical training documentation for DevOps.

He has a strong background in software engineering, and has been coding with various languages, frameworks, and systems for the past 20+ years. In recent times, Jeremy has been focused on DevOps, Cloud, Security, and Machine Learning.

Jeremy holds professional certifications for both the AWS and GCP cloud platforms.