avdyk ([info]avdyk) wrote,
@ 2004-08-25 23:11:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Debian experimental kaffe runs Tomcat4 on powerpc... where IBM's JDK does not!
Free Java environments are not as full as proprietary ones... but in some cases, they are far better! After having multiple problems with IBM's proprietary JDK on Powerpc, I'm managing to speed up my transition to Free Java JDK's/JRE's.

First, there is no Java plugin for Mozilla in the latest IBM's JDK on Powerpc, there is now gcjwebplugin, running on many architectures! For several weeks now IBM's JDK (1.4.1 and 1.4.2) does not run at all on my Debian/sid powerpc. I cannot run ant, tomcat, nothing. I got a javacore_blablabla file with a lot of debug information. SableVM, gic/gcj, Kaffe and JamVM already run Ant (nearly) without problem.

The next peace I need is Tomcat4. It's now done (screenshot). The work around was to remove the xmlParserAPIs.jar and xercesImpl.jar from the tomcat4 directory (/usr/share/tomcat4/common/lib) and replace them with a symlink to gnujaxp.jar (in /usr/share/java). And nearly everything was fine (Struts does not seem to work, but all the servlet examples did work, and every JSP examples did work except two: one because the mail api was not in the tomcat classpath and the other because of an exception in org.apache.jasper.servlet.JspServlet.service... I think it was the same exception that occured with Struts.

JDEE for Emacs seems very bounded to proprietary JDK's but I'd like to investigate a little more to have it working with free JDK's as I use it for sometimes now and I'm very happy with it. Another great environment that would be cool to run is Eclipse...

Long life to Free Java! ;-)



(Read 8 comments) - (Post a new comment)

IBM JDK *does* work
(Anonymous)
2004-09-02 06:39 am UTC (link)
Just updated the JDK on my powerbook (fedora core development) to 1.4.2.

All you need to run it with the JIT is the following environment variable:

JITC_PROCESSOR_TYPE=6

Without it, it'll crash horribly. Additionally, it'll run with if you specify JAVA_COMPILER=NONE (but performance will suck).

(Reply to this) (Thread)

Re: IBM JDK *does* work
[info]avdyk
2004-09-03 07:48 am UTC (link)
Many thanks! It does work this way. I did not think about a environment variable as I did not needed it before and it's not needed on x86.

(Reply to this) (Parent)


(Read 8 comments) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…