Active Topics

 


Reply
Thread Tools
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#11
The problem with Classpath, and in fact a number of other programs that I'm working on porting, is that it requires a working Java compiler in addition to a set of native compilers. This means, simply, that I can't use Scratchbox to develop it: Jikes was easy to get running inside of Scratchbox, being a simple C app, but eclipse-ecj and sun-javac (the two supported compilers) have a huge set of dependencies and extremely difficult to resolve linker issues, for one and two. Since I can't use Scratchbox to develop it, and I have to compile outside of Scratchbox, there's a small host of -other- issues that come up. Supposedly we're going to see a Scratchbox Java DevKit to fix this issue, but until then, it's a solvable but extremely difficult problem.
It should, somehow, be possible to install an x86 native application and make it available to scratchbox (in the same way as the cross-toolchain). Just exactly how one does this is something I have wondered about, but have never actually *really* needed.

Finally, don't get me started on the CodeSourcery 2005 tool chains.
Hear, hear. I can't believe we're still stuck with this
 
Posts: 474 | Thanked: 30 times | Joined on Jan 2006
#12
It is possible to load host apps and libs using the "host_usr" directory --- the problem is that Java has a nonstandard way of finding dependencies and self-destructs every time I try to load it in that environment. strace says it's finding the libraries, but it complains it can't, which sounds like an arch detection issue to me.
 
Posts: 35 | Thanked: 10 times | Joined on Oct 2007
#13
I've found N800-java-cdc-fp-pmea-mr2-rev5444.zip.
It executes on os2008 but
./bin/cvm -jar /home/user/MyDocs/Denki_Blocks.jar

tells me (appart from other 50 lines of messages):

-jar: Could not find Main-Class manifest attribute
Cannot start VM ()
Could not create JVM.
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:52.