Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using a Java 5 API in a 1.4 project

807605Jul 3 2007 — edited Jul 3 2007
All my projects have to be developed in the Struts framework using Java 1.4.something but I really would like to use Watij web automation for a quick web scraping however it's Java 5. What is the best way to incorporate it into my project seeing as I can't directly use as it won't compile in my current project with Java 5.

Here's the link if anyone is interested, it seems extremely interesting.

http://watij.com/

I already tried creating a Java 5 project, JARing it up and then just importing it in my struts project and calling the method I want however I end a
java.lang.reflect.InvocationTargetException
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 31 2007
Added on Jul 3 2007
1 comment
107 views