Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Why is the JDK source "Unknown Source"?
Why is the JDK source "Unknown Source"? [message #186858] Thu, 04 January 2007 22:41 Go to next message
Eclipse UserFriend
Originally posted by: qu0llSixFour.gmail.com

Whenever my application throws an exception that occurs inside the JDK
source code, the source is not available (it says "Unknown Source") so I am
unable to determine the line number or browse the source. Why is this and
how do I fix it? If I go into Preferences JRE_SRC is pointing to the
src.zip in the correct location. I am using Eclipse 3.3M1 and Java 6.0
FCS. What else should I be looking at? Exceptions thrown from my own
source are not affected by this problem.

--
And loving it,

qu0ll
______________________________________________
qu0llSixFour@gmail.com
(Replace the "SixFour" with numbers to email)
Re: Why is the JDK source "Unknown Source"? [message #186914 is a reply to message #186858] Thu, 04 January 2007 08:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nugaee.SPAMtlen.pl

qu0ll napisał(a):
> Whenever my application throws an exception that occurs inside the JDK
> source code, the source is not available (it says "Unknown Source") so I am
> unable to determine the line number or browse the source. Why is this and
> how do I fix it? If I go into Preferences JRE_SRC is pointing to the
> src.zip in the correct location. I am using Eclipse 3.3M1 and Java 6.0
> FCS. What else should I be looking at? Exceptions thrown from my own
> source are not affected by this problem.

are you sure that you are using JDK 6.0?
try this :
Window->Preferences->Java->Installed JREs
make sure that checked (default) configuration's JRE home directory
points to installed JDK


bartosz michalik
Re: Why is the JDK source "Unknown Source"? [message #187137 is a reply to message #186914] Sat, 06 January 2007 08:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: qu0llSixFour.gmail.com

"Bartosz Michalik" <nugaee@SPAMtlen.pl> wrote in message
news:enl3se$87i$1@utils.eclipse.org...
> qu0ll napisal(a):
>> Whenever my application throws an exception that occurs inside the JDK
>> source code, the source is not available (it says "Unknown Source") so I
>> am
>> unable to determine the line number or browse the source. Why is this
>> and
>> how do I fix it? If I go into Preferences JRE_SRC is pointing to the
>> src.zip in the correct location. I am using Eclipse 3.3M1 and Java 6.0
>> FCS. What else should I be looking at? Exceptions thrown from my own
>> source are not affected by this problem.
>
> are you sure that you are using JDK 6.0?
> try this :
> Window->Preferences->Java->Installed JREs
> make sure that checked (default) configuration's JRE home directory points
> to installed JDK

Yep, it's definitely pointing to the right directory. What else could be
causing this?

--
And loving it,

qu0ll
______________________________________________
qu0llSixFour@gmail.com
(Replace the "SixFour" with numbers to email)
Re: Why is the JDK source "Unknown Source"? [message #187169 is a reply to message #187137] Sat, 06 January 2007 20:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

qu0ll wrote:
> "Bartosz Michalik" <nugaee@SPAMtlen.pl> wrote in message
> news:enl3se$87i$1@utils.eclipse.org...
>> qu0ll napisal(a):
>>> Whenever my application throws an exception that occurs inside the JDK
>>> source code, the source is not available (it says "Unknown Source") so I
>>> am
>>> unable to determine the line number or browse the source. Why is this
>>> and
>>> how do I fix it? If I go into Preferences JRE_SRC is pointing to the
>>> src.zip in the correct location. I am using Eclipse 3.3M1 and Java 6.0
>>> FCS. What else should I be looking at? Exceptions thrown from my own
>>> source are not affected by this problem.
>> are you sure that you are using JDK 6.0?
>> try this :
>> Window->Preferences->Java->Installed JREs
>> make sure that checked (default) configuration's JRE home directory points
>> to installed JDK
>
> Yep, it's definitely pointing to the right directory. What else could be
> causing this?
>
Are you refering to exceptions displayed in the stack trace? If so, it
is an indication that the java libraries you are running against aren't
compiled with debugging information. I don't think that Sun releases
the java libraries compiled with debugging information.
Re: Why is the JDK source "Unknown Source"? [message #187255 is a reply to message #187137] Sun, 07 January 2007 07:26 Go to previous message
Eclipse UserFriend
Originally posted by: nugaee.SPAMtlen.pl

qu0ll napisał(a):
> "Bartosz Michalik" <nugaee@SPAMtlen.pl> wrote in message
>> try this :
>> Window->Preferences->Java->Installed JREs
>> make sure that checked (default) configuration's JRE home directory points
>> to installed JDK
>
> Yep, it's definitely pointing to the right directory. What else could be
> causing this?
>
can you send me content of org.eclipse.jdt.core.prefs from <workspace
dir>\.metadata\.plugins\org.eclipse.core.runtime\.settings ??
Previous Topic:Open sdk 3.2.1
Next Topic:wsdl - reference class from included jar
Goto Forum:
  


Current Time: Thu Mar 28 10:17:56 GMT 2024

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

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

Back to the top