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
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in DECOMPILER
- how can i turn an goto label loop into for or while loop
- decompile the jar, some source code are marked as red(which means mistake)
- Difference between Turbo C++ and Borland C++ compiler
- How can I batch decompile multiple .NET assemblies?
- Java Decompiler for Eclipse kepler
- Is it possible to decompile Java bytecode back to original generic type parameters
- How to decompile jhipster based war file
- How prevent apktool sort global variables?
- gcc to tell a register compiled from which variable
- About compiler and decompilation
- Decompile Class that have resource file
- I need a Java decompiler
- Compiler C to Brainfuck (for harassing a professor)?
- cli decompiler for java .class file
- Is there a replacement decompile tool for jad & jadclipse on eclipse(running an 64 bit jdk)?
Related Questions in CODE-EDITOR
- C# Color lines in rich textbox from the start of a "#" symbol
- php code not indenting in adobe brackets
- How to add keywords (and change their colour) to CodeMirror?
- Text editor or a standalone tool for Mac OS with ability to compress JavaScript code
- Sublime Text 2: How to disable auto indentation on new lines after brackets?
- How to add a warning or error notification to the ace editor
- How can I fix "no data in sublime-keymap" error in Sublime Text 3?
- netbeans 7.3 not recognizing html tags
- Trying to create a WPF window that behaves like the VS editor window
- Is there any editor out there that supports code hinting for LESS files?
- What code editor should I use for Python for Windows
- There are any extensions or techniques that allow edit text like code editing in VSCode, to enhance efficiency in editing text documents?
- My keyboard tab and spacebar button both are not working properly in vs code
- How to add code folding for codeeditor example of pyside6?
- I want to update the Ace code editor with uploaded file contents specially for python file
Related Questions in SWF-DECOMPILER
- How can a PHP application tell if the loaded swf movie uses the clickTAG
- Read ActionScript 3 constants from SWF in PHP
- Export actionscript and raw data structure from swf wire
- Any way or software to decompile swf to extract mxml file?
- How can I view Flash Source Code?
- Help understanding bad code?
- Suggestions for free flash decompilier?
- getting value from score variable in Flash
- How to prevent a SWF from running on a site other than ours?
- Editing A AS3 swf not popped error
- extracting SWF gives compiler errors in adobe flash CS4
- Can I change an ActionScript string literal in a SWF without the source FLA file?
- Sothink SWF Decompiler using null in strange places
- 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
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 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).