Skip to main content



      Home
Home » Newcomers » Newcomers » Embedding of the Java SE 6 Documentation in Eclipse EE?
Embedding of the Java SE 6 Documentation in Eclipse EE? [message #264566] Sat, 20 September 2008 10:02 Go to next message
Eclipse UserFriend
Hi all!

I just started with Eclipse, so this is a beginner question :)
I just downloaded Eclipse EE Ganymede from http://www..eclipse.org for
Linux 32bit and the Java SE 6 Documentation from
http://java.sun.com/javase/downloads/index.jsp.

When I hover the mouse over Java source code in the editor, e.g. the
identifier „String“, the according help is displayed correctly:
java.lang.String

The String class ...

The problem is the hyperlinks within the help. e.g. the identifier
„Character“. When I click on it, my browser is opening with an error
message „File not found“. The adress field contains
„file:///java/lang/Character.html“ and when I look at the processes, there
is one „/usr/lib/iceweasel/firefox-bin -a firefox
file:/java/lang/Character.html
“.

The Java SE 6 Documentation is unpacked on my system but obviously Eclipse
doesn't see it.
My question is: where do I configure the location of the Java SE 6
Documentation, so that the hyperlinks in the help are working? Could you
please give me a hint on that? Or is it necessary the set an environment
vaiable?

I looked through the configuration options of Eclipse, but couldn't find
it. And there is nothing about that on the web so I think I am overlooking
something.

Many thanks.

Regards,
Ralph
Re: Embedding of the Java SE 6 Documentation in Eclipse EE? [message #264569 is a reply to message #264566] Sat, 20 September 2008 14:59 Go to previous messageGo to next message
Eclipse UserFriend
Hi again,

finally I found something:
http://wiki.eclipse.org/IRC_FAQ#The_javadoc_for_the_standard _Java_classes_does_not_show_up_as_context_help._What_is_the_ problem.3F_Should_I_download_the_javadocs.3F

I use debian and the sun-jdk installed from the debian repository, which
doesn't contain the required src.zip.

Regards,
Ralph
Re: Embedding of the Java SE 6 Documentation in Eclipse EE? [message #264597 is a reply to message #264569] Mon, 22 September 2008 11:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

$ apt-cache search jdk | grep source
openjdk-6-source - OpenJDK Development Kit (JDK) source files
sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files
sun-java6-source - Sun Java(TM) Development Kit (JDK) 6 source files

Did you `apt-get install sun-java6-source` ?

Nick

Ralph wrote:
> Hi again,
>
> finally I found something:
> http://wiki.eclipse.org/IRC_FAQ#The_javadoc_for_the_standard _Java_classes_does_not_show_up_as_context_help._What_is_the_ problem.3F_Should_I_download_the_javadocs.3F
>
>
> I use debian and the sun-jdk installed from the debian repository, which
> doesn't contain the required src.zip.
>
> Regards,
> Ralph
>

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Re: Embedding of the Java SE 6 Documentation in Eclipse EE? [message #264607 is a reply to message #264597] Mon, 22 September 2008 15:11 Go to previous message
Eclipse UserFriend
Nick Boldt wrote:

> Did you `apt-get install sun-java6-source` ?

> Nick

Hi Nick,

thank you for your hint!
I installed sun-java6-source and most of the links within the help are
working now! :)
When I click on the identifier “Character”, the according help gets
displayed.

It seems, that only links with anchors are still not working. In the
according help to „String“ e.g. there is a link „... represented by
surrogate pairs (see the section Unicode Character Representations ...)“,
which points to Character.html#unicode. When I click on it, the web
browser opens with “File not found“.

Is there also a solution for that?

Many thanks,
Regards,

Ralph
Previous Topic:eclipse platform 3.4 with no ant
Next Topic:How does eclipse know .xcf is associated w/ GIMP?
Goto Forum:
  


Current Time: Sun May 04 16:12:17 EDT 2025

Powered by FUDForum. Page generated in 0.08212 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top