Carlos Torrejón Sampedro wrote:. > May be I'm missing some step. I know that mi libgtkpeer.so is placed > in /usr/lib/classpath/ and when I run mi AWT programm mi command is: > > java -cp .:/usr/lib/classpath helloAWT
The classpath libraries unfortunately have a misleadingname because it conflicts with the JAVA concept of classpaths. The GNU classpath libs are a native library providing the JAVA core libraries which normally come with the SUN JRE or JDK. The `java -cp` command expects a root directory with JAVA class files while your problem is caused by a missing Linux shared library. > What should I do with ldconfig? I'm sorry but probably I'm more newbie > than what I thougth. Try to set LD_LIBRARY_PATH before calling the java program: export LD_LIBRARY_PATH=/usr/lib/classpath Alternatively look at /etc/ld.so.conf and add /usr/lib/classpath to the file (as root) and then call /sbin/ldconfig (also as root). Beware that this is advanced Linux stuff as you are now tampering with system library settings. > Swing is not a problem, because I have enough with AWT. I've heard > about SWT and thinlet. Could you recommend me any lightweight JAVA GUI > that you know? What I need is something easy to install. It doesn't > mind if one is more beatiful than other. AFAIK there is no SWT package available for Angstrom, unfortunately. I also wonder whether it would work with jamvm and classpath because it is normally usedwith the SUN JVM only. Oliver _______________________________________________ Angstrom-distro-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
