• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse opens my class file but not my java file, why?

 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fixed.. I mistakenly added one jar file to my path. That was causing the problem.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic