cancel
Showing results for 
Search instead for 
Did you mean: 

regarding bigdecimal problem due to version

Former Member
0 Kudos

Hi all,

I am getting the following error:

java.lang.NoSuchMethodError: java/math/BigDecimal.<init>(I)V

and in correction hints its given:

The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.

If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.

now when i deployed the same code in my colleagues system it didnt giv me such error. So from this I concluded that as i am using jdk1.5 and my colleague jdk1.4 such error is occuring so can someone suggest me whether i need to degrade my version of jdk or its possible to fix the problem without degrading my version.

please reply asap points shall be awarded

thanks

Jaspreet Kaur

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

JDK 5 compiler defaults to source and target level 1.5 and will thus produce classes that are not compatible with a 1.4 runtime

so it ll not work...u will hv 2 use Jdk 1.4

Former Member
0 Kudos

hi kanwalpreet

thanks will do tht

thanks & regards

Jaspreet Kaur

Answers (0)