Geeks Talk

Prepare for your Next Interview




Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6

This is a discussion on Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6 within the Java forums, part of the Software Development category; What is the difference between jdk1.4.2 and jdk 1.5.0 and jdk1.6 I have created s front page using jdk1.4.2 swing tools. After that ...


Go Back   Geeks Talk > Software Development > Java

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-13-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 160 Times in 136 Posts
Geek_Guest is on a distinguished roadGeek_Guest is on a distinguished road
Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6

What is the difference between jdk1.4.2 and jdk 1.5.0 and jdk1.6

I have created s front page using jdk1.4.2 swing tools. After that i have updated with jdk.1.60 what happen my window color automatically change

I have used a drop down list box of linked with Mysql database table emp, in this I can't able to type to get a value i have to scroll for picking a emp no. (jdk1.4.2) after updation i can directly type the no i shows i corresponding other details like empname and all

Why it does not work in jdk1.4.2

Question asked by visitor siranjeevi
Reply With Quote
The Following 3 Users Say Thank You to Geek_Guest For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 08-30-2007
Junior Member
 
Join Date: Aug 2007
Location: India
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
sownaRajkumar is on a distinguished road
Post Re: Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6

hi,
There are lot of class have been deprecated in java 5. and sun have named it as Java Tiger. They have added some features also. somethink like autoboxing, autounboxing, generics, for loop enhanced, etc...,
So if you have created an application/program using java 1.4 it may for some occasion wont run in java 5. the reason is many classes have been deprecated. I dont know how to tell clearly. For further ref. see java complete reference something like that.

Regards,
Rajkumar
Reply With Quote
  #3 (permalink)  
Old 09-02-2007
Junior Member
 
Join Date: Aug 2007
Location: California
Posts: 8
Thanks: 3
Thanked 1 Time in 1 Post
Peruano is on a distinguished road
Re: Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6

You should check out the list of some of the deprecated methods and such at
http:// java . sun . com /j2se/1.5.0/docs/api/deprecated-list . html
This shows a number of AWT and Swing stuff that are not used anymore.
Reply With Quote
The Following User Says Thank You to Peruano For This Useful Post:
  #4 (permalink)  
Old 01-18-2008
Junior Member
 
Join Date: Dec 2007
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
ankit_k7 is on a distinguished road
Re: Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6

All are in 1.5 but not in 1.4 generics this long-awaited enhancement to the type system allows a type or method to operate on objects of various types while providing compile-time type safety. It adds compile-time type safety to the collections framework and eliminates the drudgery of casting. Enhanced for loop this new language construct eliminates the drudgery and error-proneness of iterators and index variables when iterating over collections and arrays. Autoboxing/unboxing this facility eliminates the drudgery of manual conversion between primitive types (such as int) and wrapper types (such as integer). Typesafe enums this flexible object-oriented enumerated type facility allows you to create enumerated types with arbitrary methods and fields. It provides all the benefits of the typesafe enum pattern ("effective java," item 21) without the verbosity and the error-proneness. Varargs this facility eliminates the need for manually boxing up argument lists into an array when invoking methods that accept variable-length argument lists. Static import this facility lets you avoid qualifying static members with class names without the shortcomings of the "constant interface antipattern."
Reply With Quote
  #5 (permalink)  
Old 06-04-2008
Junior Member
 
Join Date: Jul 2007
Location: INDIA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sathishkhannain is on a distinguished road
Re: Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6

i guess there is some difference in enum datatype.
Reply With Quote
  #6 (permalink)  
Old 06-24-2008
Junior Member
 
Join Date: Jun 2008
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
keystone is on a distinguished road
Re: Difference between JDK1.4.2, JDK 1.5.0 and JDK1.6

Hi,
I am facing a problem with the session beans.
Problem Description :- I have set a value in the session bean and when i tried to get the value from the session bean a null value is returned. What could be the problem for this. recently i have upgraded the jdk version from jdk1.4 to jdk1.5.

Is there any problem with the class files compiled on jdk1.5.
Reply With Quote
Reply

  Geeks Talk > Software Development > Java


Thread Tools
Display Modes



All times are GMT -4. The time now is 11:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved