This repository contains all materials for a 5-hour Introduction to Java training course designed for enterprise environments with restricted access.
- Java 17 JDK installed
- Visual Studio Code with Extension Pack for Java
- Basic computer literacy
-
Java Basics (90 minutes)
- Values, Variables, and Simple Methods
- String Handling and Math Functions
- Flow Control (if, for, while)
-
Introduction to OO (60 minutes)
- Classes, Objects, and References
- Wrapper Types and Arrays
-
JVM and Tooling (60 minutes)
- VS Code for Java development
- Java compilation and JVM
- Command-line tools
-
Java Types and Collections (90 minutes)
- Inheritance and Interfaces
- Collections Framework
Student exercise files with TODO sections to complete:
basics/- Simple functions and string operationsoop/- Classes and inheritance exercisescollections/- Working with Java collections
Complete solutions for all exercises (instructor reference)
Live coding demonstration files:
StringDemo.java- String operationsArrayDemo.java- Working with arraysClassesObjectsDemo.java- OOP conceptsCollectionsDemo.java- Collections frameworkFizzBuzz.java- Classic programming exerciseJShellCommands.txt- JShell demo commands
SETUP.md- Environment setup instructions for studentsVSCODE_PLAIN_JAVA.md- Guide for non-Maven/Gradle projects in VS CodeTESTING_APPROACH.md- Testing without external dependenciesslides.md- Slidev presentation slides (optimized for screen fit)CLAUDE.md- Claude Code integration and project context
- Send
SETUP.mdto client IT department ahead of time - Use
slides.mdwith Slidev for presentations- Slides optimized for various screen sizes with two-column layouts
- Includes Carbon icons for better visual presentation
- Live code using files in
/demos/ - Students work on
/exercises/files - Reference
/solutions/as needed
- Install Slidev globally:
npm install -g @slidev/cli - Install Carbon icons globally:
npm install -g @carbon/icons - Run presentation:
slidev slides.md - Recent improvements: All tables and long content use two-column layouts for better screen fit
- Create new folder for your project
- Open folder in VS Code
- Create
src/folder for source files - VS Code will automatically compile to
bin/ - Ensure Extension Pack for Java is installed
The course uses simple main method tests instead of JUnit to:
- Avoid external dependencies
- Reduce complexity for beginners
- Work in restricted environments
- Focus on Java fundamentals
- All code runs with standard Java 17, no external dependencies
- No internet access required during course
- No build tools needed (Maven/Gradle)
- All materials are self-contained
- Open VS Code
- Create a new folder named "JavaTraining"
- Open the folder in VS Code (File → Open Folder)
- Create a
src/subfolder and copy exercise files there - Start with
Exercise1_SimpleFunctions.java - Run files with F5 (debug) or Ctrl+F5 (run without debug)
Two ZIP files are created by the CREATE_ZIP.sh script:
java-training-student-materials.zip- Contains exercises, demos, and setup docs (no solutions)java-training-instructor-materials.zip- Contains everything including solutions and slides
Kenneth Kousen
Kousen IT, Inc.
- Email: [email protected]
- Website: kousenit.com
- GitHub: github.com/kousen
- Bluesky: @kousenit.com
- Optimized all slides for better screen fit with two-column layouts
- Added Carbon icons support for enhanced visual presentation
- Improved table layouts and content organization
- Enhanced practice resources with HackerRank, Codewars, and LeetCode descriptions
- Updated social media links and contact information