Hi!

I just write to tell you how I "solved" my problems or where did they come from.

After installing gpe, I finally decided to use ipkg in console mode because I didn't like GPE Program Manager. When I was installing some classpath y realize that "file" dependant package was telling me thath couldn't be configured. That made ldconfig not to work properly and because of that I had all my problems.

After checking that problems I realize that my repositories were mixing 2007 and 2008 packages.That made to fail configuring dependant packages.

I hope someone having same problem, can find this post and solve his problems.

Thank you very much Oliver. Your comment about ldconfig made me work in the right way and check dependant packages. Thank you very much again.

Regards,

Carlos Torrejón.



Oliver Fels escribió:
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


_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to