Expecting you know what compiling is in Java.
Creating the .class documents in Eclipse is an option which you could use when selecting export.
STEPS:
- Click the Projects that you want to compile, and subsequently on export
- Next, click JAR file
- Then, select the Projects/Source Folders/Packages/Classes you want to select. And press Finish
- To check if everything went correctly you should in most cases download an application which could open the .jar file (like Dr. Unarchiver)
- You see the C.java file which was created in Eclipse and the converted byte and bytecode (C.class) file in the package P.