I am trying to upload a .jar file onto eclipse in order to be able to edit it.
The purpose of the .jar file is to track player coordinates on minecraft.
I have decompiled this .jar file on Eclipse, using the eclipse Java Decompiler.
However, when I try to run this decompiled code, I am getting the error: 'Could not find or load main class main'.
This happens when I try to run the 'decompiled code' by creating a run configuration and specify the main class: 'main'.
I have looked at other forums on this topic and have tried different things without success. However, none of these options have worked.
The decompiled 'main.class' file is currently stored within the 'JRE system library' folder. Is this the wrong place to store it?
I would be so grateful for a helping hand!
I have provided an image of the decompiled code:
And the run configuration tab, where I specify how I want the code to run.