java
Installation
SKILL.md
java - Java (JDK) Environment Management
The java module provides a comprehensive way to manage Java Development Kits (JDK) and execute Java applications, ensuring that the appropriate runtime is available across different systems.
When to Activate
- When installing or switching between multiple JDK versions.
- When running
.jarfiles or compiling Java source code. - When identifying the currently active Java environment.
Patterns & Examples
Run Jar File
# Execute a Java archive file
x java -jar myapp.jar