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

version text and JDK version

 
jesal dosa
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So close yet so far. I am just writing the version.txt file

The instructions state
indicating the exact version of JDK you used, and the host platform you worked on.


I have been using the Eclipse IDE and Ant to build the runme jar file. My confusion is that eclipse apparently uses its own Java compiler and i am not sure what the ANT javac option is using to build and compile the classes. I am running the ant build under a separate JRE called jdk1.6.0_13

I am testing the application under the latest the JRE

java version "1.6.0_13"
java(TM) SE Runtime Environment (build 1.6.0_13-b03)
java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

I have been looking at some post on goggle and here but i cant seem to figure what i put in the version.txt

Do i put jdk1.6.0_13 or jre java version "1.6.0_13"

Some please help and hopefully I can finally submit this.
 
K. Tsang
Bartender
Posts: 3502
14
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should put in both the JDK (javac) and JRE (java) versions. Also you should not rely on the IDE internal compiler/runtime. When you do your final testing... do the compilation/running in the command prompt to ensure it works with the installed java environment. Same goes for javadoc command. Of course the 2 really makes no difference.
 
jesal dosa
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks K. Tsang. I was playing with the eclipse settings and it was using the correct version for the ant javac call. Thanks I will add both the jre and jdk versions in the version.txt

thanks
 
mohamed sulibi
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dears;

i only write the following informations:


Exact version of JDK I used:

1.6.0_02

Host platform I worked on:

Microsoft Windows XP Service Pack 2


i think it is enough.

?

Best Regards.
Mohamed Sulibi
scjp , scjd in progress ( from 1/8/2007 till now may be next week).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic