I tried to run bsh-1.2b6.jar with the following .CMD:
java -verbose %1 %2 %3 %4 %5 %6 %7 %8 %9
and bsh.Console (or bsh.Interpreter as arguments).
I get an error "Bad major version number" error (I added
some context before:
[Loaded java/util/Vector.class from
ass from E:\JAVA11\LIB\SecMa.jar]
ss from E:\JAVA11\LIB\SecMa.jar]
curityManager.class from E:\JAVA11\LIB\SecMa.jar]
[Loaded DLL 'E:\JAVA11\DLL\..\bin\javaz.dll' (rc = 0 module
handle = 0x144f)]
[Failed to load bsh/Console.class from
F:\Util\Java\BeanShel\bsh-1.2b6.jar for this reason: Bad
major version number]
Can't find class bsh/Console or something it requires
I think that this error is related to compiling with JDK >1.2
and running with 1.1.8. The wesite claims some
compatibility wtih 1.1.
Maybe compiling with -target would help. I have Swing 1.1
This is JDK 1.1.8 on OS/2 Warp 4 Fixpack 15.
Log in to post a comment.