This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes version text and JDK version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "version text and JDK version" Watch "version text and JDK version" New topic
Author

version text and JDK version

jesal dosa
Ranch Hand

Joined: Jun 25, 2007
Posts: 46
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

Joined: Sep 13, 2007
Posts: 2383
    
    7

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.

K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5
jesal dosa
Ranch Hand

Joined: Jun 25, 2007
Posts: 46
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

Joined: Sep 04, 2005
Posts: 169
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).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: version text and JDK version