• 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

Multiple JDK profiles with Eclipse

 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need different JDK versions (1.3, 1.4 etc), to test my app. How can I configure multiple profiles in eclipse?
Also, I need to configure eclipse such that standard java docs help (String class etc) should be availble in the IDE itself instead of opening a new help window (similar to JCreator). How do I do this? It would be great if I could link different version documents to different versions.
Any help would be greatly appreciated.
TIA,
- Manish
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Manish Hatwalne:
I need different JDK versions (1.3, 1.4 etc), to test my app. How can I configure multiple profiles in eclipse?


Window/Preferences/Java/Installed JREs


Also, I need to configure eclipse such that standard java docs help (String class etc) should be availble in the IDE itself instead of opening a new help window (similar to JCreator). How do I do this?


You should see a snippet of the javadoc if you hover the mouse cursor over a class name in the source code. Pressing F2 should then give you the full javadoc popup.
In 3.0, you can also open the Javadoc view. Window/Open View/Javadoc.
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ilja Preuss:

You should see a snippet of the javadoc if you hover the mouse cursor over a class name in the source code. Pressing F2 should then give you the full javadoc popup.
In 3.0, you can also open the Javadoc view. Window/Open View/Javadoc.


Pressing F2 does not help, it does show a light yellow popup, but it only shows "java.lang.String" in it. I don't have 3.0 though
- Manish
 
Ilja Preuss
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Manish Hatwalne:
Pressing F2 does not help, it does show a light yellow popup, but it only shows "java.lang.String" in it. I don't have 3.0 though


Than most probably your default JRE is not a JDK. If you configure a JDK (instead of a JRE), Eclipse should automatically find the src.zip and extract the javadoc comments.
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ilja Preuss:

Than most probably your default JRE is not a JDK. If you configure a JDK (instead of a JRE), Eclipse should automatically find the src.zip and extract the javadoc comments.


RIGHT!!! Eclipse took JRE path instead of JDK, changed it and now it works! Thanks a ton!!!
- Manish
 
He's giving us the slip! Quick! Grab this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic