Hi All,


I’ve searched on this, but I can’t seem to find an answer to this specific problem.


I am trying to run a transform:


java -classpath "C:\Saxon\saxonb9-1-0-7j\saxon9.jar" net.sf.saxon.Transform -s:"index.xml" -xsl:"C:\transform.xsl" -o:"C:\out.txt"


And hit this error:


java.lang.UnsupportedClassVersionError: net/sf/saxon/Transform (Unsupported major.minor version 48.0)

                at java.lang.ClassLoader.defineClass0(Native Method)

                at java.lang.ClassLoader.defineClass(Unknown Source)

                at java.security.SecureClassLoader.defineClass(Unknown Source)

                at java.net.URLClassLoader.defineClass(Unknown Source)

                at java.net.URLClassLoader.access$100(Unknown Source)

                at java.net.URLClassLoader$1.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.net.URLClassLoader.findClass(Unknown Source)

                at java.lang.ClassLoader.loadClass(Unknown Source)

                at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

                at java.lang.ClassLoader.loadClass(Unknown Source)

                at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Exception in thread "main" Process java exited with code 1


I have the latest, or next to lastest java SDK:


C:\Windows\System32>java -version

java version "1.6.0_13"

Java(TM) SE Runtime Environment (build 1.6.0_13-b03)

Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)


I saw this error show up for people with JDK 1.4, but not with the latest JDK 1.6.


Any thoughts on how I can resolve?