Problem building OpenJDK on a set-top box

Jonathan Springer springer at reservoir.com
Wed Mar 19 16:51:25 UTC 2008


Beyond just getting it to build, to Hotspot uses a fair amount of 
machine code internally, which would have to be retargeted to the SuperH 
ISA to get it to run.  IcedTea helps, but my understanding is that there 
would still be probably a few months of work required to support a new CPU.

-Jonathan

Gary Benson wrote:
> Hi Olivier,
> 
> OpenJDK does indeed require java to build, but that aside there
> is the issue that HotSpot does not support the sh4 processor.
> Check out IcedTea instead (http://icedtea.classpath.org/) which
> has a) the ability to bootstrap with gcj, and b) support for
> building on platforms with no HotSpot support.
> 
> Cheers,
> Gary
> 
> Olz wrote:
>> Hello,
>>
>> I'm currently trying to get java working on a set-top box
>> (chipset-family : sh4, processor STb1709), running a STLinux OS.
>> I tried to follow the steps on this tutorial :
>> http://today.java.net/pub/a/today/2007/11/29/building-the-jdk.html
>>
>> I won't describe all the difficulties to install all the
>> dependencies needed to pass the "make sanity"...
>> The main problem actually is that when I try to make from the
>> control/make/ directory, I get an error saying that ant can't find
>> java, and ant seems to be needed for a successful compilation.
>> It's the same thing with findbugs...
>> So I'm kind of stuck in a bad loop, ant needs java, java needs ant...
>>
>> Has anyone tried to get OpenJDK working on a STB? 
>> Advices and help needed!
>>
>> Thank you,
>>
>> Olivier
>>
>> PS : Sorry for bad English.
>> -- 
>> View this message in context: http://www.nabble.com/Problem-building-OpenJDK-on-a-set-top-box-tp16142674p16142674.html
>> Sent from the OpenJDK Build Infrastructure mailing list archive at Nabble.com.

-- 
Jonathan Springer     |
Reservoir Labs, Inc.  |  http://www.reservoir.com/



More information about the build-dev mailing list