This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes inbuild classes shows only filename.class why ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "inbuild classes shows only filename.class why ?" Watch "inbuild classes shows only filename.class why ?" New topic
Author

inbuild classes shows only filename.class why ?

Prabhat Ranjan
Ranch Hand

Joined: Oct 04, 2006
Posts: 387
Hi,

If we click on object of SQLEception or any inbuild Class , then it shows us filename.class but class file is visible to us same as java source with filename.java!

Why so ?

Regards,
Prabhat
Hunter McMillen
Ranch Hand

Joined: Mar 13, 2009
Posts: 492

You question is really confusing, can you try to explain it a little more clearly?

Hunter


"If the facts don't fit the theory, get new facts" --Albert Einstein
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
How are you displaying these files? Are you using an IDE?
Prabhat Ranjan
Ranch Hand

Joined: Oct 04, 2006
Posts: 387
yes Eclipse
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

If you dont want to see the source file insteadof class file, then go to build path of the project, expand JRE system library, now expand rt.jar-->selet source attachment then remove.
actually eclipse has some in-build functionality to show you the source when you click the corresponding classes in source files, if you attached the source to the jar.
Prabhat Ranjan
Ranch Hand

Joined: Oct 04, 2006
Posts: 387
yes you are correct
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: inbuild classes shows only filename.class why ?
 
Similar Threads
Runs Only in Appletviewer
Compiling Error
include a actionlistener class in applet tags
The browser can't find the class
Why cant i run like "java filename.class"