From owner-freebsd-java@FreeBSD.ORG Fri Oct 21 08:50:52 2011 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 E3882106566C for ; Fri, 21 Oct 2011 08:50:52 +0000 (UTC) (envelope-from yan.jurak@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5F78FC0A for ; Fri, 21 Oct 2011 08:50:52 +0000 (UTC) Received: by eyd10 with SMTP id 10so4932319eyd.13 for ; Fri, 21 Oct 2011 01:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=9ufTtAD3v8mvw9jT/hz3431me/XUOVseGIGqEedeIs8=; b=NQUmzuyCjCF0V1JZ0W1biXSiUFkM+w/WsPWbmLERFxXV0t1UpFPBRcBmi30gqpBsTh oKFFWzqGPrNxwCiL5yCPKLya/O1jLGVySeqojvIUTzA7cF398HPsJ5NSNEeFPgJE2ttq 7VS/ptObKZ+xTZqFS9gUbTyMv3bllVKHGt/m4= Received: by 10.213.13.139 with SMTP id c11mr2529992eba.1.1319187051147; Fri, 21 Oct 2011 01:50:51 -0700 (PDT) Received: from [10.101.3.136] (gw.fnb.cz. [195.113.79.2]) by mx.google.com with ESMTPS id 54sm390653eex.8.2011.10.21.01.50.49 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Oct 2011 01:50:50 -0700 (PDT) Message-ID: <4EA1326B.1040507@gmail.com> Date: Fri, 21 Oct 2011 10:50:51 +0200 From: Jan jurak User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4E95E9A3.2090905@gmail.com> <4E9BE72E.8040400@gmail.com> <20111018161248.GA26185@misty.eyesbeyond.com> In-Reply-To: <20111018161248.GA26185@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: unsuccessful compiling of port postgresql-jdbc with openjdk7 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: Fri, 21 Oct 2011 08:50:53 -0000 Maintainer was not specific. He wrote only: "there are some issues". Anyway thank you for recommandation which JDK is most stable for freeBSD, i am quit new in FreeBSD and did not know statuses of JDKs for FreeBSD. Regards Yan Jurak On 10/18/2011 06:12 PM, Greg Lewis wrote: > On Mon, Oct 17, 2011 at 10:28:30AM +0200, Jan jurak wrote: >> Thank you for response/informations Ronald, >> >> Compiling with OpenJDK6 works, but maintaner of runing application do >> not recommend this JDK. > Why? I'd certainly recommend OpenJDK6 as the most stable JDK to run on > FreeBSD. > >> On 10/14/2011 09:56 PM, Ronald Klop wrote: >>> On Wed, 12 Oct 2011 21:25:23 +0200, Jan Jurak >>> wrote: >>> >>>> Dear All, >>>> >>>> I tried compile postgresql-jdbc port, but without luck: >>>> >>>> # make install clean >>>> ... >>>> [javac] >>>> /usr/ports/databases/postgresql-jdbc/work/postgresql-jdbc-8.3-603.src/org/postgresql/jdbc4/Jdbc4ResultSet.java:23: >>>> error: Jdbc4ResultSet is not abstract and does not override abs >>>> tract method getObject(String,Class) in ResultSet >>>> [javac] public class Jdbc4ResultSet extends >>>> AbstractJdbc4ResultSet implements java.sql.ResultSet >>>> [javac] ^ >>>> [javac] where T is a type-variable: >>>> [javac] T extends Object declared in method >>>> getObject(String,Class) >>>> [javac] >>>> /usr/ports/databases/postgresql-jdbc/work/postgresql-jdbc-8.3-603.src/org/postgresql/xa/PGXADataSource.java:19: >>>> error: PGXADataSource is not abstract and does not override abstra >>>> ct method getParentLogger() in CommonDataSource >>>> [javac] public class PGXADataSource extends BaseDataSource >>>> implements Referenceable, XADataSource >>>> [javac] ^ >>>> [javac] Note: Some input files use or override a deprecated API. >>>> [javac] Note: Recompile with -Xlint:deprecation for details. >>>> [javac] Note: Some input files use unchecked or unsafe operations. >>>> [javac] Note: Recompile with -Xlint:unchecked for details. >>>> [javac] 11 errors >>>> >>>> BUILD FAILED >>>> /usr/ports/databases/postgresql-jdbc/work/postgresql-jdbc-8.3-603.src/build.xml:101: >>>> The following error occurred while executing this line: >>>> /usr/ports/databases/postgresql-jdbc/work/postgresql-jdbc-8.3-603.src/build.xml:124: >>>> Compile failed; see the compiler error output for details. >>>> >>>> Total time: 13 seconds >>>> *** Error code 1 >>>> >>>> Stop in /usr/ports/databases/postgresql-jdbc. >>>> >>>> the whole error: http://pastebin.com/raw.php?i=Z89UjxMD >>>> >>>> # uname -a >>>> FreeBSD fbsdBuilder.wheel.cz 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu >>>> Feb 17 02:41:51 UTC 2011 >>>> root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >>>> >>>> # java -version >>>> openjdk version "1.7.0" >>>> OpenJDK Runtime Environment (build 1.7.0-root_2011_10_02_12_16-b00) >>>> OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode) >>>> >>>> >>>> Any suggestion would be helpful. >>> Try openjdk6. >>> Ask the postgresql-jdbc community if it compiles with jdk7 at all. >>> Changes are big that jdk7 defines some new methods in the interface of >>> ResultSet. That happened with previous versions also. >>> >>> 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" >> _______________________________________________ >> 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" * Catalan - detected * Czech * Czech <#> stavy