r/javahelp • • Sep 28 '26

seeing/editing code in a .jar file

im not very good at coding, or anything and i want to see the code in a .jar file and possibly edit it. im not sure if this is the right place, but any help would be appreciated. i did open the code in notepad and it didnt show it correctly, id really appreciate if somebody could maybe attach a link to a simple website where i can easily view code in the file and if possible even edit it

3 Upvotes

7 comments sorted by

View all comments

1

u/sedj601 Sep 28 '26

As others have stated, the jar contains .class files. If you want to see those files in the jar, change the file extension to .zip and unzip it. Others have already listed ways to try to get back to .java files.