• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which Version of JDK to be used???

 
Sam Codean
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Please can someone tell me which version of JDK should one use if he is started with a SCJD programming assignment this month?
One of my friends is taking the programming assignment somewhere next week. He uses Mac OS X with a current jdk version
jdk1.4.2_09
Thanks in Advance,
 
Eiji Seki
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the assignment:
(...) the submission that you return must have been tested and shown to work under a production (not development) version of the Sun Microsystems' Java 2 plataform ant that plataform must not have been superseded by a new production version for more than 18 months by the time you make your submission.


So you will be safe if you use Java 1.5. Java 1.4 will be accepted only if 1.5 was released less than 18 months before you deliver it. Since it is on the market for a while, I think you should use 1.5. If I'm not mistaken, someone pointed that Java 1.4 assignments would be accepted until the beggining of March (so it is no longer valid).

I think this question should enter the FAQ.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12007
215
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Eiji,
I think this question should enter the FAQ.
We do have a question (and answer) for "How can I find out when a version of the JDK was released?", from which someone could calculate that you have until March 29th to submit code that has only been compiled and tested using JDK 1.4. After March 29th you would, of course have to compile and test using at least JDK 1.5.

The advantage of this particular question and answer is that it still works when JDK 1.6 or 1.7 ... is released.

But if you would like to write something up in the FAQ, then go for it - the FAQ is in a WIKI, so anyone can modify it to add questions and answers

Regards, Andrew
 
Sam Codean
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much for your responses
 
Eiji Seki
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Andrew Monkhouse:
Hi Eiji, We do have a question (and answer) for "How can I find out when a version of the JDK was released?" (...) But if you would like to write something up in the FAQ, then go for it - the FAQ is in a WIKI, so anyone can modify it to add questions and answers


Wow, did not notice any of that.
Well, I'll just add a more direct question then.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic