Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rozek1997/jar-editor

Application allowing make changes in .jar files: adding/deleting methods/classes/constructors/fields, overriding constructors/methods, extending .class file with new interface or class
https://github.com/rozek1997/jar-editor

apache-commons jar jar-editor jar-files java-reflection javaassist javafx

Last synced: about 2 months ago
JSON representation

Application allowing make changes in .jar files: adding/deleting methods/classes/constructors/fields, overriding constructors/methods, extending .class file with new interface or class

Awesome Lists containing this project

README

        

# Jar Editor

Graphical application allowing make changes in .jar files:
- adding/deleting methods
- adding /classes/constructors/fields
- overriding constructors/methods

Application allow you to take any .jar file and using java reflection make changes within application = change .class files. Then you can generate new .jar file with added code within jar editor app
During generating new .jar file, app might have stayed unresponsive. To avoid this problem, generation of new .jar file works on another thread

## Technology used
- JavaAssist by JBoss
- Javafx for GUI
## Preview

### Main view

![jar_editor_after editing](https://user-images.githubusercontent.com/38226876/76954476-b11bbe00-6910-11ea-992b-9e9617148ec3.png)

### Error message

![error-message](https://user-images.githubusercontent.com/38226876/76954499-ba0c8f80-6910-11ea-9f68-41dfb6bb436a.png)

## Running application

In project folder containing pom.xml

`mvn clean install`

Maven will generate target folder will .jar file. In target folder run command:

`java -jar jar-editor-1.0-shaded.jar`