Help wanted!

Gendo Ikari gendo at home.com
Sun Jul 25 20:08:18 PDT 1999



        Specify it like this, javac -classpath /usr/share/kaffe/klasses.zip:/usr/lib/:/lib/:/usr/local/lib:/thelocationofthehelloworldjar HelloWorld.java


        Also I am not too sure but the class for Kaffe is now called Klasses.jar and not Klasses.zip, this might have been different with the version that shipped with 5.1 but since I do not have that I cannot verify. Hope this helps.



        Gendo





  ----- Original Message ----- 
  From: YanFeng Liu 
  To: kaffe-bugs at transvirtual.com 
  Sent: Wednesday, July 21, 1999 10:59 PM
  Subject: Help wanted!


  Hi, 
  I am a fan of both Linux and Java, and I am so glad to find that there is a version of Kaffe on my Redhat 5.1 linux and want to try it. 

  Then I find kaffe is not easy to use, for example, I always have the following errors when I use "javac": 
    

javac -classpath /usr/share/kaffe/klasses.zip HelloWorld.java
Failed to locate native library in path:
        /usr/lib/:/lib/:/usr/local/lib:
Aborting.
  Now I want to know what libarary is missed, but I do have the following stuffs under "/usr/lib/": 
    
lrwxrwxrwx   1 root     root           24 Apr 30 00:39 libkaffe_native.so -> libkaffe_native.so.0.100
-rw-r--r--   1 root     root        63698 May  8  1998 libkaffe_native.so.0.100
lrwxrwxrwx   1 root     root           21 Apr 30 00:39 libkaffe_net.so -> libkaffe_net.so.0.100
-rw-r--r--   1 root     root        12733 May  8  1998 libkaffe_net.so.0.100
lrwxrwxrwx   1 root     root           21 Apr 30 00:39 libkaffe_zip.so -> libkaffe_zip.so.0.100
-rw-r--r--   1 root     root         8276 May  8  1998 libkaffe_zip.so.0.100
lrwxrwxrwx   1 root     root           18 Apr 30 00:39 libkaffevm.o -> libkaffevm.o.0.100
-rw-r--r--   1 root     root       235574 May  8  1998 libkaffevm.o.0.100
    
  BTW, I have the following environment variables for Kaffe: 

  CLASSPATH=/usr/share/kaffe/klasses.zip 
  LD_LIBRARY_PATH=/usr/lib:/lib:/usr/local/lib 

  and I have the following output from "ldconfig -D" command: 
    

ldconfig: version 970402
/usr/i486-linuxaout/lib:
        libvga.so.1 => libvga.so.1.2.7
        libtk.so.3 => libtk.so.3.1.1
        libtcl.so.3 => libtcl.so.3.1
        libm.so.4 => libm.so.4.6.27
        libdb.so.1 => libdb.so.1.85.1
        libcurses.so.0 => libcurses.so.0.1.2
        libc.so.4 => libc.so.4.7.2
        libXt.so.6 => libXt.so.6.0
        libXt.so.3 => libXt.so.3.1.0
        libXpm.so.4 => libXpm.so.4.2
        libXaw.so.6 => libXaw.so.6.0
        libXaw.so.3 => libXaw.so.3.1.0
        libXIE.so.6 => libXIE.so.6.0
        libX11.so.6 => libX11.so.6.0
        libX11.so.3 => libX11.so.3.1.0
/usr/X11R6/lib:
        libXaw3d.so.6 => libXaw3d.so.6.1
        libMagick.so.4 => libMagick.so.4.0.5
        libXpm.so.4 => libXpm.so.4.10
        libXtst.so.6 => libXtst.so.6.1
        libXt.so.6 => libXt.so.6.0
        libXp.so.6 => libXp.so.6.2
        libXmu.so.6 => libXmu.so.6.0
        libXi.so.6 => libXi.so.6.0
        libXext.so.6 => libXext.so.6.3
        libXaw.so.6 => libXaw.so.6.1
        libXIE.so.6 => libXIE.so.6.0
        libX11.so.6 => libX11.so.6.1
        libSM.so.6 => libSM.so.6.0
        libPEX5.so.6 => libPEX5.so.6.0
        libICE.so.6 => libICE.so.6.3
/usr/lib:
        libtk8.0.so => libtk8.0.so
        libtixsam4.1.8.0.so => libtixsam4.1.8.0.so
        libtix4.1.8.0.so => libtix4.1.8.0.so
        libtkx8.0.2.so => libtkx8.0.2.so
        libtclx8.0.2.so => libtclx8.0.2.so
        libtcl8.0.so => libtcl8.0.so
        libvgagl.so.1 => libvgagl.so.1.2.13
        libvga.so.1 => libvga.so.1.2.13
        libreadline.so.3 => libreadline.so.3.0
        libhistory.so.3 => libhistory.so.3.0
        libpq.so.1 => libpq.so.1.1
        libpgtcl.so.1 => libpgtcl.so.1
        libecpg.so.1 => libecpg.so.1.1
        libp2c.so.1 => libp2c.so.1.2.0
        libncp.so.1 => libncp.so.1.0
        libungif.so.3 => libungif.so.3.0.0
        libtiff.so.3 => libtiff.so.3.4
        libstdc++.so.2.8 => libstdc++.so.2.8.0
        libpng.so.2 => libpng.so.2.1.0
        libjpeg.so.6 => libjpeg.so.6.0.1
        libjpeg.so.62 => libjpeg.so.62.0.0
        librle.so.1 => librle.so.1.0.0
        libppm.so.1 => libppm.so.1.0.0
        libpnm.so.1 => libpnm.so.1.0.0
        libpgm.so.1 => libpgm.so.1.0.0
        libpbm.so.1 => libpbm.so.1.0.0
        libfbm.so.1 => libfbm.so.1.0.0
        libstdc++.so.2.7.2 => libstdc++.so.2.7.2.8
        libg++.so.2.7.2 => libg++.so.2.7.2.8
        libkaffe_zip.so.0.100 => libkaffe_zip.so.0.100
        libkaffe_net.so.0.100 => libkaffe_net.so.0.100
        libkaffe_native.so.0.100 => libkaffe_native.so.0.100
        libgdk_imlib.so.1 => libgdk_imlib.so.1.6.0
        libImlib.so.1 => libImlib.so.1.6.0
        libgtk.so.1 => libgtk.so.1.0.1
        libgdk.so.1 => libgdk.so.1.0.1
        libgpm.so.1 => libgpm.so.1.13
        libzvt.so.0 => libzvt.so.0.0.0
        libgtkxmhtml.so.0 => libgtkxmhtml.so.0.0.0
        libgtktty.so.0 => libgtktty.so.0.0.4
        libgnomeui.so.0 => libgnomeui.so.0.0.0
        libgnomesupport.so.0 => libgnomesupport.so.0.0.0
        libgnome.so.0 => libgnome.so.0.0.0
        libglib.so.1 => libglib.so.1.0.1
        libgimpui.so.1 => libgimpui.so.1.0.0
        libgimp.so.1 => libgimp.so.1.0.0
        libgck.so.1 => libgck.so.1.0.0
        libgif.so.3.0 => libgif.so.3.0
        libgdbm.so.2 => libgdbm.so.2.0.0
        libf2c.so.0 => libf2c.so.0.22
        libexpect5.24.so => libexpect5.24.so
        libpanel.so.3.0 => libpanel.so.1.9.9e
        libncurses.so.3.0 => libncurses.so.1.9.9e
        libmenu.so.3.0 => libmenu.so.1.9.9e
        libform.so.3.0 => libform.so.1.9.9e
        libcrack.so.2 => libcrack.so.2.7
        libsnmp.so.3.5 => libsnmp.so.3.5
        libopcodes-2.9.1.0.4.so.0 => libopcodes-2.9.1.0.4.so.0.0.0
        libbfd-2.9.1.0.4.so.0 => libbfd-2.9.1.0.4.so.0.0.0
        libz.so.1 => libz.so.1.1.2
        libpanel.so.4 => libpanel.so.4.2
        libncurses.so.4 => libncurses.so.4.2
        libmenu.so.4 => libmenu.so.4.2
        libform.so.4 => libform.so.4.2
        libamu.so.1 => libamu.so.1.0.1
        libnewt.so.0.20 => libnewt.so.0.25
        libslang.so.0 => libslang.so.0.99.38
/usr/i486-linux-libc5/lib:
        libvgagl.so.1 => libvgagl.so.1.2.11
        libvga.so.1 => libvga.so.1.2.11
        libtermcap.so.2 => libtermcap.so.2.0.8
        libstdc++.so.27 => libstdc++.so.27.1.4
        libpanel.so.3.0 => libpanel.so.1.9.9e
        libncurses.so.3.0 => libncurses.so.1.9.9e
        libmenu.so.3.0 => libmenu.so.1.9.9e
        libm.so.5 => libm.so.5.0.6
        libg++.so.27 => libg++.so.27.1.4
        libform.so.3.0 => libform.so.1.9.9e
        libc.so.5 => libc.so.5.3.12
        libXtst.so.6 => libXtst.so.6.1
        libXt.so.6 => libXt.so.6.0
        libXpm.so.4 => libXpm.so.4.9
        libXmu.so.6 => libXmu.so.6.0
        libXi.so.6 => libXi.so.6.0
        libXext.so.6 => libXext.so.6.3
        libXaw3d.so.6 => libXaw3d.so.6.1
        libXaw.so.6 => libXaw.so.6.1
        libXIE.so.6 => libXIE.so.6.0
        libX11.so.6 => libX11.so.6.1
        libSM.so.6 => libSM.so.6.0
        libPEX5.so.6 => libPEX5.so.6.0
        libICE.so.6 => libICE.so.6.3
/usr/lib:
        libtk8.0.so => libtk8.0.so
        libtixsam4.1.8.0.so => libtixsam4.1.8.0.so
        libtix4.1.8.0.so => libtix4.1.8.0.so
        libtkx8.0.2.so => libtkx8.0.2.so
        libtclx8.0.2.so => libtclx8.0.2.so
        libtcl8.0.so => libtcl8.0.so
        libvgagl.so.1 => libvgagl.so.1.2.13
        libvga.so.1 => libvga.so.1.2.13
        libreadline.so.3 => libreadline.so.3.0
        libhistory.so.3 => libhistory.so.3.0
        libpq.so.1 => libpq.so.1.1
        libpgtcl.so.1 => libpgtcl.so.1
        libecpg.so.1 => libecpg.so.1.1
        libp2c.so.1 => libp2c.so.1.2.0
        libncp.so.1 => libncp.so.1.0
        libungif.so.3 => libungif.so.3.0.0
        libtiff.so.3 => libtiff.so.3.4
        libstdc++.so.2.8 => libstdc++.so.2.8.0
        libpng.so.2 => libpng.so.2.1.0
        libjpeg.so.6 => libjpeg.so.6.0.1
        libjpeg.so.62 => libjpeg.so.62.0.0
        librle.so.1 => librle.so.1.0.0
        libppm.so.1 => libppm.so.1.0.0
        libpnm.so.1 => libpnm.so.1.0.0
        libpgm.so.1 => libpgm.so.1.0.0
        libpbm.so.1 => libpbm.so.1.0.0
        libfbm.so.1 => libfbm.so.1.0.0
        libstdc++.so.2.7.2 => libstdc++.so.2.7.2.8
        libg++.so.2.7.2 => libg++.so.2.7.2.8
        libkaffe_zip.so.0.100 => libkaffe_zip.so.0.100
        libkaffe_net.so.0.100 => libkaffe_net.so.0.100
        libkaffe_native.so.0.100 => libkaffe_native.so.0.100
        libgdk_imlib.so.1 => libgdk_imlib.so.1.6.0
        libImlib.so.1 => libImlib.so.1.6.0
        libgtk.so.1 => libgtk.so.1.0.1
        libgdk.so.1 => libgdk.so.1.0.1
        libgpm.so.1 => libgpm.so.1.13
        libzvt.so.0 => libzvt.so.0.0.0
        libgtkxmhtml.so.0 => libgtkxmhtml.so.0.0.0
        libgtktty.so.0 => libgtktty.so.0.0.4
        libgnomeui.so.0 => libgnomeui.so.0.0.0
        libgnomesupport.so.0 => libgnomesupport.so.0.0.0
        libgnome.so.0 => libgnome.so.0.0.0
        libglib.so.1 => libglib.so.1.0.1
        libgimpui.so.1 => libgimpui.so.1.0.0
        libgimp.so.1 => libgimp.so.1.0.0
        libgck.so.1 => libgck.so.1.0.0
        libgif.so.3.0 => libgif.so.3.0
        libgdbm.so.2 => libgdbm.so.2.0.0
        libf2c.so.0 => libf2c.so.0.22
        libexpect5.24.so => libexpect5.24.so
        libpanel.so.3.0 => libpanel.so.1.9.9e
        libncurses.so.3.0 => libncurses.so.1.9.9e
        libmenu.so.3.0 => libmenu.so.1.9.9e
        libform.so.3.0 => libform.so.1.9.9e
        libcrack.so.2 => libcrack.so.2.7
        libsnmp.so.3.5 => libsnmp.so.3.5
        libopcodes-2.9.1.0.4.so.0 => libopcodes-2.9.1.0.4.so.0.0.0
        libbfd-2.9.1.0.4.so.0 => libbfd-2.9.1.0.4.so.0.0.0
        libz.so.1 => libz.so.1.1.2
        libpanel.so.4 => libpanel.so.4.2
        libncurses.so.4 => libncurses.so.4.2
        libmenu.so.4 => libmenu.so.4.2
        libform.so.4 => libform.so.4.2
        libamu.so.1 => libamu.so.1.0.1
        libnewt.so.0.20 => libnewt.so.0.25
        libslang.so.0 => libslang.so.0.99.38
/lib:
        libproc.so.1.2.6 => libproc.so.1.2.6
        libdl.so.1 => libdl.so.1.9.5
        ld-linux.so.1 => ld-linux.so.1.9.5
        libuuid.so.1 => libuuid.so.1.1
        libss.so.2 => libss.so.2.0
        libext2fs.so.2 => libext2fs.so.2.3
        libe2p.so.2 => libe2p.so.2.3
        libcom_err.so.2 => libcom_err.so.2.0
        libpam_misc.so.0 => libpam_misc.so.0.64
        libpam.so.0 => libpam.so.0.64
        libpwdb.so.0 => libpwdb.so.0.54
        libtermcap.so.2 => libtermcap.so.2.0.8
        libutil.so.1 => libutil-2.0.7.so
        libresolv.so.2 => libresolv-2.0.7.so
        libpthread.so.0 => libpthread-0.7.so
        libnss_nis.so.1 => libnss_nis-2.0.7.so
        libnss_files.so.1 => libnss_files-2.0.7.so
        libnss_dns.so.1 => libnss_dns-2.0.7.so
        libnss_db.so.1 => libnss_db-2.0.7.so
        libnss_compat.so.1 => libnss_compat-2.0.7.so
        libnsl.so.1 => libnsl-2.0.7.so
        libm.so.6 => libm-2.0.7.so
        libdl.so.2 => libdl-2.0.7.so
        libdb.so.2 => libdb-2.0.7.so
        libcrypt.so.1 => libcrypt-2.0.7.so
        libc.so.6 => libc-2.0.7.so
        libBrokenLocale.so.1 => libBrokenLocale-2.0.7.so
        ld-linux.so.2 => ld-2.0.7.so
  Would you please tell me how I can enjoy Kaffe ? 

  Thank you in advance! 

  Yanfeng 

  -- 

  ------------------------------------------------------------------------ 
         *****  Global TMN Solutions for a Converging World ***** 
  ------------------------------------------------------------------------ 
  ChengDu DSET Science & Technology Co.,Ltd.  Tel: (86-28)5231260 ext 14 
  ZIP:    610041       Pager: 191/192-8085650 Fax: (86-28)5231897 
  E-mail: Yanfeng at dset.com.cn                 WWW:  http://www.dset.com 
  Addr:   14F,Bi-Pacific Plaza, No.58 KehuaBeiLu Road, ChengDu, P.R.China 
  ------------------------------------------------------------------------ 
    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/19990725/a840c1e0/attachment-0010.htm 


More information about the kaffe mailing list