Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A question. Is it possible to compile decompiled j2me-code? #762

Closed
klaxons1 opened this issue Jan 27, 2024 · 3 comments
Closed

A question. Is it possible to compile decompiled j2me-code? #762

klaxons1 opened this issue Jan 27, 2024 · 3 comments
Labels
usage Not a bug, but a question/problem regarding usage

Comments

@klaxons1
Copy link

When I tried to do that, it required missing jsr-s libs, and I don't know where to put them.

@Col-E Col-E added Missing details Needs more info to understand the problem usage Not a bug, but a question/problem regarding usage labels Jan 27, 2024
@Col-E
Copy link
Owner

Col-E commented Jan 27, 2024

Never tried. If you can point to a sample I'll see what can be done.

@klaxons1
Copy link
Author

image
For example

@Col-E Col-E removed the Missing details Needs more info to understand the problem label Jan 27, 2024
@Col-E
Copy link
Owner

Col-E commented Jan 27, 2024

With targeting Java 4? Not easily. Recaf uses the JDK's javac to recompile, and it does not go back that far. You could of course down-sample code compiled against the lowest possible target, but we don't have downgraders that go that far back.

Also the app you loaded is obfuscated, so I wouldn't even recommend using the recompile feature even if j2me was not part of the equation.

Use the assembler for such cases.

@Col-E Col-E closed this as completed Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage Not a bug, but a question/problem regarding usage
Projects
None yet
Development

No branches or pull requests

2 participants