From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 08:36:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F6BB16A4FA for ; Sat, 28 Feb 2004 08:36:10 -0800 (PST) Received: from smtp.mailbox.co.uk (smtp.mailbox.co.uk [195.82.125.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8689443D1F for ; Sat, 28 Feb 2004 08:36:09 -0800 (PST) (envelope-from waynep@smtp.penguinpowered.org) Received: from [212.18.250.170] (helo=smtp.penguinpowered.org) by smtp.mailbox.co.uk with esmtp (Exim 3.36 #1) id 1Ax7Rf-0001f2-00 for freebsd-questions@freebsd.org; Sat, 28 Feb 2004 16:36:08 +0000 Received: from waynep by smtp.penguinpowered.org with local (Exim 4.30; FreeBSD) id 1Ax7TM-000IR0-N8 for freebsd-questions@freebsd.org; Sat, 28 Feb 2004 16:37:52 +0000 Date: Sat, 28 Feb 2004 16:37:52 +0000 From: Wayne Pascoe To: freebsd-questions@freebsd.org Message-ID: <20040228163752.GA70821@marvin.penguinpowered.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-System: FreeBSD i386 with kernel 5.1-RELEASE-p10 Sender: Wayne Pascoe Subject: jikes from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 16:36:10 -0000 Hi all, I'm running FreeBSD 4.9-STABLE and I've got the following installed from ports: jdk-1.4.2p5 jdk-doc-1.4.2 linux-sun-jdk-1.4.2.02 jikes-1.19_1 which java shows that I am using the native JDK: $ which java /usr/local/jdk1.4.2/bin//java When I do javac test.java, the file compiles fine and I am able to run it by doing java test. When I try and use jikes, I get the following : $ jikes test.java Found 1 system error: *** Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Package "java/lang" could not be found in: . I tried setting my CLASSPATH to /usr/local/jdk1.4.2/jre/lib/ but it continued to do the same. When I set my CLASSPATH to export CLASSPATH=/usr/local/jdk1.4.2/jre/lib/rt.jar then things compile, with warnings and a .class file is output into the local directory, but nothing runs any more. Can anyone advise me what I should do to get jikes to work right, with the native JDK ? -- Wayne Pascoe WINDOWS: Where do you want to go today? LINUX: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what?