Results 1 to 11 of 11
  1. #1
    mew
    mew is offline Member
    Join Date
    Nov 2007
    Posts
    70
    Rep Power
    0

    Default Java 5 or Java 6

    I am starting a new application. Which JDK should I use.
    I am now to this mates. Please advice.

    Eclipse gives options to use JDK 1.4, 5 and 6.

    Thanks.

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    758
    Rep Power
    8

    Default

    Just use the latest JDK.

  3. #3
    ravian is offline Senior Member
    Join Date
    Nov 2007
    Posts
    115
    Rep Power
    0

    Default

    JDK 6 is the latest one and its also stable.

  4. #4
    mwildam's Avatar
    mwildam is offline Member
    Join Date
    Aug 2007
    Posts
    72
    Rep Power
    0

    Default

    I have noticed that there are significant new things in the version 6 eg the tray notification icons.

    I also go with 6 for my early tests (I must say that I have no living Java project so far because very new to java).

    But I noticed that eg most linux distributions still have the 5 installed by default and installing the version 6 needs some manual work.

    So if you want to make sure that your app runs anywhere still running an older Java version then the 5 might be your choice. But regarding new features and libraries the 6 might be the one to prefer.
    Greetings, Martin Wildam.

  5. #5
    staykovmarin is offline Senior Member
    Join Date
    Nov 2007
    Location
    Newport, WA
    Posts
    141
    Rep Power
    0

    Default

    Or you read trough Java SE 6 Features and Enhancements and see if there is something you find useful in there.

    Also as always, it has better performance than previous versions (which is something that programmers attempt to scare n00bs with "ITS SLOW! it will kill that dual core cpu you have!!!").

  6. #6
    mew
    mew is offline Member
    Join Date
    Nov 2007
    Posts
    70
    Rep Power
    0

    Default

    Thanks to all of you.
    I will go through the link given by staykovmarin to learn about the new features added in Java 6.

  7. #7
    mwildam's Avatar
    mwildam is offline Member
    Join Date
    Aug 2007
    Posts
    72
    Rep Power
    0

    Default

    And what IDE do you use ? I am not sure if there are recommendations regarding combinations of IDE version and Java SDK versions.
    Greetings, Martin Wildam.

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  9. #9
    mwildam's Avatar
    mwildam is offline Member
    Join Date
    Aug 2007
    Posts
    72
    Rep Power
    0

    Default

    I am not sure if there should be differences in stability when using eg Netbeans 5.0 or whatever with Java 6.

    However I found out that NetBeans 5.5.1 with Java 6 did not report an error in a method (that did not work) that was reported after updating to NetBeans 6.0. But I am not sure if this really is an issue of IDE version and Java version combination.
    Greetings, Martin Wildam.

  10. #10
    mew
    mew is offline Member
    Join Date
    Nov 2007
    Posts
    70
    Rep Power
    0

    Default

    I am working in Eclipse. I guess it would be OK?

  11. #11
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. java.lang.OutOfMemoryError: Java heap space
    By paul in forum Advanced Java
    Replies: 11
    Last Post: 06-12-2010, 05:30 PM
  2. Replies: 3
    Last Post: 09-07-2009, 01:28 PM
  3. Replies: 3
    Last Post: 03-26-2009, 10:31 PM
  4. Java experts needed- 30 minute online Java projects
    By michelle in forum Jobs Offered
    Replies: 0
    Last Post: 03-05-2008, 11:47 PM
  5. java.lang.OutOfMemoryError with java vector
    By mary in forum New To Java
    Replies: 3
    Last Post: 08-03-2007, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •