Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error: The jar file rt.jar has no source attachment
Error: The jar file rt.jar has no source attachment [message #77477] Mon, 13 June 2005 16:17 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #77524 is a reply to message #77509] Mon, 13 June 2005 17:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: regina.gebuehr.freenet.de

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
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:ArrayList<String> list = new ArrayList<String>() ungültig?
Next Topic:Conflict between JDBC and SWT in Eclipse 3.0
Goto Forum:
  


Current Time: Fri Nov 22 17:18:59 GMT 2024

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

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

Back to the top