linkedin / linkedin/qark

Add path to java executable from CLI

Open
#178 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Python
Stars
3.4k
Forks
663
PR merge metrics
No merged PRs in 30d

Description

A click option should be added for a `java_executable_path` where a user can specify a path to their `java` executable.

This path should be used in the following files:
- decompiler.py
- `get_java_version`
- `APK_TOOL_COMMAND`
- external_decompiler.py commands
- fernflower
- CFR
- Procyon

Contributor guide

No contributing guide indexed for this repository

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 tracing the CLI option handling and then inspect decompiler.py at get_java_version and APK_TOOL_COMMAND. Check external_decompiler.py for the fernflower, CFR, and Procyon commands. Done means a supplied java_executable_path is used by every listed Java invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.