Git Product home page Git Product logo

jareditor's Introduction

JarEditor liubsyy

IDEA plugin for modifying files in jar directly without decompression, including class and resource files.

Plugin marketplace : https://plugins.jetbrains.com/plugin/24397-jareditor

Features

  • Edit class/resource files in jar directly without decompression
  • Add new file/dictionary in jar
  • Delete file/dictionary in jar
  • Support springboot fatjar

Quick start

1. Insatall plugin from marketplace

IDEA at least version 2020.3 , first install the plugin JarEditor from marketplace, the classes in the jar can be opened directly to see the decompiled code.

External files can add dependencies through File->Project Structure->Libraries and then decompile the jar.

2. Edit and Save Jar

After installing the plugin JarEditor from marketplace, you can see a tab page to switch to Jar Editor in the .class decompiled file.

After modification, click Save/Compile to compile and save the currently modified java content. Then click Build Jar to write the compiled and saved class file into the Jar package.

Modifying the resource files in the jar package is also supported. The process is the same as the class file. After modification, you need to save it and then Build Jar.

3. Other operations of JarEditor

In the project view of the jar package, right-click to see JarEditor->Add/Delete and other operations, where you can add and delete files.

Some mechanisms

  • The JDK that the compilation depends on is the JDK of your SDK list. You can choose JDK and target version of the compiled class.
  • The classpath you depend on when compiling java is the dependency of the project. If the dependency package cannot be found, you can add the dependency.
  • Save/Compile will save the modified files to the jar_edit subdirectory of the directory where the jar package is located. Build Jar will incrementally write the files in the jar_edit directory to the jar, and finally delete this directory.

jareditor's People

Contributors

liubsyy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.