473,322 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

"Source not found" for ParseException.class when debugging

119 100+
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 3157
JosAH
11,448 Expert 8TB
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,

Jos
Oct 1 '07 #2
billelev
119 100+
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

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
JosAH
11,448 Expert 8TB
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
methods.

kind regards,

Jos
Oct 1 '07 #4

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

Similar topics

9
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"...
33
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. ...
4
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....
33
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...
5
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...
6
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'...
1
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...
1
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...
2
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.