1
Angstrom & OpenZaurus / Can't Get Java Working On Oz3.5.2 After Reflash
« on: March 18, 2005, 10:36:30 am »Quote
Have you symlinked it as shown in my post in this thread? For some reason (unknown to me) this must also be done 'sometimes' after using ipkg-link.Yep, the links are there. If I run ln -s, I get 'File exists' as you'd expect.
I've actually managed to get it working now, but I'm still puzzled as to why the problem appeared in the first place.
I tried copying and editing runprimtest to manually specify the classpath to awt.jar and core.jar - didn't work. I then added the -v flag to the evm call, and the problem appeared - it was looking for awt.jar and core.jar in /opt/QtPalmtop.compat/lib where they didn't exist. So I ran
Code: [Select]
ln -s /mnt/card/opt/QtPalmtop/lib/*.jar /opt/QtPalmtop.compat/lib/
After that, it found the libraries, but not 'libevmawt.so'. Similarly to the jar files, it was looking under /opt/QtPalmtop.compat/ for it. Running
Code: [Select]
ln -s /mnt/card/opt/QtPalmtop/bin/libevmawt.so /opt/QtPalmtop.compat/bin/
fixed that problem, and both the jeode demos now run fine.
I can't help thinking though, that there must be something I'm missing to have this problem in the first place. Any ideas?