• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Spring 4 with Jdk 6

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

I'm trying to use spring 4 MVC java based configuration to upgrade my web application. Due to other constraints, I can not use latest version of jdk. Can you tell me if spring's java based configuration (annotations) works with jdk 1.6? I believe jdk 1.6 is what supported with websphere (WAS 7).
 
Bartender
Posts: 1868
81
Android IntelliJ IDE MySQL Database Chrome Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like, according to this post https://spring.io/blog/2015/04/03/how-spring-achieves-compatibility-with-java-6-7-and-8 Spring 4 will work with Java 6, 7 or 8.
I suspect that you won't get access to some of the newer features and enhancements using Java 6 and some libraries, third party or otherwise may not work right out of the box with Java 6.
 
santosh batta
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you. Yeah, I agree I can't use new features with jdk 6 but thanks, this will do.
 
Sheriff
Posts: 5508
326
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Be careful if you have any Spring MVC Controllers that are not using annotations where your Controller class extends Spring's "AbstractController" class (or similar) because Spring 4 removed a bunch of those classes. I had this fun last year.
 
Pete Letkeman
Bartender
Posts: 1868
81
Android IntelliJ IDE MySQL Database Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are welcome. I glad I was able to help you out, and remember all we are all in this together.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic