Hi,
I was trying java from j2sdk 1.4   inside scratchbox (1.07) on ubuntu
(linux). For this purpose, I placed j2sdk installation inside /host_usr, and
created soft link to java & javac inside /host_usr/bin . But when build try
to access java binary , I get following error message.

*Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment*

If I place j2sdk installation under user home directory (~) , and set this
PATH to j2sdk directory then it works properly for i386 build. But when I
try to java binary  for ARM , it won't work giving error as corrupt binary
(because I have only i368 binary of J2SDK).

What could be solution for this? My main intension is to be able to use
J2SDK for all targets (i386/ARM/etc).

I tried setting various paths such as JAVA_HOME/LD_LIBRARY_PATH but of no
use.


Regards,
Tushar
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to