473,661 Members | 2,464 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 3181
JosAH
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,

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

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 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
methods.

kind regards,

Jos
Oct 1 '07 #4

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

Similar topics

9
6501
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 plan to keep, to be saved to a database (as a reference in a table to a common table as a part of...
33
2995
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 important to maintain the original order in both lists. So the first list is simple:
4
3273
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 http://www.fondazioneantonioruberti.it/ariene/ and also
33
2383
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++
5
1839
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 ReadMe.txt instructions. When it came to execute the installation's build.bat, it failed because...
6
1604
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
1
1604
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" sqlcmd3.Connection = connection
1
3529
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 ?
2
2026
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?
0
8432
marktang
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8343
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8855
Oralloy
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8758
jinu1996
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6185
isladogs
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4179
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2762
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
2
1986
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.