W liście z sob, 18-01-2003, godz. 08:57, Ahmed pisze: > Hi, > > $ cat Hello.java > class Hello { > public static void main(String[] args) { > System.out.println("Hello."); > } > } > $ jikes-sable Hello.java > $ sablevm --no-copyright Hello > java.lang.UnsupportedClassVersionError > at java.lang.VMClassLoader.nativeDefineClass(VMClassLoader.java) > at java.lang.VMClassLoader.defineClass(VMClassLoader.java:78) > at java.lang.VMClassLoader.defineClass(VMClassLoader.java:121) > at java.lang.ClassLoader.defineClass(ClassLoader.java:587) > at java.lang.ClassLoader.defineClass(ClassLoader.java:555) > at > gnu.java.lang.SystemClassLoader.findClass(SystemClassLoader.java:108) > at java.lang.ClassLoader.loadClass(ClassLoader.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:259) > at java.lang.VirtualMachine.main(VirtualMachine.java:79) > $ > > My versions: > sablevm 1.0.5-1 > jikes-sable 1:1.18-1 > jikes 1:1.18-1 > > The only thing I found on the net is at: > http://sourceforge.net/mailarchive/forum.php?thread_id=1437356&forum_id=4151. > > Does Jikes 1.18 bytecode work with SableVM 1.0.5? As far as I know - No, it doesn't.
Please use jikes from testing distro (1.15). You shouldn't have any other problems because of that. Bytecode outputed by newer jikes makes use of some functions that SableVM doesn't have yet. It's good question to the upstream when it will get that functions. But I am am sure it's the no. 1 on the TODO list as soon as the author gets back from his vacations. BTW: I tested above example w/ jikes 1.15 (and jikes-sable wrapper from current jikes package version) and it worked. Grzegorz B. Prokopski -- Grzegorz B. Prokopski <[EMAIL PROTECTED]> Debian http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]