I use the f4 key to show the class hierarchy. Before, I just double clicked the class in the hierarchy I was interested in and it opened the file (.java). Now, it opens the file but as a .class extension. I can still see the file correctly, but it doesn't let me update it. I have to go to the package explorer manually and open the file (with extension .java). Doing it this way it opens the java file correctly. This all happened after I changed my libraries in the classpath (the order as well). How can I solve this issue?
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Joined: Nov 27, 2001
fixed.. I mistakenly added one jar file to my path. That was causing the problem.
subject: eclipse opens my class file but not my java file, why?