From owner-freebsd-java@FreeBSD.ORG Sun Oct 16 07:49:13 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 8F7FA1065672 for ; Sun, 16 Oct 2011 07:49:13 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from outrelay02.libero.it (outrelay02.libero.it [212.52.84.102]) by mx1.freebsd.org (Postfix) with ESMTP id 188C78FC08 for ; Sun, 16 Oct 2011 07:49:12 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B020B.4E9A89DD.006E,ss=1,re=0.000,fgs=0 X-libjamoibt: 1821 Received: from wmail10.libero.it (172.31.0.79) by outrelay02.libero.it (8.5.133) (authenticated as barbara.xxx1975@libero.it) id 4E3BF946066803B8; Sun, 16 Oct 2011 09:38:05 +0200 Message-ID: <10362073.634191318750685313.JavaMail.defaultUser@defaultHost> Date: Sun, 16 Oct 2011 09:38:05 +0200 (CEST) From: Barbara To: , MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 79.35.216.16 Cc: Subject: R: unsuccessful compiling of port postgresql-jdbc with openjdk7 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2011 07:49:13 -0000 > >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. > >Thanks in advance >Yan Jurak > I filed a pr containing a patch to update the postgresql jdbc driver in ports about 3 weeks ago. This should build with openjdk7. http://www.freebsd.org/cgi/query-pr.cgi?pr=161040 Barbara From owner-freebsd-java@FreeBSD.ORG Mon Oct 17 08:28:38 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 77C9C106564A for ; Mon, 17 Oct 2011 08:28:38 +0000 (UTC) (envelope-from yan.jurak@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0431A8FC0C for ; Mon, 17 Oct 2011 08:28:35 +0000 (UTC) Received: by bkbzu17 with SMTP id zu17so3843315bkb.13 for ; Mon, 17 Oct 2011 01:28:34 -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:content-transfer-encoding; bh=UijDFAFFjqBe0uVCzeQO2LF42dNRZgXQYLPdlyMJ2d4=; b=yB93Nw1OE7kYGI+ITEeMLkbx1tzjavBpM9NxarOHUxxbQ+mucaHeyww2qaeNzncxo9 RjwShRuAYPG6kvZIEUTwkfBUkna3hGahuXT8BcVNE9HJWb34VgXJfmwfZf4U8JbcAuTN IAtQ+L2z7Vuy5diMGLl6v3IONVVmt4nuMcQZE= Received: by 10.223.77.26 with SMTP id e26mr13621078fak.37.1318840113352; Mon, 17 Oct 2011 01:28:33 -0700 (PDT) Received: from [10.101.3.136] (gw.fnb.cz. [195.113.79.2]) by mx.google.com with ESMTPS id k26sm22382868fab.12.2011.10.17.01.28.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Oct 2011 01:28:32 -0700 (PDT) Message-ID: <4E9BE72E.8040400@gmail.com> Date: Mon, 17 Oct 2011 10:28:30 +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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Mon, 17 Oct 2011 08:28:38 -0000 Thank you for response/informations Ronald, Compiling with OpenJDK6 works, but maintaner of runing application do not recommend this JDK. Regards Yan Jurak 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" From owner-freebsd-java@FreeBSD.ORG Mon Oct 17 08:32:49 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 D83CB1065670 for ; Mon, 17 Oct 2011 08:32:49 +0000 (UTC) (envelope-from yan.jurak@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 61A4C8FC0C for ; Mon, 17 Oct 2011 08:32:48 +0000 (UTC) Received: by bkbzu17 with SMTP id zu17so3847947bkb.13 for ; Mon, 17 Oct 2011 01:32:48 -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:content-transfer-encoding; bh=YMyt9B1JmzX/txH5G65zHSNLrHwXFGq303Be3r7+xDQ=; b=wboPyJ8tF106hOeCrRLOqyWf1PqDDVmIiw7QgoRurAPpcwEnaiKwyXHi84BwqkIFBH PIgewnNYa1lG9uzCiSxsEIwCJhmzCNfNimua6/AquT7LHWAIEppbqMe2r4I9UyIAOUc4 bMzbAZh4b3mHk+/KxZsMZBcOlJbzep7MeZY3E= Received: by 10.223.6.25 with SMTP id 25mr22912902fax.14.1318840368092; Mon, 17 Oct 2011 01:32:48 -0700 (PDT) Received: from [10.101.3.136] (gw.fnb.cz. [195.113.79.2]) by mx.google.com with ESMTPS id v17sm22401637fai.18.2011.10.17.01.32.47 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Oct 2011 01:32:47 -0700 (PDT) Message-ID: <4E9BE82F.3080803@gmail.com> Date: Mon, 17 Oct 2011 10:32:47 +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: <10362073.634191318750685313.JavaMail.defaultUser@defaultHost> In-Reply-To: <10362073.634191318750685313.JavaMail.defaultUser@defaultHost> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: R: 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: Mon, 17 Oct 2011 08:32:50 -0000 Many thanks, Barbara, for the patch, it solved this issue. Regards Yan Jurak On 10/16/2011 09:38 AM, Barbara 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. >> >> Thanks in advance >> Yan Jurak >> > I filed a pr containing a patch to update the postgresql jdbc driver in ports > about 3 weeks ago. > This should build with openjdk7. > http://www.freebsd.org/cgi/query-pr.cgi?pr=161040 > > Barbara > From owner-freebsd-java@FreeBSD.ORG Mon Oct 17 11:07:06 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 A407E106566C for ; Mon, 17 Oct 2011 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9271D8FC14 for ; Mon, 17 Oct 2011 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9HB76Sk099273 for ; Mon, 17 Oct 2011 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9HB758D099271 for freebsd-java@FreeBSD.org; Mon, 17 Oct 2011 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Oct 2011 11:07:05 GMT Message-Id: <201110171107.p9HB758D099271@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org 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, 17 Oct 2011 11:07:06 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o java/160553 java Jaikoz java based audio tagger core dumps o ports/159787 java java/openjdk6 nio muti-thread bug o ports/156674 java [PATCH] java/openjdk6: make x11-fonts/dejavu a build d o ports/156319 java [patch] java/openjdk6 does not compile with previous l o ports/155967 java [bsd.java.mk] [patch] javavm wrapper insists on diablo o ports/155657 java java/openjdk6: missing symlink for include/freebsd/* o ports/154884 java java/openjdk6: Every NetBeans version on FreeBSD 8.1 c o ports/151923 java [patch] java/openjdk6: free and native openjdk bootstr o ports/151042 java [patch] java/openjdk6 Respect CC o java/147512 java Crash of RXTX-2.1-7 on AMD64 system o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones f java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java f java/112595 java Java appletviewer frequently hangs (kse_release loop) 27 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Oct 17 21:51:03 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 353EE1065674 for ; Mon, 17 Oct 2011 21:51:03 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from outrelay03.libero.it (outrelay03.libero.it [212.52.84.103]) by mx1.freebsd.org (Postfix) with ESMTP id B21CC8FC0C for ; Mon, 17 Oct 2011 21:51:02 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B0203.4E9CA344.0082,ss=1,re=0.000,fgs=0 X-libjamoibt: 1821 Received: from wmail60 (172.31.0.57) by outrelay03.libero.it (8.5.133) (authenticated as barbara.xxx1975@libero.it) id 4E8B32AF0179F306; Mon, 17 Oct 2011 23:51:00 +0200 Message-ID: <22182530.1288611318888260363.JavaMail.defaultUser@defaultHost> Date: Mon, 17 Oct 2011 23:51:00 +0200 (CEST) From: Barbara To: , MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 79.19.209.93 Cc: Subject: Re: R: unsuccessful compiling of port postgresql-jdbc with openjdk7 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2011 21:51:03 -0000 >On 10/16/2011 09:38 AM, Barbara 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. >>> >>> Thanks in advance >>> Yan Jurak >>> >> I filed a pr containing a patch to update the postgresql jdbc driver in ports >> about 3 weeks ago. >> This should build with openjdk7. >> http://www.freebsd.org/cgi/query-pr.cgi?pr=161040 >> >> Barbara >> > >Many thanks, Barbara, for the patch, it solved this issue. > >Regards >Yan Jurak > You're most welcome! I hope the pr will get committed. Did you have any chance to test it? Any feedback? Maybe a positive or a negative one could help to push the pr or to reject it and find better new solution. Thanks Barbara From owner-freebsd-java@FreeBSD.ORG Tue Oct 18 16:43:15 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 E85381065677 for ; Tue, 18 Oct 2011 16:43:14 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id A14218FC0A for ; Tue, 18 Oct 2011 16:43:14 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id p9IGCnI6026207; Tue, 18 Oct 2011 09:12:49 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id p9IGCm9t026206; Tue, 18 Oct 2011 09:12:48 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 18 Oct 2011 09:12:48 -0700 From: Greg Lewis To: Jan jurak Message-ID: <20111018161248.GA26185@misty.eyesbeyond.com> References: <4E95E9A3.2090905@gmail.com> <4E9BE72E.8040400@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E9BE72E.8040400@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-java@freebsd.org 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: Tue, 18 Oct 2011 16:43:15 -0000 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" -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Oct 19 06:16:34 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 92BF4106564A for ; Wed, 19 Oct 2011 06:16:34 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 0FE788FC0C for ; Wed, 19 Oct 2011 06:16:33 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id p9J5eE3q016988; Wed, 19 Oct 2011 08:40:14 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id p9J5eEO0016987; Wed, 19 Oct 2011 08:40:14 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Wed, 19 Oct 2011 08:40:14 +0300 User-Agent: KMail/1.9.7 References: <4E95E9A3.2090905@gmail.com> <4E9BE72E.8040400@gmail.com> In-Reply-To: <4E9BE72E.8040400@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201110190840.14730.achill@matrix.gatewaynet.com> Cc: Jan jurak 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: Wed, 19 Oct 2011 06:16:34 -0000 =CE=A3=CF=84=CE=B9=CF=82 Monday 17 October 2011 11:28:30 =CE=BF/=CE=B7 Jan = jurak =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Thank you for response/informations Ronald, >=20 > Compiling with OpenJDK6 works, but maintaner of runing application do > not recommend this JDK. I don't know which jdk they do recommend, but i find it strange to prefer O= penJDK7 over OpenJDK6 . Did you bring this up in jdbc-postgresql? >=20 > Regards > Yan Jurak =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Thu Oct 20 02:00:42 2011 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 4C6951065673 for ; Thu, 20 Oct 2011 02:00:42 +0000 (UTC) (envelope-from raon.judyann@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 22A718FC15 for ; Thu, 20 Oct 2011 02:00:41 +0000 (UTC) Received: by pzk4 with SMTP id 4so12292646pzk.3 for ; Wed, 19 Oct 2011 19:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:mime-version:from:to:subject:date:x-bounce-tracking-info :content-type; bh=gL3acYRyAQ8Vjk3TVthyAEp8QGOFgYK4+ltOT/IjJYE=; b=lE2mzHvEZskAiU6ar5PvVQd/IiS0qLClqbBIlsrDkCRvSroyjNMblE2csE0DIdbSnK wFBSjw6UbDALQxmDPn73teCCWmcRWh/ZC+R8ndmziQ0DA/9sQYX7GDTtQYaWzAYwI6+v z/UvN09Tm1cwBVLLFctiQUvGxnsoraD0TgJ5k= Received: by 10.68.31.132 with SMTP id a4mr16605735pbi.26.1319074308294; Wed, 19 Oct 2011 18:31:48 -0700 (PDT) Received: from [192.168.0.108] ([112.202.242.224]) by mx.google.com with ESMTPS id jm5sm13144497pbc.1.2011.10.19.18.31.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Oct 2011 18:31:47 -0700 (PDT) Message-Id: Mime-Version: 1.0 From: Judy Ann To: java@freebsd.org Date: Thu, 20 Oct 2011 09:31:50 +0800 X-Bounce-Tracking-Info: Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Certified Penetration Testing Engineer 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, 20 Oct 2011 02:00:42 -0000 Catch the Bitshield's grand launching of mile2's CPTE course with trainer s= traight from Europe! Don't miss it! It only happens=2E NOW! Many courses teach "how to hack"; the course teaches "the business of penetration testing"=2E The course delivers advanced and cutting edge techniques for auditing a bro= ad range of security controls (including Physical and User Security) with "= hands-on" laboratories designed by real world security professionals= =2E For a Certified Ethical Hacker (CEH), this course will improve your knowled= ge and skills thus making you a complete "security guru"! Learn the art of ethical hacking with a professional edge (penetration test= ing)! Featuring Europe's top notch and multi-awarded CPTE master instructor DENIZ= KAYA! Don't be left out=2Ebe among the first Certified Pen Test Engineers in the = Philippines! Others compare CEH against CPTE (formerly CPTS) and this is what they say= =2E "CPTE was developed by Mile2 and its security partners as an upgrade from t= he CEH classes previously offered to address the training needs of IT profe= ssionals required in executing the responsibilities of penetrating, analyzi= ng and auditing the security of a network, effectively filling the gap for = a course that goes beyond basic hacking techniques CPTE=A0places=A0emphasis is on methodology, practices, and techniques in as= sessing and verifying security vulnerabilities in networks, connectivity, a= pplications, databases etc=2E CPTE courses are designed with a realization that overloading students with= tools and slides does not necessarily make more effectively security pract= itioners=2E" http://mile2=2Ecom/articles/157-cpte-vs-ceh=2Ehtml "As a veteran of the EC-Council CEH program, Ryan Lindfield , Senior Techni= cal Instructor of Boson Software, has seen CEH's program come a very long way since version 2= =2E0=2E "Many labs have been added, as well as additional chapters and too= ls, in fact, the course content seems to grow by a few pounds with each yea= r that passes," said Lindfield=2E "I have delivered the CEH course approxim= ately 10 times a year for the last 4 years, and while I enjoy the addition = of recent tools, it is difficult to make it through all of the slides, and = make sense of the often poorly written labs=2E" http://mile2=2Ecom/articles= /163-boson-difference-between-cpte-ceh=2Ehtml "I know there is an on going debate about this vs CEH=0B=0BI have my CEH an= d OSCP also=2E=2E=2E=0B=0BOSCP contains more debugging/exploit writing and = technical=2E=2E=2EHowever the CPTE is much better then the CEH on content a= nd delivery=2E" http://www=2Etechexams=2Enet/forums/security-certifications= /58420-passed-cpte-mile2-formerly-cpts=2Ehtml "CEH and CPTS courses are similar in concept (Theoretical basis) and from m= y recent experience are very different in the way they delivered=2E I've fo= und that CEH course was more theoretical with no time left for practical ex= ercises and the instructor has no pen testing experience=2E CPTS course was= delivered by a very experienced instructor and I had a chance to play with= many tools and techniques=2E I felt a bit frustrated after completing CEH = course due to the lack of practice and felt quite confident after finishing= CPTS course=2E CEH Certification is pupular but I found that some people = prefer not to put it on their CV=2E CPTS certification is not yet popular b= ut doesn't have that stigma=2E I have CEH and getting ready for CPTS exam= =2E" http://www=2Eethicalhacker=2Enet/component/option,com_smf/Itemid,54/t= opic,701=2Enew/ COURSE OVERVIEW CPTEngineer's foundation is built firmly upon proven, hands-on, Penetration Testing methodologies utilized by our international group of vulnerability consultants=2E Mile 2 trainers keep abreast of their field by practicing what they teach=2E They believe that, during training, an equal emphasis should be placed on both theoretical and real world experience if the student is going to succeed in mastering the necessary skills to become a CPTEngineer=2E The CPTEngineer presents information based on the 5 Key Elements of PenTesting: Information Gathering, Scanning, Enumeration, Exploitation and Reporting=2E System vulnerabilities will be discovered using these tried and true steps alongside the use of the latest hacking techniques=2E This course also enhances the business skills needed by today's students=2E It will enable them to identify protection opportunities, justify testing activities, and optimize security controls needed by businesses attempting to reduce risks=2E mile2 goes far beyond simply teaching students to "Hack"=2E Mere hacking was the norm for classes that were available before mile2 has introduced a new methodology in teaching this advanced skill=2E Our course was developed around principles and behaviors used by malicious = hackers=2E The course is taught with this in mind while keeping the focus o= n professional penetration testing and ensuring the security of information= assets=2E COURSE OUTLINE Module 0: Course Overview Module 1: Business and Technical Logistics of Pen Testing Module 2: Financial Sector Regulations Module 3: Information Gathering Module 4: Detecting Live Systems Module 5: Enumeration Module 6: Vulnerability Assessments Module 7: Malware, Trojans and Back Doors Module 8: Windows Hacking Module 9: Hacking UNIX/Linux Module 10: Advanced Exploitation Techniques Module 11: Pen Testing Wireless Networks Module 12: Networks, Sniffing and IDS Module 13: Injecting the Database Module 14: Attacking Web Technologies Module 15: Report Writing Appendix 1: The Basics Appendix 2: Linux Fundamentals Appendix 3: Access Controls Appendix 4: Protocols Appendix 5: Cryptography Appendix 6: Economics and Law SPEAKER PROFILE DENIZ KAYA Multi-awarded IT Security and Networking Consultant CPTE Master Deniz Kaya's Summary Cisco ASA and PIX Firewalls, IOS & Zone Based Firewall (ZBF), Cisco IPS App= liances and AIP-SSM modules, Cisco Wireless LAN Controller Appliances and W= iSMs, Cisco Wireless Control System WCS, Cisco Switches 6500 Sup720, 4500, = 3750, 3560, 2960 series, IBM AS400&iSeries, IPSEC VPN, EZVPN, DMVPN, SSLVPN= , GETVPN, PKI enabled VPN, Ironport Email & Web, and Management appliances,= Penetration Testing, Network Security Review and Hardening, CiscoWorks, Ci= sco Routers, EIGRP, OSPF, BGP, Cisco Unified Communication Manager, IP Tele= phony, Radius, Tacacs, Proxy Servers, Microsoft Active Directory, Microsoft= NAP, Failover Clustering, MS Network Load Balancing, Business Continuity P= lanning, Disaster Recovery=2E Specialties Certified Cisco Systems Instructor (CCSI), CCIE Security Written, CCNP, CCN= P Security, CCSP, Cisco Ironport Certified Security Instructor & Profession= al (CICSI & CICSP), Certified Penetration Testing Specialist/Engineer (CPTS= /CPTE), Certified Ethical Hacker (CEH), Certified Disaster Recovery Enginee= r (CDRE), Microsoft Certified Trainer (MCT) and Microsoft Certified System = Engineer (MCSE) To register, please call: (63 2) 840=2E2612 (63 2) 893=2E8527 Look for Judy! E-Mail: judy@bitshieldsecurity=2Ecom sales@bitshieldsecurity=2Ecom www=2Ebitshieldsecurity=2Ecom Duration: 5 days Investment Fee: P120, 000 + VAT (Regular Price - if payment is done after October 31, 2011)= P88,000 + VAT (Early Bird - if payment is done on or before October 31, 201= 1) Inclusion: Original CPTE kit (mile2 workbooks (2), mile2 lab guide, key concepts/defin= itions booklet,=A0 DVDs with penetration testing tools, white papers, video= s & resources, mile2 pen, and mile2 T-shirt) Exam voucher AM/PM snacks & lunch Limited edition Bitshield/mile2 jacket (available only for the grand launc= hing class) Date: November 21-25, 2011 Location: St=2E Giles Hotel Makati Avenue corner Kalayaan Avenue, Makati City, Philippines Hurry, register now! Limited slots available! This is a first-come first-served basis=2E Your payment serves as the conf= irmation of your seat=2E Bitshield is the only Authorized Training Center of mile2 in the Philippine= s=2E We practice ethical email distribution=2E Please accept our sincere apologi= es if you have received this e-mail in an unsolicited manner=2E If you don'= t want to receive from us, kindly reply with the subject "Unsubscribe" to= =A0sales@bitshieldsecurity=2Ecom 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 From owner-freebsd-java@FreeBSD.ORG Fri Oct 21 09:24:40 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 A268C1065670 for ; Fri, 21 Oct 2011 09:24:40 +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 370038FC17 for ; Fri, 21 Oct 2011 09:24:39 +0000 (UTC) Received: by eyd10 with SMTP id 10so4966242eyd.13 for ; Fri, 21 Oct 2011 02:24:39 -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:content-transfer-encoding; bh=Q4XNnKM7PcRcI/3UV/HJmuU05lu1BDPGauiAZYqxH8A=; b=F4f2+GArIr9+2B0PTrJEq+QXovtcc0WCGMumwZ8bGdE0eDk5tGlSI/BQiEEXpTlaSO LIYfg01TNhSOvEWMH3oYGyq6gVhYUBKknG6SeL3J79pHVrN9LDYKODLWHerpCHOsvLcj wCkqxYm1Cwlhcz6cfUkJ97VySN3wrD9zY2r+k= Received: by 10.213.29.80 with SMTP id p16mr2107740ebc.106.1319189079097; Fri, 21 Oct 2011 02:24:39 -0700 (PDT) Received: from [10.101.3.136] (gw.fnb.cz. [195.113.79.2]) by mx.google.com with ESMTPS id q50sm33165267eef.9.2011.10.21.02.24.38 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Oct 2011 02:24:38 -0700 (PDT) Message-ID: <4EA13A57.3050204@gmail.com> Date: Fri, 21 Oct 2011 11:24:39 +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> <201110190840.14730.achill@matrix.gatewaynet.com> In-Reply-To: <201110190840.14730.achill@matrix.gatewaynet.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 09:24:40 -0000 On 10/19/2011 07:40 AM, Achilleas Mantzios wrote: > Στις Monday 17 October 2011 11:28:30 ο/η Jan jurak έγραψε: >> Thank you for response/informations Ronald, >> >> Compiling with OpenJDK6 works, but maintaner of runing application do >> not recommend this JDK. > I don't know which jdk they do recommend, but i find it strange to prefer OpenJDK7 over OpenJDK6 . Maintainer recommend SUN JDK version 6 update 16 and higher. Unfortunatelly native java from port java/JDK16 was refused by application because outdated. I am testing right now OpenJDK7 and java/linux-sun-jdk16. > Did you bring this up in jdbc-postgresql? No. Patch from Barbara http://www.freebsd.org/cgi/query-pr.cgi?pr=161040 updated driver version from 8.1 to 9.3. I guess the issue with OpenJDK7 was by postgreql-jdbc community already fixed. From owner-freebsd-java@FreeBSD.ORG Fri Oct 21 11:00:59 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 2E778106564A for ; Fri, 21 Oct 2011 11:00:59 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA8F8FC0A for ; Fri, 21 Oct 2011 11:00:57 +0000 (UTC) Received: from smadev.internal.net (localhost.internal.net [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id p9LB0ttX055457 for ; Fri, 21 Oct 2011 14:00:55 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id p9LB0tX9055456 for freebsd-java@freebsd.org; Fri, 21 Oct 2011 14:00:55 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Fri, 21 Oct 2011 14:00:55 +0300 User-Agent: KMail/1.9.7 References: <4E95E9A3.2090905@gmail.com> <201110190840.14730.achill@matrix.gatewaynet.com> <4EA13A57.3050204@gmail.com> In-Reply-To: <4EA13A57.3050204@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201110211400.55711.achill@matrix.gatewaynet.com> 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 11:00:59 -0000 =CE=A3=CF=84=CE=B9=CF=82 Friday 21 October 2011 12:24:39 =CE=BF/=CE=B7 Jan = jurak =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > On 10/19/2011 07:40 AM, Achilleas Mantzios wrote: > > =CE=A3=CF=84=CE=B9=CF=82 Monday 17 October 2011 11:28:30 =CE=BF/=CE=B7 = Jan jurak =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > >> Thank you for response/informations Ronald, > >> > >> Compiling with OpenJDK6 works, but maintaner of runing application do > >> not recommend this JDK. > > I don't know which jdk they do recommend, but i find it strange to pref= er OpenJDK7 over OpenJDK6 . > Maintainer recommend SUN JDK version 6 update 16 and higher. > Unfortunatelly native java from port java/JDK16 was refused by > application because outdated. I am testing right now OpenJDK7 and > java/linux-sun-jdk16. So in openjdk terms, that's equivalent to saying the pgsql guys recommend o= penjdk6. I have done myself many compilations of the pgsql jdbc driver without issue= s. That said, stay away from diablo, java/linux-sun-jdk16, native java/jdk16, = etc... Currently you would want to run everything with openjdk6. Java7 is a little too early, at least for my tastes. >=20 > > Did you bring this up in jdbc-postgresql? > No. Patch from Barbara http://www.freebsd.org/cgi/query-pr.cgi?pr=3D161040 > updated driver version from 8.1 to 9.3. I guess the issue with OpenJDK7 > was by postgreql-jdbc community already fixed. > _______________________________________________ > 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" >=20 =2D-=20 Achilleas Mantzios From owner-freebsd-java@FreeBSD.ORG Sat Oct 22 06:20:28 2011 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 A9F8A106566C for ; Sat, 22 Oct 2011 06:20:28 +0000 (UTC) (envelope-from aaron.rasmussen@me.com) Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by mx1.freebsd.org (Postfix) with ESMTP id 938D88FC14 for ; Sat, 22 Oct 2011 06:20:28 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed; delsp=yes Received: from anyhost.anywhere (c-67-185-68-152.hsd1.wa.comcast.net [67.185.68.152]) by asmtp025.mac.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LTG00C9AC599T60@asmtp025.mac.com> for java@freebsd.org; Fri, 21 Oct 2011 22:19:59 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-10-22_02:2011-10-21, 2011-10-22, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=48 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1110210407 To: java@freebsd.org Date: Fri, 21 Oct 2011 22:19:37 -0700 From: "Rasmussen Law Offices, PLLC" Message-id: User-Agent: Opera Mail/11.52 (FreeBSD) Cc: Subject: FreeBSD Port: java/openjdk6 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: Sat, 22 Oct 2011 06:20:28 -0000 It appears that the download for jtreg is broken somehow. When trying to install openjdk6, the install hangs on the following command: fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/jtreg-4.1-bin-b02_21_may_2010.zip and I get the error message that there is no file there. Trying to download it manually does not work either. Also, visiting the jtreg download site at the openjdk home page does not work either - I'm talking about the link on the following page: http://download.java.net/openjdk/jtreg/promoted/4.1/b02/index.html It gives a page not found error. Do you know where I can go to retrieve this file so I can install openjdk6? -- Using Opera's revolutionary email client: http://www.opera.com/mail/