This content has moved - please find it at https://devblog.cyotek.com.

Although these pages remain accessible, some content may not display correctly in future as the new blog evolves.

Visit https://devblog.cyotek.com.

Environment ~repack~: Java Se

openjdk version "21.0.2" 2024-01-16 LTS javac 21.0.2 HelloWorld.java public class HelloWorld public static void main(String[] args) System.out.println("Hello, Java SE!");

java -version javac -version Expected output (example): java se environment

javac HelloWorld.java # compiles → HelloWorld.class java HelloWorld # runs 6. Optional: Set CLASSPATH Only needed if using external .jar files or custom classes. openjdk version "21

export JAVA_HOME=/usr/lib/jvm/jdk-21 export PATH=$JAVA_HOME/bin:$PATH Then reload: source ~/.bashrc Open terminal/CMD and run: java se environment