I'm trying to create a stored procedure using a package from jakarta. When I write a normal class in WSAD (running Beta 5), I can run it without problems.
I can compile the class from my CLP (javac ...). But if I create the stored procedure and try to run it, I become the error message "Bad major version number". I suppose, the Jakarta package was compiled with JDK 1.4 and the DB2 java runtime is older (???).
When I try to compile this class within Stored Procedure Builder, I become the following error:
wrong version: 46, expected 45.
I suppose (I'm really not fit with this java stuff) that SPB uses another runtime and another compiler (from %DB2PATH%\java ???).
Can I change the DB2 Environment, so that DB2 uses the new JDK and runtime? If I can do it, will SPB use it, or I must change something there too?
If I wrote some "insanity", please let me know! I'll appreciate your comments.