Re: [Sablevm-developer] new debian packages of sablevm and friends
Brought to you by:
egagnon
From: Grzegorz P. <ga...@de...> - 2002-08-12 11:48:06
|
W li=B6cie z pon, 12-08-2002, godz. 07:23, Etienne M. Gagnon pisze:=20 > On Mon, Aug 12, 2002 at 01:47:49AM +0200, Grzegorz Prokopski wrote: > > I have added /usr/lib/sablevm/bin/java wrapper script - I have only > The java wrapper didn't really work. I had to run update-alternatives > by hand, and it linked to /usr/bin/sablevm instead of > /usr/lib/sablevm/bin/java. sablevm 1.0.1-3 is uploaded to debian.sente.pl - I fixed it there I also added manual page java.sablevm.1.gz which is linke thru alternatives to java.1.gz when you have sablevm 'java' wrapper choosen. > Then I tried to run HelloWorld.jar but it failed, with something like > classnotfound. (I am too tired to remember at this point). Not sure if that's really script's fault. with jikes I compiled HelloWorld.java to .class and when I try to run it using sablevm, I am getting: greg@greg:~$ sablevm -Y ./HelloWorld.class=20 java.lang.ClassNotFoundException: ./HelloWorld.class at gnu.java.lang.SystemClassLoader.findClass(SystemClassLoader.java:73) at java.lang.ClassLoader.loadClass(ClassLoader.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:259) at java.lang.VirtualMachine.main(VirtualMachine.java:79) I think I am doing sth. wrong. Could you please send me your HelloWorld.jar file (to private addr)? How should I run it using sablevm (not java wrapper)? If it runs with sablevm from debs and you can tell me how to run it - then fixing the wrapper should be trivial. > > I don't know how to run javadoc. The classes are in place but > > which one is the starting one? I'd like to fix javadoc and add > > it to alternatives. (try to run just /usr/lib/sablevm/bin/javadoc) OK, I found cp-tools project http://savannah.gnu.org/projects/cp-tools/ I'll probably package some of these tools too, as they will give us ability to have wrappers for: javadoc, javah, javap, serialver (com.sun.javadoc _really_ should be moved there, to gjdoc source tree, as it seems to be kinda unusable in classpath alone) However - those files (in cp-tools) were checked into cvs only once, 9 months ago and weren't touched since then. oh - if they work - then no problem... > On the "running ant" side, I got Method.invoke() working. Now it asks > for Class.getMethods() and Method.getArguments(). These are not > difficult to implement. per se (as SableVM already has all this > information in its internal data structures), But it is painfully long > to write, as you have to take care of array, class, and interface > types, as well as static, virtual and interface methods. So this will > get done *after* my thesis, have I decided. (Unless somebody else > wants to do it). When do you plan to finish them and get the time to fix this? (no pressure, just would like to know) > Thanks for all your work. And vice versa. Best regards Grzegorz B. Prokopski PS: Looking at all gnu-java related CVS trees - I am getting really worried= , as it looks like there's no real development being made. Times 'since last update' are weeks at best - usually months and sometimes years. A lot of features has only it's stub files put into CVS with no further action. And where's awt/swing development? I hardly see any. Can we really count on that GNU Classpath will be THE Classpath for free software java projects? What do you think? |