File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes version.txt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "version.txt" Watch "version.txt" New topic


pramod karnani
Ranch Hand

Joined: May 22, 2007
Posts: 88


My application still works in JDK 6 but for development I used JDK 5 and specified JDK 5 in version.txt

so now Sun will fail me


Throughout this exercise, you must use exclusively the Java 2 platform. 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.


K. Tsang

Joined: Sep 13, 2007
Posts: 3132

If you use JDK6 for development and testing then you should say JDK6 in your version.txt file. Of course JDK5 is also ok but if you used any JDK6 methods (especially in Swing) then running in JDK5 will not work.

Personally I don't know if JDK5 has obsoleted or not. So I recommend using JDK6. You may want to check Sun's JDK end of life page if JDK5 is outdated or not. Ok just checked
J2SE 5.0 is in its Java Technology End of Life (EOL) transition period. The EOL transition period began April 8th, 2008 and will complete October 30th, 2009, when J2SE 5.0 will have reached its End of Service Life (EOSL).

K. Tsang JavaRanch SCJP5 SCJD OCPJP7 OCPWCD5 OCPBCD5 OCPWSD5 OCMJEA5 part 1 part 2/3
I agree. Here's the link:
subject: version.txt
It's not a secret anymore!