Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What to put in version.txt?

 
mohammad abdellatif
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

what to put in version.txt, shall I put the output of "java -version" or only JDK 1.6??
 
Roel De Nijs
Sheriff
Posts: 10392
132
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what I did, together with the OS I used for developing and testing
 
mohammad abdellatif
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, it was not clear enough for me

That's what I did, together with the OS I used for developing and testing


which one did you use??

Shall I write

JDK 1.6 Linux ubuntu

or use the output of "java -version"

java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.10.2)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
 
Roel De Nijs
Sheriff
Posts: 10392
132
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it's not getting any easier than
instructions.html wrote:A file called version.txt. This must contain pure ASCII (not a word processor format) indicating the exact version of JDK you used, and the host platform you worked on.
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's what I did: I put my name and my ids, version of the JDK used and host platform (OS). Just it.

OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.10.2)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)


Well, just be aware of the following:

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.


I don't know if they can see the "OpenJDK" as a problem... I'd put a production version of the JDK (something like 1.6.0_27 or 1.7.0).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic