cancel
Showing results for 
Search instead for 
Did you mean: 

What java version is needed for developing an SAP 4.3 BO application using java SDK?

0 Kudos
3,504

We are upgrading our existing solution from SAP 3.1 to SAP 4.3. We are currently on 32 bit jdk 1.6. As part of this upgrade, we will be using the SAP Business objects and functionalities provided by the Java SDK 4.3 API's by following the SAP 4.3 documentation:
https://help.sap.com/viewer/4359a0ef221e4a1098bae432bdd982c1/4.3.1/en-US/45f0fef76e041014910aba7db0e...

We got the jars from the folder location BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\
to get our java classes to compile in eclipse. However, after putting these jars in our project, we are getting version mismatch errors on some of the classes while installing the project:
"bad class file: com\businessobjects\rebean\wi\DataSource.class(com\businessobjects\rebean\wi:DataSource.class) class file has wrong version 52.0, should be 50.0"

which seem to indicate that we should be using java 8 instead of java 6.

However the SAP documentation is indicating that we can use a jre 1.6 for 4.3:
https://help.sap.com/viewer/4359a0ef221e4a1098bae432bdd982c1/4.3.1/en-US/45f0a3dd6e041014910aba7db0e...

Is it possible to have the code run on java 6, or will we have to upgrade to java 8 as part of this upgrade?

Accepted Solutions (0)

Answers (1)

Answers (1)

matt_r
Explorer
0 Kudos

Hi there,

first of all i have to point out that im just a member of the community. Therefore i cant speak for the developers of the SDK 4.3.

Anyways: Despite its written:

  • 64-bit Java Runtime Environment 1.6 or higher"

It looks like you are right and the jar is compiled with java 8. But it also point out 64bit whereas you are trying to run it on 32bit.

-----

I highly recommend an current Java LTS Release (like 11 or even 17). Java 6 was EOL 2013, so since about 9 years ago there are no new security Updates (azul aside).

https://en.m.wikipedia.org/wiki/Java_version_history

This Month (September 2021) Java 17 was released as the next LTS Version. Even my company recently switched from 8 to 11, so we are also "behind". But running still Java 6 in 32bit is a security nightmare and really really should be updated as soon as possible. There might be very few exceptions for still using Java 6, but for Buisness Logic you should switch to Java 11 [or even 17 if you have the struggle of upgrade anyways].

Best regards,

Matthias