From owner-freebsd-java@FreeBSD.ORG Thu Dec 31 00:39:33 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53EFA1065695 for ; Thu, 31 Dec 2009 00:39:33 +0000 (UTC) (envelope-from mvh@ix.netcom.com) Received: from elasmtp-galgo.atl.sa.earthlink.net (elasmtp-galgo.atl.sa.earthlink.net [209.86.89.61]) by mx1.freebsd.org (Postfix) with ESMTP id 0ABBA8FC18 for ; Thu, 31 Dec 2009 00:39:32 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=t5N3tS67NOk0mVBQgPsl9uHIf2hnSgZGisLpyfhHzTrtCaZQjzx9VJfjAl3Mp2Od; h=X-Virus-Scanned:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [71.116.162.184] (helo=bsd.mvh) by elasmtp-galgo.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1NQ94d-0006Qo-RY; Wed, 30 Dec 2009 19:39:32 -0500 Received: from bsd.mvh (localhost [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id A13DD1753D; Wed, 30 Dec 2009 16:39:30 -0800 (PST) X-Virus-Scanned: amavisd-new at bsd.mvh Received: from bsd.mvh ([127.0.0.1]) by bsd.mvh (bsd.mvh [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id avn2HuUrPEgc; Wed, 30 Dec 2009 16:39:28 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id 1D1BE1751E; Wed, 30 Dec 2009 16:39:28 -0800 (PST) From: Mike Harding To: Ronald Klop In-Reply-To: References: <20091230172750.09C9D17127@bsd.mvh> <20091230185809.GA91259@osiris.chen.org.nz> Content-Type: text/plain; charset="us-ascii" Date: Wed, 30 Dec 2009 16:39:27 -0800 Message-ID: <1262219967.12298.7.camel@bsd.mvh> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-ELNK-Trace: 2159e7a04884740af66dc3a06d5924d8277a56d9dd522a0841eb9fb900a95756b3d6b29ebf2fd88f350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.116.162.184 Cc: freebsd-java@freebsd.org Subject: Re: (no subject) 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: Thu, 31 Dec 2009 00:39:33 -0000 I removed all of the jdks except openjdk, and jboss5 does install and run. Thanks you all - how do I select the jdk to use for a port if I have multiple ones installed? On Wed, 2009-12-30 at 20:41 +0100, Ronald Klop wrote: > On Wed, 30 Dec 2009 19:58:09 +0100, Jonathan Chen wrote: > > > On Wed, Dec 30, 2009 at 09:27:49AM -0800, Mike Harding wrote: > >> > >> I can't get jboss5 to install from ports on a FreeBSD 8.0 installation > >> - a friend reports the same. Anything I can do to get this working? > >> I think this was working ok on 7.2... > >> > >> bsd# cd /usr/ports/java/jboss5 > >> bsd# make clean > >> ===> Cleaning for jboss-5.1.0.GA_1,1 > >> bsd# make install clean > >> ===> Extracting for jboss-5.1.0.GA_1,1 > >> => MD5 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > >> => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > >> ===> Patching for jboss-5.1.0.GA_1,1 > >> ===> jboss-5.1.0.GA_1,1 depends on file: /usr/local/jdk1.6.0/bin/java > >> - found > > [...] > >> /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/system/server/profileservice/repository/clustered/local/JAXBRepositoryContentMetadataPersister.java:98: > >> cannot find symbol > >> symbol : method > >> marshal(org.jboss.system.server.profileservice.repository.clustered.metadata.RepositoryContentMetadata,java.io.File) > >> location: interface javax.xml.bind.Marshaller > >> marshaller.marshal(metadata, metadataStore); > >> ^ > >> Note: Some input files use unchecked or unsafe operations. > >> Note: Recompile with -Xlint:unchecked for details. > >> 1 error > >> 8 warnings > > > > Did you make any changes to your JDK 1.6 installation? eg: putting > > stuff into the endoresed directories? > > > > Cheers. > > The API of some xml stuff changed between revisions of java6. At work I > need the openjdk6 port to compile everything, because colleges use newer > java versions than the current jdk16 port is. > I don't have the details here right now, but I recommend you to install > openjdk6 and try again. > > Ronald.