Java Version Upgrade

Guides upgrading a Java codebase between LTS versions (8→11, 11→17, 17→21, 21→25, or multi-hop like 8→25). Detects removed/deprecated APIs, rewrites code with diffs, updates Maven/Gradle build config, checks dependency compatibility, and produces a migration checklist. Use whenever the user mentions upgrading, migrating, or bumping a Java/JDK version, asks what breaks between versions, provides a pom.xml or build.gradle targeting a newer JDK, or mentions keywords like "illegal reflective access", "JPMS", "javax to jakarta", "virtual threads", "records", "sealed classes", "scoped values", "SecurityManager removal", or "sun.misc.Unsafe". Casual phrasing like "we're still on Java 8" or "can we move to 25?" should also trigger this skill. Do NOT use for Spring Boot version upgrades, adding new Java features without a version change, or general refactoring unrelated to version migration.

G10xy b2e622c 3 files · 21.9 KB Updated

File contents

G10xy/java-version-upgrade-skill/tree/main/ commit b2e622cad3

Frequently asked questions

npx skillmds@latest add g10xy/java-version-upgrade