A starter template for the Advanced Object-Oriented Concepts (AOOC) lab series. Designed for use with GitHub Codespaces and GitHub Copilot, it provides a pre-configured Java development environment so students can begin coding immediately.
- A GitHub account with access to GitHub Codespaces
- GitHub Copilot enabled on your account (recommended)
- Basic knowledge of Java
- Create a Codespace -- Click the Code button on the repository page and select Create codespace on main.
- Wait for Setup -- The dev container will automatically provision a Java environment with the required VS Code extensions.
- Start Coding -- The file
src/ie/atu/testpackage/Main.javaopens automatically. Follow the lab instructions in class or in your course materials.
After the Codespace starts, confirm Java is available:
java --version
javac --versionaooc-labs-template/
├── src/
│ └── ie/atu/testpackage/
│ └── Main.java # Entry point (Hello World starter)
├── .devcontainer/
│ └── devcontainer.json # Codespace configuration (Java, Copilot, extensions)
├── .vscode/
│ ├── settings.json # Editor and Java project settings
│ └── tasks.json # Auto-open Main.java on folder open
├── README.md
└── LICENSE
From the project root:
javac -d out src/ie/atu/testpackage/Main.java
java -cp out ie.atu.testpackage.MainAlternatively, use the Run button in VS Code with the Red Hat Java extension.
The included .devcontainer/devcontainer.json sets up:
- Java (latest, via
mcr.microsoft.com/devcontainers/java) - VS Code Extensions: Red Hat Java, Java Debugger, Java Dependency Viewer, IntelliCode, GitHub Copilot, Markdown Mermaid
This project is licensed under the MIT License.