Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45837 invoked from network); 9 Dec 2003 10:59:24 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Dec 2003 10:59:24 -0000 Received: (qmail 85711 invoked by uid 500); 9 Dec 2003 10:58:49 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 85595 invoked by uid 500); 9 Dec 2003 10:58:48 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 85579 invoked from network); 9 Dec 2003 10:58:48 -0000 Received: from unknown (HELO mail.csw.me.uk) (81.2.93.157) by daedalus.apache.org with SMTP; 9 Dec 2003 10:58:48 -0000 Received: from [81.187.185.83] (helo=sslnxgp1) by mail.csw.me.uk with esmtp (Exim 4.22) id 1ATfXq-0001wQ-7d for user@ant.apache.org; Tue, 09 Dec 2003 10:56:46 +0000 From: Chris Wood To: Ant Users List In-Reply-To: <3FD5A62F.3090004@c.dk> References: <1069775664.4136.21.camel@ssdev30> <3FC5B749.F0CE3876@purematrix.com> <1069951440.4136.27.camel@ssdev30> <3FC728C4.D035AFE4@purematrix.com> <1070271732.22193.6.camel@ssdev30> <3FCB58DB.133F55B4@purematrix.com> <1070877520.4355.10.camel@ssdev30> <3FD4B2EF.B84CBD6F@purematrix.com> <3FD4B495.6070401@corvil.com> <1070965421.5525.10.camel@ssdev30> <3FD5A62F.3090004@c.dk> Message-Id: <1070967502.5525.46.camel@ssdev30> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 09 Dec 2003 10:58:22 +0000 X-SA-Exim-Mail-From: chris@thesprocket.org Subject: Re: Problem on OS/400 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-SA-Exim-Version: 3.1 (built Sat Aug 23 12:38:51 BST 2003) X-SA-Exim-Scanned: Yes X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, 2003-12-09 at 10:38, Thorbj=C3=B8rn Ravn Andersen wrote: > Chris Wood wrote: >=20 > >Yup, I understand this. The machine has 1.1, 1.2 and 1.3 on it, from the > >packages supplied by IBM. > >I had explicitly set the JAVA_HOME variable to the 1.3 version before > >running the script. > > =20 > > >=20 > Are you sure that you invoke the proper version of java? What does=20 > "java -version" say? Aha! Now this *is* interesting: >export JAVA_HOME=3D/qibm/proddata/java400/jdk13 >echo $JAVA_HOME /qibm/proddata/java400/jdk13 >echo $PATH /usr/bin: >/usr/bin/java -version qsh: 001-0014 Command /usr/bin/java not found. > java -version java version "1.1.8"=20 So, despite having a path set in qsh, it appears that it isn't used, and it's actually some OS/400 magic that determines what binaries can be seen. And the icing on the cake: > /qibm/proddata/java400/jdk13/bin/java -version =20 java version "1.1.8"=20 > /qibm/proddata/java400/jdk12/bin/java -version =20 java version "1.1.8"=20 Hum. Very strange. But is it an install problem with the jdks or something very odd about the way OS/400 and/or qsh works?=20 Ok, I'm going to do a bit more research. We have another machine with 1.3 on it - I'll see what it says. Thanks for the help so far guys, I'll keep you posted. C. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org