Error: The jar file rt.jar has no source attachment [message #77477] |
Mon, 13 June 2005 16:17 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Hi,
i am working with J2ee 1.4.01 and eclipse 3.0.1 on Windows XP.
When i start to debug the application i'm writing the debugger stops in
ResourceBundle.class -> Class File Editor with the message:
Source not found
The jar file rt.jar has no source attachment.
You can attach the source by clicking Attach Source below
In other newsgroups i read, that i have to attach to the file src.zip
but there is no such file on the whole harddisc. I only found files like
editorssrc.zip or jdisrc.zip and so on in the eclipse installation path.
Is there any difference between J2ee and J2se?
Which other file can i attach the rt.jar?
Thank you for a tip.
Regina
|
|
|
Re: Error: The jar file rt.jar has no source attachment [message #77509 is a reply to message #77477] |
Mon, 13 June 2005 17:16 |
Eclipse User |
|
|
|
Originally posted by: myersj.gmail.com
Regina,
Did you install the JRE or the JDK? The java source is not included in
the JRE. If you have the JDK installed, make sure your installed
runtimes (Preferences->Java->Installed Runtimes) points to the JDK
directory, not the JRE directory.
Hope this helps,
- Jeff
user@domain.invalid wrote:
> Hi,
>
> i am working with J2ee 1.4.01 and eclipse 3.0.1 on Windows XP.
> When i start to debug the application i'm writing the debugger stops in
> ResourceBundle.class -> Class File Editor with the message:
> Source not found
> The jar file rt.jar has no source attachment.
> You can attach the source by clicking Attach Source below
>
> In other newsgroups i read, that i have to attach to the file src.zip
> but there is no such file on the whole harddisc. I only found files like
> editorssrc.zip or jdisrc.zip and so on in the eclipse installation path.
>
> Is there any difference between J2ee and J2se?
> Which other file can i attach the rt.jar?
>
> Thank you for a tip.
> Regina
>
|
|
|
|
Re: Error: The jar file rt.jar has no source attachment [message #77553 is a reply to message #77524] |
Mon, 13 June 2005 18:21 |
Eclipse User |
|
|
|
Originally posted by: myersj.gmail.com
Regina,
I don't know if the J2EE SDK includes source code. The src.zip file
you're looking for is included in the J2SE SDK installation.
- Jeff
Regina Gebuehr wrote:
> Hi Jeff,
>
> i installed the J2ee SDK and my installed runtimes points to the JDK
> directory, concrete: D:\Sun\AppServer\jdk.
>
> There is no src.zip in this directory. Where can i get this file?
>
> Thank you for your help.
> Regina
>
|
|
|
Powered by
FUDForum. Page generated in 0.08037 seconds