I was making a jar file but accidentally wrote TimerV1.java
instead of TimerV1.jar
and as a result, my whole source code got replaced with machine code and the sad thing is there's still something I have to edit.
I am using Notepad++ and tried searching the Roaming
directory but there's nothing there.
I also tried decompiling the jar file and editing the exported source files (with JD-GUI) but when I try to compile those source files I get errors that I don't even know how to resolve.
Is there any way to recover the previous versions of my java file?