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

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


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 

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 

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.

There is a workaround, which is to set the following environment


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

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

The thread starts here:

The environment variable workaround is here:

Hope this helps,


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: