Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Attachment rt.jar in a plugin
Attachment rt.jar in a plugin [message #28171] Tue, 21 October 2008 18:06 Go to next message
raphael is currently offline raphaelFriend
Messages: 16
Registered: July 2009
Junior Member
Hello colleagues,

I am developing my first plugin for eclipse, which have to access the
various databases. Thus, Iis a mistake that I am trying to solve several
days and I can not.
"The JAR file C: \ Program Files \ java \ jre1.6.6_07\ lib \ rt.jar has no
source attachment. "
Have you tried the attachments rt.jar but not the right. How should I
proceed to resolve this issue which I think is simple,However, this
disturbs me greatly.
Re: Attachment rt.jar in a plugin [message #28478 is a reply to message #28171] Thu, 23 October 2008 15:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: any.swc.rwth-aachen.de

Go to Window->Preferences->Java->Installed JREs. Select the jre1.6.6._07
entry and choose Edit. Select the rt.jar and choose Source Attachment. You
then have to point to the .zip file containing the sources for the rt.jar. I
am not sure whether the sources are deployed with the JRE. If not you have
to download them from java.sun.com. You can also install the JDK (which
bundles the sources in a sources.zip file within its installation directory)
and add it under the installed JREs.

Regards
Alexander


"raphael " <raphael@freedecision.com.br> schrieb im Newsbeitrag
news:e7e302bb536fcbf83838cc48dfd05371$1@www.eclipse.org...
> Hello colleagues,
>
> I am developing my first plugin for eclipse, which have to access the
> various databases. Thus, Iis a mistake that I am trying to solve several
> days and I can not. "The JAR file C: \ Program Files \ java \ jre1.6.6_07\
> lib \ rt.jar has no source attachment. "
> Have you tried the attachments rt.jar but not the right. How should I
> proceed to resolve this issue which I think is simple,However, this
> disturbs me greatly.
>
Re: Attachment rt.jar in a plugin [message #28501 is a reply to message #28478] Thu, 23 October 2008 17:00 Go to previous messageGo to next message
raphael is currently offline raphaelFriend
Messages: 16
Registered: July 2009
Junior Member
Alexander,

Thank you for your attention, however, I did it after a fine by google
search. After this has generated errors apparently similar to the previous
"source not found", class sun.reflect.NativeMethodAccessorImpl extend
sun.reflect.MethodAccessorImpl. However, the eclipse even asked me to
"Edit Source Lookup Path." I do not know much bein what is happening, I am
the first sailor to travel. Sorry for the mistakes of syntax I am
Brazilian.
Re: Attachment rt.jar in a plugin [message #29007 is a reply to message #28501] Thu, 23 October 2008 17:50 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 10/23/2008 1:00 PM, raphael wrote:
> Alexander,
>
> Thank you for your attention, however, I did it after a fine by google
> search. After this has generated errors apparently similar to the
> previous "source not found", class sun.reflect.NativeMethodAccessorImpl
> extend sun.reflect.MethodAccessorImpl.

The JDK source does not include the code for the sun.* packages, only
the java.* packages. I'm not sure if that source is available anywhere
or not.

Eric
Re: Attachment rt.jar in a plugin [message #583405 is a reply to message #28171] Thu, 23 October 2008 15:47 Go to previous message
Eclipse UserFriend
Originally posted by: any.swc.rwth-aachen.de

Go to Window->Preferences->Java->Installed JREs. Select the jre1.6.6._07
entry and choose Edit. Select the rt.jar and choose Source Attachment. You
then have to point to the .zip file containing the sources for the rt.jar. I
am not sure whether the sources are deployed with the JRE. If not you have
to download them from java.sun.com. You can also install the JDK (which
bundles the sources in a sources.zip file within its installation directory)
and add it under the installed JREs.

Regards
Alexander


"raphael " <raphael@freedecision.com.br> schrieb im Newsbeitrag
news:e7e302bb536fcbf83838cc48dfd05371$1@www.eclipse.org...
> Hello colleagues,
>
> I am developing my first plugin for eclipse, which have to access the
> various databases. Thus, Iis a mistake that I am trying to solve several
> days and I can not. "The JAR file C: \ Program Files \ java \ jre1.6.6_07\
> lib \ rt.jar has no source attachment. "
> Have you tried the attachments rt.jar but not the right. How should I
> proceed to resolve this issue which I think is simple,However, this
> disturbs me greatly.
>
Re: Attachment rt.jar in a plugin [message #583411 is a reply to message #28478] Thu, 23 October 2008 17:00 Go to previous message
raphael is currently offline raphaelFriend
Messages: 16
Registered: July 2009
Junior Member
Alexander,

Thank you for your attention, however, I did it after a fine by google
search. After this has generated errors apparently similar to the previous
"source not found", class sun.reflect.NativeMethodAccessorImpl extend
sun.reflect.MethodAccessorImpl. However, the eclipse even asked me to
"Edit Source Lookup Path." I do not know much bein what is happening, I am
the first sailor to travel. Sorry for the mistakes of syntax I am
Brazilian.
Re: Attachment rt.jar in a plugin [message #583459 is a reply to message #28501] Thu, 23 October 2008 17:50 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 10/23/2008 1:00 PM, raphael wrote:
> Alexander,
>
> Thank you for your attention, however, I did it after a fine by google
> search. After this has generated errors apparently similar to the
> previous "source not found", class sun.reflect.NativeMethodAccessorImpl
> extend sun.reflect.MethodAccessorImpl.

The JDK source does not include the code for the sun.* packages, only
the java.* packages. I'm not sure if that source is available anywhere
or not.

Eric
Previous Topic:Error executing the plugin connection to the database
Next Topic:P2 Installation of feature fails because of unsatisfied capability
Goto Forum:
  


Current Time: Tue Apr 16 16:44:17 GMT 2024

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

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

Back to the top