• 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

will struts 1.1 supports java 6?

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

 
Evildoers! Eat my justice! And this tiny ad's justice too!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic