John Kattestaart | 2 Apr 21:51 2010
Picon

FOP 0.95 and Windows 2008 64 bit

Hello,

I'm getting an UnsopprtedClassVersionError on Windows 2008 Server 64 Bit.
On a Windows server 2008 32 bits all is wel

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/fo
p/cli/Main (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)

Does anyonen knows how to solve this?

John
Chris Bowditch | 6 Apr 15:50 2010
Picon

Re: FOP 0.95 and Windows 2008 64 bit

John Kattestaart wrote:
> Hello,
> 
> I'm getting an UnsopprtedClassVersionError on Windows 2008 Server 64 Bit.
> On a Windows server 2008 32 bits all is wel
> 
> Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/fo
> p/cli/Main (Unsupported major.minor version 48.0)

FOP 0.95 is compiled with JDK 1.4. Sounds like your 64-bit machine only 
has a pre-1.4 JDK installed, e.g. 1.3. Check which JDKs are installed on 
the 64 bit machine and if a newer JDK is available check that it is 
preceeds the older JDKs in the PATH environment variable.

>         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)
> 
> Does anyonen knows how to solve this?

Chris
(Continue reading)


Gmane