This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDK to use? 1.4.2 or 1.5?

 
John Cogan
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I've been along time at URLyBird 1.3.1 and I'm about to submit.
I've been using 1.4.2 JDK but my instructions say:

You may develop your code using any implementation of the Java 2 platform, but 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 platform and that platform must not have been superseded by a new production version for more than 18 months by the time you make your submission.

Has 1.5 been around for more than 18 months?
Best regards,
John
 
Ta Ri Ki Sun
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has 1.5 been around for more than 18 months?

Not at all, you still have a year to go
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I ask the same question and answer is you can use 1.4.2 or 1.5 but mention that in your version.txt
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For safe side I am using 1.5.0_02 build 29 and documentation of jdk 1.4.2. So my program will work on both (I know you can compile of both before submitting) and not violate SUN policy of not using new things.. (NIO or any other unknown not to use from 1.5.0)
 
zeus chaos
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey I think it is a smart approach!!! Using JDK 1.5 but constraining yourself to java 1.4 features.

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!