Thursday, October 16, 2008

Debugging in Eclipse across different JRE versions

From time to time, we get issues that only occur with a particular version of the JRE. Setting a break point and then stepping into the JRE sources proved to be troublesome as the mapping between which JRE was being used and the JRE source was not correct. Fortunately, I've recently discovered the issue. While the runtime JRE was set to one version, the actual classpath had a different JRE. The key is to remember to also change the classpath to use the same JRE as the runtime JRE. 

I keep forgetting this, so basically, note to self...

1 Comments:

At 25 June, 2009 09:23, Blogger Doug said...

I'm starting to lose count of the number of times I've needed to refer to this... :)

 

Post a Comment

Links to this post:

Create a Link

<< Home