Converting .class file to text
Ok I was playing around building a TicTacToe game in Java and when I was done, compiled, made sure everything was working, I tried to copy the files to another directory using the cp command. It took me a few tries to get the arguments correct, but I succeeded in the end. In the process, however, I did something and now my .java file is binary? Well it starts with:
cafe babe 0000 0033 006a 0a00 1e00 3207
and then goes down to similar things 140 lines down. Is there a way to put it back into text?
+3
source to share
2 answers