Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Can I get the .java file if I only have the .class file?

800604Aug 19 2008 — edited Aug 19 2008
I'm trying to understand the concept, actually. So...I write the code in a .java file. After compiling it, I obtain a .class file.
If I let a .jar be built, this one will only contain .class files and a mf.file.
After this, could I just delete the source files? If I transfer only the .jar file on another computer, could I still obtain .java files from it?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2008
Added on Aug 19 2008
20 comments
809 views