Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

will struts 1.1 supports java 6?

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends & Pals,

Currently i am working on a Struts 1.1 project which uses Java 1.4.
I am going to migrate it to java 6.
Will Struts 1.1 supports java 6?
Is there any compatibility problems for struts 1.1 and java 6, if so what are they...
Send me some more details about this....

Thanks,
Shunmuga
 
Rancher
Posts: 43016
76
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java is fundamentally backwards-compatible, which means that code written for Java version X generally runs fine on Java version X+1, X+2 etc. It's unlikely that you'll encounter significant (if any) problems.
 
shunmuga sundar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have changed the few code, so as it should support java 6.
but from the struts perspective can you give me some thoughts on what i have to change so as it will support java 6?
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The point of my post was that no changes should be necessary due to Java's backwards compatibility. Have you encountered problems that you think are due to backwards incompatibility?
 
shunmuga sundar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, i faced problem in java.
Some of the methods are found in the java 6, like comparing using the obj is not found in java 6.
i have updated the code for java 6.
However i have not started the Struts Part, yet.
I will update you, once i start the Struts Part.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like Ulf said, you don't have to change anything to be able to run your code in a Java 6 runtime environment, if was developed in some previous version of Java. Which exact version of Java were you using earlier?

shunmuga sundar wrote:Yes, i faced problem in java.
Some of the methods are found in the java 6, like comparing using the obj is not found in java 6.


I am not sure what that means. Can you please explain?

 
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic