Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

difference between jdk1.5.06 and jdk1.5.02

Thread view: 
manzur - 09 Nov 2006 10:25 GMT
i encountered  an interesting problem during my s/w development,
I had some calulation part whose result is a double value.The result is
different on difeerent versions of jdk (jdk1.5.06 and jdk1.5.02).

thanks in advance
manzur
Daniel Dyer - 09 Nov 2006 10:30 GMT
> i encountered  an interesting problem during my s/w development,
> I had some calulation part whose result is a double value.The result is
> different on difeerent versions of jdk (jdk1.5.06 and jdk1.5.02).

On the same machine?

Dan.

Signature

Daniel Dyer
http://www.dandyer.co.uk

manzur - 09 Nov 2006 10:36 GMT
They are two different machines.

> > i encountered  an interesting problem during my s/w development,
> > I had some calulation part whose result is a double value.The result is
[quoted text clipped - 3 lines]
>
> Dan.
Daniel Dyer - 09 Nov 2006 11:41 GMT
> They are two different machines.

Might not be the JRE that is the problem.  Different machines may use  
different precisions.  If you want predictable results, use strictfp  
(http://en.wikipedia.org/wiki/Strictfp).

Dan.

Signature

Daniel Dyer
http://www.dandyer.co.uk

Arne Vajhøj - 09 Nov 2006 13:00 GMT
> i encountered  an interesting problem during my s/w development,
> I had some calulation part whose result is a double value.The result is
> different on difeerent versions of jdk (jdk1.5.06 and jdk1.5.02).

Actually it is 1.5.0_2 -> 1.5.0_6 and the _02 to _06 is only bugfixes,
so unless a bug fixed effects your code, then I would look elsewhere
for the difference.

Arne
Chris Uppal - 09 Nov 2006 13:28 GMT
> > i encountered  an interesting problem during my s/w development,
> > I had some calulation part whose result is a double value.The result is
> > different on difeerent versions of jdk (jdk1.5.06 and jdk1.5.02).
>
> Actually it is 1.5.0_2 -> 1.5.0_6 and the _02 to _06 is only bugfixes,

And for details of the bugfixes see

   http://java.sun.com/j2se/1.5.0/ReleaseNotes.html

but like Arne, I suspect your problem lies elsewhere.

   -- chris


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.