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 B&S: JDK Version 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 "B&S: JDK Version" Watch "B&S: JDK Version" New topic

B&S: JDK Version

Laura Pecoraro
Ranch Hand

Joined: Mar 31, 2009
Posts: 45
Hi all

I am doubtful about the JDK to use for my solution... I can use any version of JDK (es. JDK1.4, JDK5...) or I obliged to use a specified version??? If, yes.... what???

Thanks, Laura

P.S. Now, to devel my solution, I use Eclipse 3.2.2 with JDK5...
K. Tsang

Joined: Sep 13, 2007
Posts: 3130

First Java SE 1.4 reached its end of service life (obsolete). So for submission it's either v5 or v6. The good thing that it works for v5 is it's backward compatible - this means your code doesn't use any thing that is "since 1.6" accordingly to the API docs. One of these is java.awt.Component.setBounds().

Yet you should do your testing with v6 and say v6 in your version.txt file.

This earlier thread asked the same thing

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