java issues

Christopher Friedt chrisfriedt at gmail.com
Tue Oct 7 12:46:43 UTC 2008


Hi everyone,

I apologize if this has already come up on the list, but I'm 
encountering some serious build errors while trying to build a jre for 
the beagleboard (and compiling rxtx in the process).

According to the article below

http://wiki.openembedded.net/index.php/Java

I should be using

PREFERRED_VERSION_jamvm-initial = "1.4.5"
(which does not exist in the package database)
PREFERRED_VERSION_classpath-initial = "0.93"

or

PREFERRED_VERSION_cacao-initial = "0.98"
PREFERRED_VERSION_classpath-initial = "0.93"

and

PREFERRED_VERSION_cacao-native = "0.99.3"
(which does not exist in the package database)
PREFERRED_VERSION_classpath-native = "0.97.2"


I've run into countless build problems, where some of them are 
documented in bug #4588.

http://bugs.openembedded.net/show_bug.cgi?id=4588

The furthest I've ever gotten in my build of 'rxtx' was (starting from 
scratch) by creating my own jamvm-initial-1.5.1.bb and using jamvm as 
the preferred native, initial, and target VMs, but finally, when I got 
to the point where I was about to build rxtx, rxtx died complaining that 
there was no symbol called 'vm_createjvm', which existed in the cacao 
binary in tmp/work/x86_64-linux/usr/bin. I'm not quite sure why the 
cacao binary was even there, because theoretically, if it's not the 
preferred provider for any java stage, then it shouldn't be there.

Has anyone managed to successfully create a working Java environment or 
is the 'stability' documented on the Wiki just myth?

Cheers,

Chris




More information about the Openembedded-users mailing list