I am about to submit. One stupid question - i am to blind to find the release date of java version 1.6.0. Is that still a good version to submit the assignment this month??.....
Can you give me an example of your content of the version.txt??
Mine looks like this: java version 1.6.0
Platform: Windows 7
Just run the following command from the command line:
It will output some rows with at least something like this:
I added this to my version.txt:
Java version: 1.6.0_25
Platform: Windows XP Professional SP2
And that's all :-)
Note: If you are not sure if you have an up to date java version, just install the latest available version. (1.6.0 update 25 at this moment).
SCJP, SCWCD, SCJD
posted 9 years ago
thanks for your answer. However, I am still a bit unsure. In the assignment it says "your submission must have been tested and shown to work under a production version of the Java 2 platform and that the platform must not have been superseded by a new production version for more than 18 months"
==>(1) What do they mean by "production version"?? I have just seen that java 1.6.0 (the version I am using), was released in 2006 (!!!) In between there have been several updates, the last being 1.6.0_25 ==> do these updates count as versions or will the next version be Java 1.7???
==> I know that I can type java- version, but I was unsure if I also have to put the second and third line into the version.txt (
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
Java SE 6 is indeed released in December 2006 and shortly the new version 7 will be released (expected July 28th, 2011). Since the initial release of Java SE 6 a whole bunch of updates are released, a few days ago update 26 was released. So I would not take any risk, just install the latest update and develop/test/run your application with this latest update. I'm quiet sure you won't discover any issue with this new update because these updates are all about bug fixes, performance issues,... Public APIs will not be changed in these updates, more info can be found here.