I have some .class files that I need to convert to .java so I did:
javap -c ClassName.class
and all the time I have the same error
This is for Mac users:
first of all you have to clarify where the class file is... so for example, in 'Terminal' (A Mac Application) you would type:
cd
then wherever you file is e.g:
cd /Users/CollarBlast/Desktop/JavaFiles/
then you would hit enter. After that you would do the command. e.g:
cd /Users/CollarBlast/Desktop/JavaFiles/ (then i would press enter...)
Then i would type the command:
javap -c JavaTestClassFile.class (then i would press enter again...)
and hopefully it should work!