[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Q]IBM's Java 1.4.1 with IBM's JIT



Hi,

You might want to check out the dev list at YellowDogLinux.

it seems by IBM decided to NOT allow its JIT to run with G4 and other non-IBM 
processors.

There was a bit of a storm (i.e. I complained loudly and so did others on that 
list and on the IBM java newsgroup).  I then had to recompile my kernel to 
report I was using a 604e in /proc/cpuinfo and I was able to trick JIT into 
working.  

They said it was all a "mistake" and would fix it in the next release (AFAIK - 
that has not come yet).

Later on someone pointed out an environement variable you can set to override 
the processor detection code in the JIT.

---snip---
There is a workaround, which is to set the following environment
variable:

export JITC_PROCESSOR_TYPE= 6

which will force the 604 class cpu code to be employed.
---snip---

If you are interested in the whole sordid tale check out:

The thread starts here:
http://lists.terrasoftsolutions.com/pipermail/yellowdog-devel/2003-June/000209.html


The environment variable workaround is here:
http://lists.terrasoftsolutions.com/pipermail/yellowdog-devel/2003-July/000251.html

Hope this helps,

Kevin

On Tuesday 02 September 2003 05:41, Benjamin Herrenschmidt wrote:
> On Tue, 2003-09-02 at 04:44, W. Crowshaw wrote:
> > Hi,
> >
> > Has anybody managed to get IBM's Java 1.4.1 (sadly,
> > the only one available to us ppc'ers) working with
> > the JIT its supplies.  Its readme docs say that all
> > you need to do is set the JAVA_COMPILER enviromental
> > variable to: jitc.  To test the docs say simply type:
> > java -version and it will say "(JIT enabled: jitc)"
> > Unfortunately, this doesn't work.  I have to have
> > the gij-3.0 package installed instead and the
> > JAVA_COMPILER=NONE set for java to run at all.
>
> I'm getting JVM crashes when trying to use the JIT too
>
> Ben.



Reply to: