F
F
Frostik122022-02-24 20:19:38
Java
Frostik12, 2022-02-24 20:19:38

How to open .class file?

There are several .class files, I need to change several values ​​inside, how can I open such a file and save it back to .class?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2022-02-24
@sergey-gornostaev

In general, no way. It's not much easier than opening the .exe file, changing a few values, and saving back. You can try the decompiler as suggested in the other question, but don't expect it to be easy.

M
Michael, 2022-02-24
@Akela_wolf

Use a decompiler - get a .java file
Change the values ​​in it and recompile with javac.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question