This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, After applied: jar xf Serialio.jar I was able to see that it had classes files. My question is: 1. Is it possible to get the source code of this classes with javap application? I have tried to do it: javap SerialConfig.class but the message was: "Error: Binary file 'Serial Port' contains Serialio.SerialPort" Could anybody help me please? Thanks in advance. Jose.
I ran into the same problem when trying to use javap on a class in the JDK source code.
Marilyn de Queiroz
Joined: Jul 22, 2000
Make sure you set your classpath to the beginning of the package hierarchy and specify the full package name. Ex. C:\java\myProject>javap -classpath ../ myProject.myClass or C:\java>javap -classpath . myProject.myClass