• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to attach Source for rt.jar on linux?

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
For a Eclipse Juno EE version running on Linux, How to attach the sources?
The conventional pointing to src.zip in the attach source is not working that is ; its not displaying the correct line w.r.t the stack trace.
Please help.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which Java are you using? The one from Oracle, or Open JDK? How did you install it, via your package manager? (Generally speaking, if you installed the Oracle JDK from the Oracle web site, then specifying that JDK as the default JRE in Eclipse should get the sources linked. If you installed something else, you'll need to let us know what.)
 
manto kumar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter,
I have been able to resolve the problem myself. My Eclipse and project was referring to Open JDK whereas the tomcat server was pointing to Oracle JDK.Hence on changing both to the same JDK version, my problem was solved.
Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic