I've exported a java project made in Eclipse into a jar file.
I did that so I could send it to me via e-mail since I was working on a school lab computer. Problem was that you cannot attach a .jar file in an e-mail for security reasons, so I changed the extension from .jar to .txt and was able to sent it.
Now I'm at home and I'd like to get my project back, is there a way to do that?
I've tried to change back the extension to .jar but the file type does not change. I'm on Windows 10 here and the lab computers surely use an older version but I don't remember which one.
Any ideas?
EDIT: problem solved
So I was able to get my source file back thanks to this steps:
I renamed the .txt file to .jar from prompt. That gave me back my .jar file.
Next I used jd-gui to decompile it and save the sources.
Mission accomplished, thanks.