Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

pedro
2012-06-11 07:37:03

Hi

You'd better make the same Java versions for Windows and Linux.
Or you will get UnsupportedClassVersionError error.

Regards,
Pedro

sheridany
2012-06-09 19:58:27

Created a job in Windows XP and when I try to run the sh script in solaris I get the following error message...Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file

We are running this on the solaris machine...

java version "1.5.0_24"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_24-b02)
Java HotSpot(TM) Server VM (build 1.5.0_24-b02, mixed mode)


Desktop is

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

H:\>java -version
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)

H:\>

Board footer

Powered by FluxBB