UnsupportedClassVersionError

Hi all,Im trying to use a Java Class file located on the file system, the notes.ini var “JavaUserClasses” specifies the full path to the .jar file.

Using LS2J I call the jsession.getclass( ClassName§ ) resulting in

LS2J Error: Threw java.lang.UnsupportedClassVersionError: ( Unsupported major.minor version 49.0 )

My current JRE is 1.5, when switching to 1.4 it generates the same error except the version #:

( Unsupported major.minor version 48.0 )

There’s another problem: if the “JavaUserClasses” specifies only the directory where the .jar file is located the

CLassNotFoundException will be raised ?!

Subject: UnsupportedClassVersionError

The JRE that comes with Notes 6.5.4 is 1.3.1. In my experience the “javauserclasses” environment variable should specify the full path (just like a classpath variable) – not just the directory. For example:JavaUserClasses=c:\jars\xml-apis.jar;c:\jars\crimson.jar;

And you’ll need to restart after changing your ini file. Incidentally, you may want ot have a look at this → response too.

hth,

dgg