473,544 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Source not found" for ParseException. class when debugging

119 New Member
I'm a relative newbie to java and have encountered a "source not found" error when trying to debug the following section of code (for the ParseException. class).

Expand|Select|Wrap|Line Numbers
  1.     public PaymentDates (String stlDate, String matDate, int payFreq) throws ParseException {
  2.         this.stlDate = Dates.convertStringToUSDate(stlDate);
  3.         this.matDate = Dates.convertStringToUSDate(matDate);
  4.         this.payFreq = payFreq;
  5.         configure();
  6.     }
If I click on the "Change Attached Source..." button and select the folder containing the 'rt.jar' file it asks for, I get the same message.

The release notes I have for release Eclipse 3.2.2 says the following: "The debugger requires that class files be compiled with debug attributes if it is to be able to display line numbers and local variables. Quite often, class libraries (for example, "rt.jar") are compiled without complete debug attributes, and thus local variables and method arguments for those classes are not visible in the debugger."

but I'm not sure what this means! Can anyone help?!
Oct 1 '07 #1
3 3173
11,448 Recognized Expert MVP
If I click on the "Change Attached Source..." button and select the folder containing the 'rt.jar' file it asks for I get the same message.
That's not the directory that contains the source code. The source code is stored
in a file src.zip in the jdk directory (not the jre directory).

kind regards,

Oct 1 '07 #2
119 New Member
That's not the directory that contains the source code. The source code is stored
in a file src.zip in the jdk directory (not the jre directory).

kind regards,


Jos...Thanks for that...I realized that I wasn't even running (nor had installed) a JDK. I have now installed a JDK and it is working well.
Oct 1 '07 #3
11,448 Recognized Expert MVP
Jos...Thanks for that...I realized that I wasn't even running (nor had installed) a JDK. I have now installed a JDK and it is working well.
You're welcome of course; basically you don't need Sun's jdk if you've installed
Eclipse but it comes in handy if/when you want to debug/step through all those

kind regards,

Oct 1 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Russ Perry Jr | last post by:
I'm using "ID" and "Value" in the generic sense here... Let's say one page I had a <html:select> with a collection like this: <html:options collection="items" property="key" labelProperty="value"/> In this case "key" is what I mean by "ID", and "value" is what I mean by "Value" -- the "Value" is shown to the user, but the "ID" is what I...
by: Steven Bethard | last post by:
I feel like this has probably been answered before, but I couldn't find something quite like it in the archives. Feel free to point me somewhere if you know where this has already been answered. I have a list in a particular order that I want to split into two lists: the list of every nth item, and the list of remaining items. It's...
by: dlsan | last post by:
Hello to everybody. I'm working in Italy on this website http://www.fondazioneantonioruberti.it/ariene/ as css/xhtml/graphic designer in cooperation with a php programmer and a ISP provider. The site is still in test but i'm having no answer from http://validator.w3.org/ except "302 found" for this page...
by: Jacob Oost | last post by:
Should I get some more general books, like "advanced self-teaching," or can I start on specialized books like "Linux game programming?" Any book recommendations? -- ----- BEGIN GEEK CODE BLOCK ----- Version 3.1 GAT d? !s !a C++++ UL+ P L++ E- W+ N+ o-- K- w-- O- !M !V PS-- PE++ Y+ PGP- t++>++++* 5? !X-- R- tv b++ DI+ D++
by: Richard Lionheart | last post by:
How do I make the changes to environment variables made by vsvars32.bat persistent? I have tried to build Microsoft.Web.UI.WebControls.dll in a effort to study some tutorials about web controls. Andrés Cadavid Gómez in news:F6C9754F-1EF5-4BA1-8B26-6FA03619DB12@microsoft.com pointed me to the site where I could get it I followed the...
by: swartzbill2000 | last post by:
Hello, I have some downloaded source code on my machine that the .net framework thinks is "not fully trusted". How can I fix this? I assume I use the 'Microsoft .NET Framework 1.1 Configuration' in some way. Bill
by: wbosw | last post by:
I created the following Sub to fill a DataSet with the Table named Developer. It binds to the Grid with no problems. Public Sub SearchSkills() Dim sqlcmd3 As SqlCommand = New SqlCommand sqlcmd3.CommandText = "SELECT DeveloperId, SkillsID, Name, SkillLevel, MonthsExperience, Skills FROM vDeveloperSkills" ...
by: Rotem Gabay | last post by:
Hi gurus, I worte a small perl scripts , and when I tried to run the system command : system ( "source ./profile ") ; I recieved the error : Can't exec "source": No such file or directory at .. The file exists , and when I run it on bash it works . Any ideas ?
by: Okko Willeboordse | last post by:
To get the "code object" c of my_class I can do; c = compile(inspect.getsource(my_class), "<script>", "exec") This fails when inspect can't get hold of the source of my_class, for instance when my_class is in a pyc file. Is there another way of getting c?
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.