From owner-freebsd-java@FreeBSD.ORG Mon May 5 18:58:22 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADA661065673 for ; Mon, 5 May 2008 18:58:22 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [209.41.94.250]) by mx1.freebsd.org (Postfix) with ESMTP id 9408B8FC25 for ; Mon, 5 May 2008 18:58:22 +0000 (UTC) (envelope-from chad@shire.net) Received: from c-76-23-4-92.hsd1.ut.comcast.net ([76.23.4.92] helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1Jt5cO-0008o6-OL for java@freebsd.org; Mon, 05 May 2008 12:40:57 -0600 Message-Id: From: "Chad Leigh -- Shire.Net LLC" To: java@freebsd.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 5 May 2008 12:40:57 -0600 References: <20080414120018.E732B106567F@hub.freebsd.org> <200804140931.22851@aldan> <20080422233458.GA81527@pencil.math.missouri.edu> X-Mailer: Apple Mail (2.919.2) X-SA-Exim-Connect-IP: 76.23.4.92 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: Subject: Re: error building java/jdk15 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2008 18:58:22 -0000 I am having a similar problem /usr/local/linux-sun-jdk1.4.2/bin/javac -d /usr/ports/java/jdk15/work/ control/build/bsd-i586/lib -target 1.5 ../../tools/sharing/AddJsum.java javac: invalid target release: 1.5 Usage: javac where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath Specify where to find user class files -sourcepath Specify where to find input source files -bootclasspath Override location of bootstrap class files -extdirs Override location of installed extensions -d Specify where to place generated class files -encoding Specify character encoding used by source files -source Provide source compatibility with specified release -target Generate class files for specific VM version -help Print a synopsis of standard options gmake[4]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/ classlist] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/ redist' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/ redist' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. *** Error code 1 Stop in /usr/ports/java/jdk15. So I installed the 1.5 diablo stuff but I am not sure how to make the 1.5 jdk build use that instead of the listed linux sun 1.4.2 version (and why it would use the sun linux 1.4.2 instead of the fbsd 1.4.2. already installed as well; not that that would fix the problem) What do I need to do to make my 1.5jdk build use the diablo one? Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net