1

I'm trying to import jar file ( which is a plugin for jmeter-i would like to edit it and again i want to jar it in eclipse ) in eclipse to see the source code of it.But im not able to see the source code of the jar file.

Can anyone help me how can i decompile a jar and make it editable in eclipse.

i decompiled online and used it in eclipse but eclipse is throwing number of errors.

By using jd decompiler i can view the .class of it .but i would like to edit the jar file according to my requirements.

shey
  • 344
  • 2
  • 10
  • 29
  • If it's an open source project, then it has source code available online, together with instructions on how to compile it. If source code is not available online, then technically you are asking for help stealing the code... – timbre timbre Mar 23 '17 at 17:55
  • @KirilS. the plugin which im trying to edit and make it executable jar is taken from [link](https://grafana.com/dashboards/1152) and i think its an open source. – shey Mar 24 '17 at 07:07
  • @KirilS. When i open the jar file in jar decompiler [link](http://jd.benow.ca/) i can see the .class files ,but my requirement is to edit the files and compile back into executable jar. – shey Mar 24 '17 at 07:19
  • why not download the code then from here, change and build it properly: https://github.com/NovaTecConsulting/JMeter-InfluxDB-Writer/releases? Why do you need to decompile it? – timbre timbre Mar 24 '17 at 14:19
  • @KirilS.can you please tell how can i edit and build properly.Thanks for your replies – shey Mar 27 '17 at 05:51

1 Answers1

0

From comments you need Jmeter InfluxDB Plugin.

Download source code and uzip it.

Apply your fixes and use gradle to build the jar in Eclipse.

Ori Marko
  • 56,308
  • 23
  • 131
  • 233