Convert. Class To. Java
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 Error: Could Not Find...
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
ERROR:Could not find ClassName.class
Do you guys have any idea of what might be the cause? I did man javap and as far as I know, the syntax is correct. If there is another way to convert it to a .java file, I am more than willing to try.
4 Answers
Must Read
Invoking javap to read the bytecode
The javap command takes class-names without the .class extension. Try
javap -c ClassName