• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDK version

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Everyone,

I am working on the 'Oracle Certified Master, Java SE 6 Developer' certification.
As the title suggests this certification is about Java SE 6 right?

But the instruction state that the Java 'platform must not have been superseded by a new production version for more than 18 months by the time you make your submission.'

So right now I am confused, should I develop on JDK6 or JDK7?

JDK6u33 was released June 2012 so I guess using this must be OK, but Java6 is an older version.
JDK7u5 was released May 2012, currently the newest Java version.
Because my application (urlybird) was developed on JDK6 it also works on JRE7.

If I would use JDK7 should I use new features which did not exist in JDK6?

Thanks in advance,
Bas
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JDK7 is released on July 28, 2011. So that means you still can use JDK6 until January 28, 2013.

If you decide to use JDK7 I would certainly use the newest features and language structures to show you have good knowledge about the JDK you are using.
 
Bas deRoss
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Roel!

My URLyBird must be ready in October this year, so I will stay with JDK6.

I guess using JDK7 won't get me extra points, while I may take some risk by developing with it.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

B.D. Ross wrote:I guess using JDK7 won't get me extra points


That's true.
 
Bartender
Posts: 2418
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Roberto buddy suggested the latest JDK version.
I will run the same assignment on both JDK 6 and 7 to see if it works.
To be safe, I will write down platform: JDK 6 , JDK 7 in choice.txt
 
Bartender
Posts: 1558
5
Eclipse IDE Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Himai Minh wrote:Roberto buddy suggested the latest JDK version.
I will run the same assignment on both JDK 6 and 7 to see if it works.
To be safe, I will write down platform: JDK 6 , JDK 7 in choice.txt


Well, I would apply a simple rule during assignment:
While doing 'xyz', are you gonna get extra points? If not, don't do it (because if something goes wrong, you'd lose the points). Besides OCMJD is specific to JDK 6. I would use latest release of JDK 6, instead of JDK 7.
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anayonkar Shivalkar wrote:While doing 'xyz', are you gonna get extra points? If not, don't do it (because if something goes wrong, you'd lose the points).



Well, I didn't really get what one thing has to do with the other. What does the JDK version has to do with things going right or wrong?
 
Anayonkar Shivalkar
Bartender
Posts: 1558
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Roberto Perillo wrote:

Anayonkar Shivalkar wrote:While doing 'xyz', are you gonna get extra points? If not, don't do it (because if something goes wrong, you'd lose the points).



Well, I didn't really get what one thing has to do with the other. What does the JDK version has to do with things going right or wrong?


Well, I don't exactly remember whether using altogether different major version of JDK (i.e. JDK 7 for OCMJD - 6) would break any 'must' requirement.

Just out of curiosity, if someone uses JDK 7 for OCMJD (which is currently only for JDK 6),
1) Is it allowed?
2) If yes, upto what extent? I mean, what if user starts using specific features of JDK 7?

Yes, things won't go 'wrong' while using JDK 7 (whatever works in JDK 6 would work in JDK 7), but (unintentionally) breaking a 'must' requirement is quite unfortunate. And to avoid confusion, I would (still) recommend to use latest stable version of JDK 6.

Just my opinion.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as I know the SCJD has always been JDK independent...
 
Roberto Perillo
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Roel De Nijs wrote:As far as I know the SCJD has always been JDK independent...



There you go. So, in my opinion, it really isn't a problem which version you are going to use for your solution. As long as you keep things simple, it is pretty likely that everything will run smoothly!
 
Anayonkar Shivalkar
Bartender
Posts: 1558
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Roberto Perillo wrote:

Roel De Nijs wrote:As far as I know the SCJD has always been JDK independent...



There you go. So, in my opinion, it really isn't a problem which version you are going to use for your solution. As long as you keep things simple, it is pretty likely that everything will run smoothly!


Agreed
 
Himai Minh
Bartender
Posts: 2418
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.
It is fine to use JDK 7 for the JDK 6 SE exam with any OS. JDK 6/7 is OS independant.
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I were you, I will use JDK6. If you decide to use JDK7, I suggest you NOT use the new features because this way you can compile with "-source 6" flag and still works. However if you have JDK7 new features, compiling in v6 will generate problems.
 
Roberto Perillo
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

K. Tsang wrote:If you decide to use JDK7, I suggest you NOT use the new features because this way you can compile with "-source 6" flag and still works. However if you have JDK7 new features, compiling in v6 will generate problems.



Well, since JDK7 has production versions, then it's ok to use its features. By the way K, good to see you around here again!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic