build-jdk13-docker
Skill by bcgit
Builds and tests the legacy jdk1.3 (build1-3) distribution by running the genuine Sun JDK 1.3.1 in an i386 glibc 2.3.6 Docker container. Aimed at developers who need a bcprov-jdk13 jar or want to reproduce 1.3 compile failures.
Install build-jdk13-docker
Built from the published package, never by AI.
git clone --depth 1 https://github.com/bcgit/bc-java /tmp/bc-java && mkdir -p ~/.claude/skills && cp -r /tmp/bc-java/.claude/skills/build-jdk13-docker ~/.claude/skills/build-jdk13-dockerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/bcgit/bc-java /tmp/bc-java && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/bc-java/.claude/skills/build-jdk13-docker ~/.gemini/antigravity-cli/skills/build-jdk13-dockerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill builds and tests the jdk1.3 (build1-3) distribution on a modern Linux host. It runs the genuine Sun JDK 1.3.1 inside an i386 Docker container based on Debian etch, which has glibc 2.3.6. The build-jdk13.sh script offers provider, test and shell modes, and the first run builds a small image named bc-jdk13:etch. i386 code runs natively on the x86-64 kernel, so no qemu is needed.
The skill explains why glibc below 2.4 is required, because newer versions break the green-threads Classic VM. It also covers launch errors such as "can't find libjava.so" and missing libstdc++-libc6.1-1.so.2. The source notes that the jdk1.3 source overlays have rotted and that the real source floor is Java 1.4. It is meant for developers who want to run the jdk1.3 build or reproduce 1.3 compile failures.
Written from the project's SKILL.md and checked against it.
What it can do
- Provider jar buildBuilds the provider and produces a bcprov-jdk13 jar inside the 1.3 container.
- Full build and testsRuns the full jdk1.3 build with tests in the Sun JDK 1.3.1 container.
- Interactive 1.3 shellOpens a shell in the 1.3 container for faster iteration on overlays and build steps.
- uname shimMaps uname -m to i686 inside the image so the JDK launch wrapper finds libjava.so.
- Classic VM selectionUses a custom jvm.cfg to make the green-threads Classic VM the default for java and javac.
- Regexp preprocessing supportInjects a Jakarta ORO jar through ANT_ARGS so ant replaceregexp preprocessing works on JDK 1.3.
What you need
- Docker
- A 32-bit Sun JDK 1.3.1 installed at /opt/jdk1.3.1
- Apache Ant 1.6.5 at /opt/apache-ant-1.6.5
- JavaMail 1.3.1 and JAF 1.0.2 jars
- An x86-64 Linux host
Try asking
- Build the jdk1.3 provider and give me the bcprov-jdk13 jar
- Open an interactive jdk1.3 container so I can iterate on overlays
- Why does my JDK 1.3.1 say it can't find libjava.so on this host?
Good to know
- A full provider build takes about 10 minutes, mostly due to the preprocess step.
- The jdk1.3 source overlays have rotted, so the build may need further fixes.
- The staging tree is not cleaned by the build, so stale sources can keep compiling.
- The container base must be i386 with glibc below 2.4.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/build-jdk13-docker/SKILL.md, .claude/skills/build-jdk13-docker/build-jdk13.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
Dockerfile2 KB -
SKILL.md8 KB -
build-jdk13.sh8 KB -
jvm.cfg695 B
Alternatives to build-jdk13-docker
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
build-jdk13-docker: common questions
Why does the jdk1.3 build need a Docker container?
A 2001-era 32-bit Sun JDK 1.3.1 cannot run on a modern Linux host. The source says an i386 container with glibc below 2.4 lets it run.
What is the real source floor for this build?
The source says the current code uses Java 1.4 APIs that the jdk1.3 tree never caught up with, so the real floor is Java 1.4.
Does this need qemu or an emulator?
No. The source says i386 executes natively on an x86-64 kernel, so no qemu is needed.
How do I install build-jdk13-docker?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is build-jdk13-docker free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is build-jdk13-docker safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to build-jdk13-docker?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
