From owner-freebsd-java@FreeBSD.ORG Thu Dec 31 10:21:54 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 751D71065692 for ; Thu, 31 Dec 2009 10:21:54 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.freebsd.org (Postfix) with ESMTP id 32D358FC0C for ; Thu, 31 Dec 2009 10:21:54 +0000 (UTC) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1NQIAD-00028i-35; Thu, 31 Dec 2009 11:21:53 +0100 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id C30E712E89; Thu, 31 Dec 2009 11:21:47 +0100 (CET) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Mike Harding" References: <20091230172750.09C9D17127@bsd.mvh> <20091230185809.GA91259@osiris.chen.org.nz> <1262219967.12298.7.camel@bsd.mvh> Date: Thu, 31 Dec 2009 11:21:47 +0100 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: <1262219967.12298.7.camel@bsd.mvh> User-Agent: Opera Mail/10.10 (FreeBSD) Content-Transfer-Encoding: quoted-printable 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 10:21:54 -0000 On Thu, 31 Dec 2009 01:39:27 +0100, Mike Harding wrot= e: > 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? Not sure, but this could do it. # export JAVA_HOME=3D/usr/local/openjdk6 # cd /usr/ports/../.. # make ... It depends on how the port detects the JVM. Ronald. > On Wed, 2009-12-30 at 20:41 +0100, Ronald Klop wrote: >> On Wed, 30 Dec 2009 19:58:09 +0100, Jonathan Chen =20 >> 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 =20 >> 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 >> >> =3D=3D=3D> Cleaning for jboss-5.1.0.GA_1,1 >> >> bsd# make install clean >> >> =3D=3D=3D> Extracting for jboss-5.1.0.GA_1,1 >> >> =3D> MD5 Checksum OK for jboss-5.1.0.GA-src.tar.gz. >> >> =3D> SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. >> >> =3D=3D=3D> Patching for jboss-5.1.0.GA_1,1 >> >> =3D=3D=3D> jboss-5.1.0.GA_1,1 depends on file: =20 >> /usr/local/jdk1.6.0/bin/java >> >> - found >> > [...] >> >> =20 >> /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jbo= ss/system/server/profileservice/repository/clustered/local/JAXBRepository= ContentMetadataPersister.java:98: >> >> cannot find symbol >> >> symbol : method >> >> =20 >> marshal(org.jboss.system.server.profileservice.repository.clustered.me= tadata.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 new= er >> java versions than the current jdk16 port is. >> I don't have the details here right now, but I recommend you to instal= l >> openjdk6 and try again. >> >> Ronald. > > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"