I am trying to find a Java decompiler just like swf-decompiler, that allows to edit and recompile the source, without having to export it anywhere, and do any external actions. What I want is to very quickly apply small changes to .jars and save them, without taking extra time on manually recompiling java code with other tools, Is there a decompiler like that? Is there anything similar (like .class variable editor) and is it even possible to make a Java decompiler like swf-decompiler?
Java decompiler and editor for quick modifications
7.4k Views Asked by Victor2748 At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in DECOMPILER
- Can't decompile APK file properly
- Decompile .class file ,bytecode version :52.0 (java 8)
- Type information system recovery
- Class-File-Editor.Source-not-found Source Attachment Doesn't Have Source-File ReflectionUtils.class
- C# does the compiler leave re-references in the final binary?
- How can I identify functions and their size in a x86-64 executable binary (PE)
- Why is storing secrets in android gradle recommended if it can be decompiled like hardcoded string?
- Is there any good examples of jvm reuse LocalVariableTable slot?
- Getting a weird character when decompiling source code
- Decompilation independent pattern structuring of cfg
- Moshi Json - Decompiled code still shows annotated name
- where is .so in flutter
- Unable to configure Java Decompiler in Eclipse 2023-06
- Reverse Engineering for hexadecimal machine code
- Decompile .pyc in python 3.11 Fail: "Unsupported opcode: POP_JUMP_FORWARD_IF_FALSE"
Related Questions in CODE-EDITOR
- Written VBA coding not showing in Outlook
- In WebStorm hide library root and remove colour from the icons and text in sidebar
- Understanding how to create multiple tab or instances with monaco
- 'pytube module not found' when code is run on a code editor as .ipynb file but runs without error in Powershell as a .py file
- How to Create a Custom Language in Monaco Editor for Inline CSS (Without Selectors or Brackets)
- state is not updated in functional component
- Enabling Simultaneous Interaction with Code and Video at same window
- I want to update the Ace code editor with uploaded file contents specially for python file
- My keyboard tab and spacebar button both are not working properly in vs code
- How to add code folding for codeeditor example of pyside6?
- There are any extensions or techniques that allow edit text like code editing in VSCode, to enhance efficiency in editing text documents?
- How to view a field variable content in visual studio editor in design time when i do mouseover
- Sync Preview Scroll With Monaco Editor
- Host Visual Studio Core Editor as a standalone editor Control inside WPF app
- How I create a code editor with custom rules in Angular 13
Related Questions in SWF-DECOMPILER
- how do I decompile a flash .exe file into a .swf one?
- How can I run a 2 layers batch SWF decompiling process? I am using Sothinkswf decompiler
- Editing A AS3 swf not popped error
- Java decompiler and editor for quick modifications
- create swf from a decompiled swf file
- Export actionscript and raw data structure from swf wire
- Can I change an ActionScript string literal in a SWF without the source FLA file?
- How to prevent a SWF from running on a site other than ours?
- Any way or software to decompile swf to extract mxml file?
- Read ActionScript 3 constants from SWF in PHP
- getting value from score variable in Flash
- Sothink SWF Decompiler using null in strange places
- Encrypting as3 flash .swf
- How can a PHP application tell if the loaded swf movie uses the clickTAG
- Suggestions for free flash decompilier?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Recommending a tool is offtopic, but as for the question of whether it is possible, the answer is yes and no.
Java is relatively decompiler friendly, so for simple cases, it should be possible to create such a tool. However, there are some features or patterns that tend to trip up current decompilers, and given the complexity of the language, there is unlikely to ever be a decompiler that can reliably roundtrip arbitrary Java.
Furthermore, while compiling Java loses a lot less information than C, it does lose information. Obviously, you'll lose stuff like comments and whitespace, but under default settings, you'll lose a lot more: local variable names, flags, and types, generic types, compile time annotations, etc. Most of this information is preserved to some extent for reflection purposes, and passing the
-gflag to the compiler can force it to save more information, but you can't get it all back.So in short, you can do a reasonable job most of the time, but you can't ever do it perfectly all of the time.
Also note that this is for ordinary Java compiled yourself. If the classfiles were not originally written in Java or they are obfuscated at all, you can forget recompiling. Even when decompilers produce readable output, the output is unlikely to be recompileable.
If you want to modify arbitrary jars, what you need is a disassembler and assembler. The best one I know of is Krakatau (Disclosure: I wrote it). The advantage of this is that it will work for any classfiles, even if they are obfuscated. However, it is not user friendly at all. If you don't know your way around the classfile format and bytecode, you won't be able to make more than trivial changes (such as changing a constant string).