Hi guys,
I'm trying to use HtmlUnit jars in my application and it works just fine on
my machine that has jdk 1.8.
but when I try to run it on the server machine that has jdk 1.5 I get the
following error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version
I configured the compiler in my IDE (using JDeveloper) to generate class
files in 1.5 version, and it worked previously (before I added HtmlUnit
jars) when I had this problem. But this doesn't help when I'm using
HtmlUnit.
I wonder whether it's possible to run the latest HtmlUnit jars with jdk
1.5?
thanks,
Boris.
|