Jul 4 2005, 09:13 PM
Post
#1
|
|
|
Group: Members Posts: 6 Joined: 3-April 05 Member No.: 6,777 |
Hi all.
I've been having some problems with jeode on Opie. I installed jeode, and had some problems running anything at first. There was something wrong with oz-compat, so I reinstalled it today. Then I ran oz-compat on both PrimTest and Quasar - sweet success! So I figured - no problem, now I'll be able to run my own apps that I compiled on my Linux box. I had been able to run both a "Hello World" app and another thing from the Sun Website that puts a funky little design in a window when I was using Jeode on the Sharp ROM. But here, I can't get either of these to work at all. The most recent error I had was: "/opt/QtPalmtop/bin/evm: symbol lookup error: /opt/QtPalmtop/bin/evm: undefined symbol: _7QString.shared_null". If anyone has any thoughts on how I can get these going I'd be much obliged - I'd really love to be using the zaurus to work with my own java programs, and I don't think I could go back to the Sharp ROM. This is all on a 5600 with Opie 3.5.2. Thanks, Barry |
|
|
|
![]() |
Jul 6 2005, 08:43 PM
Post
#2
|
|
|
Group: Members Posts: 6 Joined: 3-April 05 Member No.: 6,777 |
Ok, people, finally got it. Pain. Suffering. Here it is:
I had a simple HelloWorldApp.class I made on a separate computer with java. When you run java HelloWorldApp on the computer you get Hello World! To make it work on OpenZaurus with Jeode, I made a shell script like this: #------------------------------- #!bin/sh /opt/QtPalmtop/bin/evm -cp /root HelloWorldApp #------------------------------- /root is the directory where I kept the HelloWorldApp.class, as well as the shell script above. What was killing me was that in the shell script I did not have the full path for evm. But I looked more carefully at the runprimtest and runquasar shell scripts and saw that full path. Then things started coming together. One other minor hitch was that I got the message "Can't find font definition file /usr/local/qt-embedded/lib/fonts/fontdir." So I ran: export $QTDIR=/opt/QtPalmtop at the command line. Then I ran oz-compat on the shell file alone - that's all, without running oz-compat on either the class or the evm binary. Again, this was mimicking what worked with quasar and primtest. I also had some kinds of corruption issues at times, and reinstalled opie-sh, oz-compat, and jeode-for-oz3 in that order two or three times. |
|
|
|
bfsmith9 Can't Run My Own Simple Java Apps With Jeode Jul 4 2005, 09:13 PM
Mongoosefred QUOTE(bfsmith9 @ Jul 5 2005, 05:13 AM)Hi all.... Jul 5 2005, 04:31 AM
bfsmith9 Thanks, Mongoosefred. I've been trying everyth... Jul 5 2005, 06:35 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 05:09 PM |