Re: Java compatibility

2018-09-30 Thread Chuck Hill
I don't recall what the source level backwards compatibility is.  But that 
message means you are trying to use .class files compiled for Java 8 on an 
earlier JVM (1.6 clearly).  You will need to either upgrade the server or 
re-compile from source targeting 1.6.

Chuck

P.S.  Java 1.6?!!?  


On 2018-09-30, 8:59 PM, "Webobjects-dev on behalf of ocs@ocs" 
 wrote:

Hi there,

is is possible that WOnder 7 is not compatible with Java 6? Whatever I try, 
I can't find any description on the Web; what I am getting though is an error

===
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
er/extensions/appserver/ERXApplication : Unsupported major.minor version 52.0
===

on a client's server, where there is

===
53 # java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-10M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
54 # 
===

On all my machines, where happen to be Javas 8-10, the application runs all 
right.

Thanks for any insight,
OC

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com

This email sent to ch...@gevityinc.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Java compatibility

2018-09-30 Thread ocs@ocs
Hi there,

is is possible that WOnder 7 is not compatible with Java 6? Whatever I try, I 
can't find any description on the Web; what I am getting though is an error

===
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
er/extensions/appserver/ERXApplication : Unsupported major.minor version 52.0
===

on a client's server, where there is

===
53 # java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-10M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
54 # 
===

On all my machines, where happen to be Javas 8-10, the application runs all 
right.

Thanks for any insight,
OC

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com