Hi Richard,
SableVM 1.0.5 was tested using classes compiled with Jikes 1.15.
Later versions (such as Jikes 1.17) are know to cause your problem.
If everything goes well, I should be publishing my Ph.D. thesis on the
web tomorrow, and thus start having time to look at the Jikes 1.17
problem.
In Fact, there's a newer Jikes 1.18 wich generate class files with
minor/major versions which are not supported by the current JVM
specification (second edition). So, I have to find out if Sun has
published anything about extentions to the class file format...
So, in short:
1- Delete all your currently compiled .class files.
2- Download and install Jikes 1.15.
3- Rebuild.
4- Enjoy!
Have fun!
Etienne
On Tue, Dec 17, 2002 at 03:30:14PM +0100, Richard Stahl wrote:
> Hello,
>
> I just downloaded SableVM and tried the very simple build script to
> install it in the standard directory ( /usr/local ). That was OK.
>
> Yet when I try to run sablevm on simple example Ugly.java I get this
> message:
>
> sablevm Ugly
>
> SableVM version 1.0.5
> Copyright (C) 2000-2002 Etienne M. Gagnon <eti...@uq...> and
> others. All rights reserved.
>
> This software comes with ABSOLUTELY NO WARRANTY. This is free
> software, and you are welcome to redistribute it under certain
> conditions.
>
> To get the name of all copyright holders and detailed license
> information, type "sablevm --license" or look in the directory
> "/usr/local/share/sablevm".
>
> The SableVM web site is located at http://www.sablevm.org/ .
>
> *** Couldn't bind native method
> Java_java_lang_VMClassLoader_nativeCreateArray ***
> *** or
> Java_java_lang_VMClassLoader_nativeCreateArray__Ljava_lang_String_2Z ***
> java.lang.NoClassDefFoundError: [Ljava.lang.ClassLoader;
> at java.lang.ClassLoader.class$(ClassLoader.java:0)
> at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:916)
> at java.lang.ClassLoader.static{}(ClassLoader.java:155)
> at java.lang.Class.step8(Class.java)
> at java.lang.Class.initialize(Class.java:146)
> at java.lang.VirtualMachine.main(VirtualMachine.java:78)
>
> It seems I have some problem with class path ... Could you please send
> me some hints how to fix this.
>
> Thanks a lot.
>
> Richard
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> Sablevm-user mailing list
> Sab...@li...
> https://lists.sourceforge.net/lists/listinfo/sablevm-user
--
Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/
SableVM: http://www.sablevm.org/
SableCC: http://www.sablecc.org/
|