• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Spring 4 with Jdk 6

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • 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
  • 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: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. Yeah, I agree I can't use new features with jdk 6 but thanks, this will do.
 
Marshal
Posts: 4662
301
IntelliJ IDE Clojure Java
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
You ridiculous clown, did you think you could get away with it? This is my favorite tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!