Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

will struts 1.1 supports java 6?

 
shunmuga sundar
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
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • 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: 42968
73
  • 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.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
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?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic