Konloch / Konloch/bytecode-viewer

Javap disassembler requires tools.jar which is not available in Java 9+

Open
#384 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Discussion Question
Dominant language
Java
Stars
15.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

The tools.jar, along with this entire structure of the JDK, was removed in Java 9, in favour of using modules instead, meaning using tools.jar is no longer an option for these newer Java versions. I don't know what the solution is at the moment, but if I find one before you do, I will update this issue with what I found.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Javap disassembler code that depends on tools.jar and review how Java 9+ exposes the relevant modules. Confirm the replacement works on Java 9 and later without tools.jar, then verify the disassembler still runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.