From owner-freebsd-java@FreeBSD.ORG Sun May 23 02:06:25 2010 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 2A20E1065670; Sun, 23 May 2010 02:06:25 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from daemon.sub.tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.freebsd.org (Postfix) with ESMTP id A40D28FC14; Sun, 23 May 2010 02:06:23 +0000 (UTC) Received: from localhost (tyd3.sub.tydfam.jp [192.168.1.3]) by daemon.sub.tydfam.jp (8.14.4/8.14.3) with ESMTP id o4N1pMHK089617; Sun, 23 May 2010 10:51:22 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Sun, 23 May 2010 10:51:22 +0900 (JST) Message-Id: <20100523.105122.1216395971091590064.ken@tydfam.jp> To: yerenkow@gmail.com From: ken In-Reply-To: References: X-Mailer: Mew version 6.3 on Emacs 23.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=4.4 required=9.5 tests=ALL_TRUSTED, DNS_FROM_OPENWHOIS, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on daemon.sub.tydfam.jp Cc: java@freebsd.org, eclipse@freebsd.org Subject: Re: Question about Eclipse 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: Sun, 23 May 2010 02:06:25 -0000 Dear Alexander, I am really expecting to see the latest eclipse on FreeBSD platform! Regards, Ken Yamada From owner-freebsd-java@FreeBSD.ORG Mon May 24 11:06:58 2010 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 3192F1065670 for ; Mon, 24 May 2010 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 219F98FC0C for ; Mon, 24 May 2010 11:06:58 +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 o4OB6wOi004429 for ; Mon, 24 May 2010 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4OB6vvP004427 for freebsd-java@FreeBSD.org; Mon, 24 May 2010 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 May 2010 11:06:57 GMT Message-Id: <201005241106.o4OB6vvP004427@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, 24 May 2010 11:06:58 -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 -------------------------------------------------------------------------------- f ports/142704 java [PATCH] java/jai-imageio: use $SUB_FILES to dynamicall o java/141919 java Serious remote vulnerability in the JRE 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 o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is 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/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 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/115773 java [request] java.nio channel selectors should use kqueue 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 o ports/113467 java Multiple "missing return value" errors building JDK on f java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in 30 problems total. From owner-freebsd-java@FreeBSD.ORG Tue May 25 09:14:19 2010 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 CDA13106564A for ; Tue, 25 May 2010 09:14:19 +0000 (UTC) (envelope-from michael.osipov@siemens.com) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.freebsd.org (Postfix) with ESMTP id 63FEA8FC26 for ; Tue, 25 May 2010 09:14:18 +0000 (UTC) Received: from mail2.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id o4P9EHEw023869 for ; Tue, 25 May 2010 11:14:17 +0200 Received: from DEMCHP99ET3MSX.ww902.siemens.net ([139.25.131.243]) by mail2.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id o4P9EHBW002015 for ; Tue, 25 May 2010 11:14:17 +0200 Received: from DEMCHP99E24MSX.ww902.siemens.net ([169.254.1.144]) by DEMCHP99ET3MSX.ww902.siemens.net ([139.25.131.243]) with mapi; Tue, 25 May 2010 11:14:16 +0200 From: "Osipov, Michael" To: "freebsd-java@freebsd.org" Date: Tue, 25 May 2010 11:14:15 +0200 Thread-Topic: Timezone behavior of Java Thread-Index: Acr76qXwY3TQrAbAR2OnYRrv+HGE9g== Message-ID: Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Timezone behavior of Java 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, 25 May 2010 09:14:19 -0000 SGkgZm9sa3MsDQoNCkkgY2FtZSByZWNlbnRseSBhY3Jvc3MgYSBwcm9ibGVtIHdpdGggdGhlIHRp bWV6b25lIHNldHRpbmdzIGluIG91ciBKZXR0eSBvbiBvdXIgbWFjaGluZS4NCg0KVGhpcyBpcyB0 aGUgb3VwdXQ6DQpvc2lwb3ZtaUBibG5uNzE5eDovLmFtZF9tbnQvYmxubjcyOHgvaG9tZS9vc2lw b3ZtaSQgZWNobyAkTEFORw0KZGVfREUuVVRGLTgNCm9zaXBvdm1pQGJsbm43MTl4Oi8uYW1kX21u dC9ibG5uNzI4eC9ob21lL29zaXBvdm1pJCBkYXRlDQpEaSAyNSBNYWkgMjAxMCAxMToxMDo0NiBD RVNUDQpvc2lwb3ZtaUBibG5uNzE5eDovLmFtZF9tbnQvYmxubjcyOHgvaG9tZS9vc2lwb3ZtaSQg ZWNobyAkVFoNCmJhc2g6IFRaIGlzdCBuaWNodCBnZXNldHp0Lg0Kb3NpcG92bWlAYmxubjcxOXg6 Ly5hbWRfbW50L2Jsbm43Mjh4L2hvbWUvb3NpcG92bWkkIGphdmFjIFNob3dUaW1lem9uZS5qYXZh DQpvc2lwb3ZtaUBibG5uNzE5eDovLmFtZF9tbnQvYmxubjcyOHgvaG9tZS9vc2lwb3ZtaSQgamF2 YSBTaG93VGltZXpvbmUNCnN1bi51dGlsLmNhbGVuZGFyLlpvbmVJbmZvW2lkPSJHTVQiLG9mZnNl dD0wLGRzdFNhdmluZ3M9MCx1c2VEYXlsaWdodD1mYWxzZSx0cmFuc2l0aW9ucz0wLGxhc3RSdWxl PW51bGxdDQpvc2lwb3ZtaUBibG5uNzE5eDovLmFtZF9tbnQvYmxubjcyOHgvaG9tZS9vc2lwb3Zt aSQgZXhwb3J0IFRaPSJFdXJvcGUvQmVybGluIg0Kb3NpcG92bWlAYmxubjcxOXg6Ly5hbWRfbW50 L2Jsbm43Mjh4L2hvbWUvb3NpcG92bWkkIGRhdGUNCkRpIDI1IE1haSAyMDEwIDExOjExOjI1IENF U1QNCm9zaXBvdm1pQGJsbm43MTl4Oi8uYW1kX21udC9ibG5uNzI4eC9ob21lL29zaXBvdm1pJCBq YXZhIFNob3dUaW1lem9uZQ0Kc3VuLnV0aWwuY2FsZW5kYXIuWm9uZUluZm9baWQ9IkV1cm9wZS9C ZXJsaW4iLG9mZnNldD0zNjAwMDAwLGRzdFNhdmluZ3M9MzYwMDAwMCx1c2VEYXlsaWdodD10cnVl LHRyYW5zaXRpb25zPTE0MyxsYXN0UnVsZT1qYXZhLnV0aWwuU2ltcGxlVGltZVpvbmVbaWQ9RXVy b3BlL0JlcmxpbixvZmZzZXQ9MzYwMDAwMCxkc3RTYXZpbmdzPTM2MDAwMDAsdXNlRGF5bGlnaHQ9 dHJ1ZSxzdGFydFllYXI9MCxzdGFydE1vZGU9MixzdGFydE1vbnRoPTIsc3RhcnREYXk9LTEsc3Rh cnREYXlPZldlZWs9MSxzdGFydFRpbWU9MzYwMDAwMCxzdGFydFRpbWVNb2RlPTIsZW5kTW9kZT0y LGVuZE1vbnRoPTksZW5kRGF5PS0xLGVuZERheU9mV2Vlaz0xLGVuZFRpbWU9MzYwMDAwMCxlbmRU aW1lTW9kZT0yXV0NCm9zaXBvdm1pQGJsbm43MTl4Oi8uYW1kX21udC9ibG5uNzI4eC9ob21lL29z aXBvdm1pJA0KDQpKYXZhIHNvdXJjZTogU3lzdGVtLm91dC5wcmludGxuKFRpbWVab25lLmdldERl ZmF1bHQoKSk7DQoNCkhvdyBjYW4gdGhpcyBiZSBleHBsYWluZWQ/IERvIEkgaGF2ZSB0byBzZXQg dGhlIFRaIHZhcmlhYmxlIGdsb2JhbGx5PyBJIGFzc3VtZWQgZnJvbSBkYXRlJ3MgYmVoYXZpb3Ig dGhhdCAvZXRjL2xvY2FsdGltZSB3aWxsIHN1ZmZpY2UuDQoNClRoYW5rcw0KLS0gDQpNaXQgZnJl dW5kbGljaGVtIEdydcOfIC8gQmVzdCByZWdhcmRzDQoNCk1pY2hhZWwgT3NpcG92DQoNClNpZW1l bnMgQUcNClNlY3RvciBJbmR1c3RyeSwgSSBEVCBJVCBMRCBCbG4gKFdlcmtzdHVkZW50KQ0KbWFp bHRvOm1pY2hhZWwub3NpcG92QHNpZW1lbnMuY29t From owner-freebsd-java@FreeBSD.ORG Tue May 25 19:02:06 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (unknown [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 23E0F1065676; Tue, 25 May 2010 19:02:04 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@freebsd.org Date: Tue, 25 May 2010 15:01:52 -0400 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005251501.55560.jkim@FreeBSD.org> Cc: "Osipov, Michael" Subject: Re: Timezone behavior of Java 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, 25 May 2010 19:02:06 -0000 On Tuesday 25 May 2010 05:14 am, Osipov, Michael wrote: > Hi folks, > > I came recently across a problem with the timezone settings in our > Jetty on our machine. > > This is the ouput: > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ echo $LANG > de_DE.UTF-8 > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ date > Di 25 Mai 2010 11:10:46 CEST > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ echo $TZ > bash: TZ ist nicht gesetzt. > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ javac > ShowTimezone.java > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ java > ShowTimezone > sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylig >ht=false,transitions=0,lastRule=null] > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ export > TZ="Europe/Berlin" > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ date > Di 25 Mai 2010 11:11:25 CEST > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ java > ShowTimezone > sun.util.calendar.ZoneInfo[id="Europe/Berlin",offset=3600000,dstSav >ings=3600000,useDaylight=true,transitions=143,lastRule=java.util.Sim >pleTimeZone[id=Europe/Berlin,offset=3600000,dstSavings=3600000,useDa >ylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDa >yOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,end >Day=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]] > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ > > Java source: System.out.println(TimeZone.getDefault()); > > How can this be explained? Do I have to set the TZ variable > globally? I assumed from date's behavior that /etc/localtime will > suffice. Works fine with OpenJDK6 b19: hammer# cat TimeTest.java import java.util.Date; import java.util.TimeZone; public class TimeTest { public static void main(String args[]) { long time = System.currentTimeMillis(); String millis = Long.toString(time); Date date = new Date(time); System.out.println("Current time in milliseconds = " + millis + " => " + date.toString()); System.out.println("Current time zone: " + TimeZone.getDefault().getID()); } } hammer# javac -version javac 1.6.0 hammer# java -version openjdk version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b19) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode) hammer# javac TimeTest.java hammer# cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime hammer# date Wed May 26 03:50:39 KST 2010 hammer# echo $TZ TZ: Undefined variable. hammer# java TimeTest Current time in milliseconds = 1274813492978 => Wed May 26 03:51:32 KST 2010 Current time zone: Asia/Seoul hammer# cp /usr/share/zoneinfo/America/New_York /etc/localtime hammer# date Tue May 25 14:53:10 EDT 2010 hammer# java TimeTest Current time in milliseconds = 1274813598908 => Tue May 25 14:53:18 EDT 2010 Current time zone: America/New_York hammer# setenv TZ Asia/Seoul hammer# echo $TZ Asia/Seoul hammer# java TimeTest Current time in milliseconds = 1274813844489 => Wed May 26 03:57:24 KST 2010 Current time zone: Asia/Seoul hammer# unsetenv TZ hammer# echo $TZ TZ: Undefined variable. hammer# java TimeTest Current time in milliseconds = 1274813869066 => Tue May 25 14:57:49 EDT 2010 Current time zone: America/New_York This code example was taken from: http://www.minaret.biz/tips/timezone.html Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Wed May 26 10:10:06 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 824A0106567D for ; Wed, 26 May 2010 10:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 479068FC16 for ; Wed, 26 May 2010 10:10: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 o4QAA6KQ011580 for ; Wed, 26 May 2010 10:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4QAA6sJ011579; Wed, 26 May 2010 10:10:06 GMT (envelope-from gnats) Resent-Date: Wed, 26 May 2010 10:10:06 GMT Resent-Message-Id: <201005261010.o4QAA6sJ011579@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, wauhchdc Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67BC31065673 for ; Wed, 26 May 2010 10:07:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9128FC16 for ; Wed, 26 May 2010 10:07:07 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4QA77J3090727 for ; Wed, 26 May 2010 10:07:07 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o4QA77WM090726; Wed, 26 May 2010 10:07:07 GMT (envelope-from nobody) Message-Id: <201005261007.o4QA77WM090726@www.freebsd.org> Date: Wed, 26 May 2010 10:07:07 GMT From: wauhchdc To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/147072: wauhchdc 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, 26 May 2010 10:10:06 -0000 >Number: 147072 >Category: java >Synopsis: wauhchdc >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed May 26 10:10:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: wauhchdc >Release: wauhchdc >Organization: wauhchdc >Environment: wauhchdc >Description: uglapily http://mnuepyjz.com wtttrxcz eygthinx >How-To-Repeat: wauhchdc >Fix: wauhchdc >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Wed May 26 14:22:09 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB1341065703; Wed, 26 May 2010 14:22:09 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 99BF68FC22; Wed, 26 May 2010 14:22:05 +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 o4QEM5hC037748; Wed, 26 May 2010 14:22:05 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4QEM544037744; Wed, 26 May 2010 14:22:05 GMT (envelope-from linimon) Date: Wed, 26 May 2010 14:22:05 GMT Message-Id: <201005261422.o4QEM544037744@freefall.freebsd.org> To: cvaqrpso@gvwkwwwt.com, linimon@FreeBSD.org, freebsd-java@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: junk/147072: wauhchdc 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, 26 May 2010 14:22:09 -0000 Synopsis: wauhchdc State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Wed May 26 14:21:52 UTC 2010 State-Changed-Why: spam run. http://www.freebsd.org/cgi/query-pr.cgi?pr=147072 From owner-freebsd-java@FreeBSD.ORG Thu May 27 12:21:24 2010 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 BEF431065672 for ; Thu, 27 May 2010 12:21:24 +0000 (UTC) (envelope-from michael.osipov@siemens.com) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by mx1.freebsd.org (Postfix) with ESMTP id 52DD38FC16 for ; Thu, 27 May 2010 12:21:23 +0000 (UTC) Received: from mail1.siemens.de (localhost [127.0.0.1]) by david.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id o4RBewKr025046 for ; Thu, 27 May 2010 13:40:58 +0200 Received: from DEMCHP99ET2MSX.ww902.siemens.net ([139.25.131.241]) by mail1.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id o4RBewEk019373 for ; Thu, 27 May 2010 13:40:58 +0200 Received: from DEMCHP99E24MSX.ww902.siemens.net ([169.254.1.144]) by DEMCHP99ET2MSX.ww902.siemens.net ([139.25.131.241]) with mapi; Thu, 27 May 2010 13:40:58 +0200 From: "Osipov, Michael" To: "freebsd-java@freebsd.org" Date: Thu, 27 May 2010 13:40:56 +0200 Thread-Topic: Timezone behavior of Java Thread-Index: Acr8PMWX8PIzF/JqQVGO1poLppYy2ABVKbJw Message-ID: References: <201005251501.55560.jkim@FreeBSD.org> In-Reply-To: <201005251501.55560.jkim@FreeBSD.org> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: Timezone behavior of Java 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, 27 May 2010 12:21:24 -0000 Jung-uk Kim wrote: > On Tuesday 25 May 2010 05:14 am, Osipov, Michael wrote: >> Hi folks, >>[...] >=20 > Works fine with OpenJDK6 b19: >=20 > [...] Kim, I tried the example from the supplied link. It fails: osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ echo $TZ bash: TZ ist nicht gesetzt. osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ date Do 27 Mai 2010 12:21:59 CEST osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ javac TimeTest.java osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ java TimeTest Current time in milliseconds =3D 1274955728014 =3D> Thu May 27 10:22:08 GMT= 2010 Current time zone: GMT osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ export TZ=3D"Europe/Ber= lin" osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ date Do 27 Mai 2010 12:22:26 CEST osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ java TimeTest Current time in milliseconds =3D 1274955749029 =3D> Thu May 27 12:22:29 CES= T 2010 Current time zone: Europe/Berlin osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ export TZ=3D"Europe/Mos= cow" osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ date Do 27 Mai 2010 14:22:44 MSD osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ java TimeTest Current time in milliseconds =3D 1274955769236 =3D> Thu May 27 14:22:49 MSD= 2010 Current time zone: Europe/Moscow osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ unset TZ osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ date Do 27 Mai 2010 12:23:24 CEST osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ echo $TZ bash: TZ ist nicht gesetzt. osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ java TimeTest Current time in milliseconds =3D 1274955817132 =3D> Thu May 27 10:23:37 GMT= 2010 Current time zone: GMT osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ java -version java version "1.6.0_07" Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode) osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ I am on Diablo. Is seems like a bug to me actually. Thanks, Mike From owner-freebsd-java@FreeBSD.ORG Thu May 27 13:00:16 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1032D1065673 for ; Thu, 27 May 2010 13:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E0E488FC12 for ; Thu, 27 May 2010 13:00:15 +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 o4RD0FAX043988 for ; Thu, 27 May 2010 13:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4RD0FR9043987; Thu, 27 May 2010 13:00:15 GMT (envelope-from gnats) Resent-Date: Thu, 27 May 2010 13:00:15 GMT Resent-Message-Id: <201005271300.o4RD0FR9043987@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Dr. Andreas Haakh" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5E1D106566B for ; Thu, 27 May 2010 12:53:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7A7FE8FC19 for ; Thu, 27 May 2010 12:53:14 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4RCrDxO057252 for ; Thu, 27 May 2010 12:53:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o4RCrDa2057251; Thu, 27 May 2010 12:53:13 GMT (envelope-from nobody) Message-Id: <201005271253.o4RCrDa2057251@www.freebsd.org> Date: Thu, 27 May 2010 12:53:13 GMT From: "Dr. Andreas Haakh" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/147129: Printing to cups-network-printer fails with null-pointer-exception 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, 27 May 2010 13:00:16 -0000 >Number: 147129 >Category: java >Synopsis: Printing to cups-network-printer fails with null-pointer-exception >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 27 13:00:15 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dr. Andreas Haakh >Release: 8.0-STABLE >Organization: Ingenieurbüro Haakh >Environment: FreeBSD Crabberio.Haakh.de 8.0-STABLE FreeBSD 8.0-STABLE #46: Thu Apr 22 12:44:27 CEST 2010 root@Crabberio.Haakh.de:/usr/obj/usr/src/sys/CRABBERIO amd64 >Description: Trying to print to causes: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: null attribute at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147) at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121) at sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263) at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437) at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195) at sun.print.ServiceDialog.(ServiceDialog.java:124) at javax.print.ServiceUI.printDialog(ServiceUI.java:188) at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855) at com.haakh.stwWV.StwGuiWV.jMenuItemPrintActionPerformed(StwGuiWV.java:438) StwGuiWV.java contains: 434 try { 435 pj.setPrintService(services[0]); 436 pj.setJobName("Druckausgabe"); 437 pj.setPrintable(printable); 438 if (pj.printDialog(aset)==false) { 439 return; 440 } 441 pj.print(aset); 442 } catch (java.awt.print.PrinterException pe) { ... } javax.print.PrintService[] services contains two valid network-printers: hp laserjet 2200d Lexmark c543dn It seems that in PrintServise, the orientation of the pages are undefined. Neither explicit nor implicit. Ports related are: /var/db/pkg/jdk-1.6.0.3p4_15/ /var/db/pkg/cups-base-1.4.3 /var/db/pkg/cups-client-1.4.3 /var/db/pkg/cups-image-1.4.3 /var/db/pkg/cups-pstoraster-8.15.4_6 >How-To-Repeat: Set up an cups printing-environment containing only network-printers. Try to print to them (see code above). >Fix: Define page-orientation in pps-Fils or teach cups or java-vm to provide a default. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Thu May 27 15:34:20 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (unknown [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 01D7B1065675; Thu, 27 May 2010 15:34:19 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@freebsd.org Date: Thu, 27 May 2010 11:34:06 -0400 User-Agent: KMail/1.6.2 References: <201005251501.55560.jkim@FreeBSD.org> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005271134.09889.jkim@FreeBSD.org> Cc: "Osipov, Michael" Subject: Re: Timezone behavior of Java 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, 27 May 2010 15:34:20 -0000 On Thursday 27 May 2010 07:40 am, Osipov, Michael wrote: > Jung-uk Kim wrote: > > On Tuesday 25 May 2010 05:14 am, Osipov, Michael wrote: > >> Hi folks, > >>[...] > > > > Works fine with OpenJDK6 b19: > > > > [...] > > Kim, > > I tried the example from the supplied link. It fails: --- >8 --- SNIP!!! --- >8 --- > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ java -version > java version "1.6.0_07" > Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) > Diablo Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode) > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ > > I am on Diablo. > > Is seems like a bug to me actually. Works with Diablo as well: hammer# setenv JAVA_HOME /usr/local/diablo-jdk1.6.0 hammer# java -version java version "1.6.0_07" Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode) hammer# echo $TZ TZ: Undefined variable. hammer# javac TimeTest.java hammer# java TimeTest hammer# cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime hammer# date Thu May 27 17:26:54 CEST 2010 Current time in milliseconds = 1274974109405 => Thu May 27 17:28:29 CEST 2010 Current time zone: Europe/Berlin hammer# cp /usr/share/zoneinfo/America/New_York /etc/localtime hammer# java TimeTest Current time in milliseconds = 1274974222377 => Thu May 27 11:30:22 EDT 2010 Current time zone: America/New_York hammer# setenv TZ Europe/Berlin hammer# java TimeTest Current time in milliseconds = 1274974302535 => Thu May 27 17:31:42 CEST 2010 Current time zone: Europe/Berlin hammer# unsetenv TZ hammer# echo $TZ TZ: Undefined variable. hammer# java TimeTest Current time in milliseconds = 1274974350446 => Thu May 27 11:32:30 EDT 2010 Current time zone: America/New_York Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Thu May 27 15:38:31 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (unknown [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 182A2106564A; Thu, 27 May 2010 15:38:31 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-java@freebsd.org Date: Thu, 27 May 2010 11:38:06 -0400 User-Agent: KMail/1.6.2 References: <201005271134.09889.jkim@FreeBSD.org> In-Reply-To: <201005271134.09889.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005271138.23783.jkim@FreeBSD.org> Cc: "Osipov, Michael" Subject: Re: Timezone behavior of Java 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, 27 May 2010 15:38:32 -0000 On Thursday 27 May 2010 11:34 am, Jung-uk Kim wrote: > On Thursday 27 May 2010 07:40 am, Osipov, Michael wrote: > > Jung-uk Kim wrote: > > > On Tuesday 25 May 2010 05:14 am, Osipov, Michael wrote: > > >> Hi folks, > > >>[...] > > > > > > Works fine with OpenJDK6 b19: > > > > > > [...] > > > > Kim, > > > > I tried the example from the supplied link. It fails: > > --- >8 --- SNIP!!! --- >8 --- > > > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ java -version > > java version "1.6.0_07" > > Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) > > Diablo Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode) > > osipovmi@blnn719x:/.amd_mnt/blnn728x/home/osipovmi$ > > > > I am on Diablo. > > > > Is seems like a bug to me actually. > > Works with Diablo as well: > > hammer# setenv JAVA_HOME /usr/local/diablo-jdk1.6.0 > hammer# java -version > java version "1.6.0_07" > Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) > Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed > mode) hammer# echo $TZ > TZ: Undefined variable. > hammer# javac TimeTest.java > hammer# java TimeTest Sorry, copy-pasto. This line was moved few lines up to here by my evil mouse. :-( Jung-uk Kim > hammer# cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime > hammer# date > Thu May 27 17:26:54 CEST 2010 > Current time in milliseconds = 1274974109405 => Thu May 27 17:28:29 > CEST 2010 Current time zone: Europe/Berlin > hammer# cp /usr/share/zoneinfo/America/New_York /etc/localtime > hammer# java TimeTest > Current time in milliseconds = 1274974222377 => Thu May 27 11:30:22 > EDT 2010 Current time zone: America/New_York > hammer# setenv TZ Europe/Berlin > hammer# java TimeTest > Current time in milliseconds = 1274974302535 => Thu May 27 17:31:42 > CEST 2010 Current time zone: Europe/Berlin > hammer# unsetenv TZ > hammer# echo $TZ > TZ: Undefined variable. > hammer# java TimeTest > Current time in milliseconds = 1274974350446 => Thu May 27 11:32:30 > EDT 2010 Current time zone: America/New_York > > Jung-uk Kim From owner-freebsd-java@FreeBSD.ORG Thu May 27 18:07:24 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E650E1065675; Thu, 27 May 2010 18:07:24 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BDFA18FC1A; Thu, 27 May 2010 18:07:24 +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 o4RI7O7q009146; Thu, 27 May 2010 18:07:24 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4RI7OrA009142; Thu, 27 May 2010 18:07:24 GMT (envelope-from linimon) Date: Thu, 27 May 2010 18:07:24 GMT Message-Id: <201005271807.o4RI7OrA009142@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-java@FreeBSD.org, dinoex@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/147129: print/cups-base: Printing to cups-network-printer fails with null-pointer-exception 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, 27 May 2010 18:07:25 -0000 Old Synopsis: Printing to cups-network-printer fails with null-pointer-exception New Synopsis: print/cups-base: Printing to cups-network-printer fails with null-pointer-exception Responsible-Changed-From-To: freebsd-java->dinoex Responsible-Changed-By: linimon Responsible-Changed-When: Thu May 27 18:05:39 UTC 2010 Responsible-Changed-Why: reclassify. (This is my best guess.) http://www.freebsd.org/cgi/query-pr.cgi?pr=147129 From owner-freebsd-java@FreeBSD.ORG Fri May 28 14:00:18 2010 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 17C1A1065672 for ; Fri, 28 May 2010 14:00:18 +0000 (UTC) (envelope-from prvs=757fb544d=mmp@actinet.cz) Received: from lanternfish.actinet.cz (lanternfish.actinet.cz [194.228.107.244]) by mx1.freebsd.org (Postfix) with ESMTP id 9954B8FC13 for ; Fri, 28 May 2010 14:00:17 +0000 (UTC) DomainKey-Signature: s=praha; d=actinet.cz; c=nofws; q=dns; h=X-IronPort-AV:Received:Received:Message-ID:From:To: Subject:Date:MIME-Version:Content-Type: Content-Transfer-Encoding:X-Priority:X-MSMail-Priority: X-Mailer:X-MimeOLE; b=btUVHa7fcZW46a9qywJZ+Ysinvw208CvpoOaCm83Z/8JBl+qo887JfOG W/H4ZPBE4Vrt3Qrd1wGgJzPLW1eMKh49/VH5GBgW7y3oNJC/sCYn5i7DE N64Bwf6q/wGcOIhzgiQ24NW0/E0gFnrh7fMwWpwB/7uLyfLbMxXA6mnyB g=; X-IronPort-AV: E=Sophos;i="4.53,318,1272837600"; d="scan'208";a="1410803" Received: from dolphin.actinet.cz ([194.228.107.130]) by lanternfish.actinet.cz with ESMTP; 28 May 2010 15:39:39 +0200 Received: from mpdomain (unknown [192.168.3.254]) by dolphin.actinet.cz (Postfix) with ESMTP id 0EC037CA0D for ; Fri, 28 May 2010 15:39:12 +0200 (CEST) Message-ID: From: =?iso-8859-2?B?TWlsb/IgUGFwZb7taw==?= To: Date: Fri, 28 May 2010 15:39:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197 Subject: javavmwrapper - JVM order question 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, 28 May 2010 14:00:18 -0000 Hi, I have problem/question regarding the order of JVMs determined by javavmwrapper when no JAVA* environment variables are set. When I do not have installed ports, the javavmwrapper determines the JVM according to /usr/local/etc/javavms. However when the ports are installed, the order is determined according to /usr/ports/Mk/bsd.java.mk. The problem is that each scenario gives different result. I would expect the javavmwrapper to be consistent - to use always /usr/local/etc/javavms and use bsd.java.mk as fallback when /usr/local/etc/javavms is not available. Should we change/fix javavmwrapper? What do you think? Thank you in advance, Milon -- mmp@actinet.cz From owner-freebsd-java@FreeBSD.ORG Fri May 28 14:42:11 2010 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 78C161065676 for ; Fri, 28 May 2010 14:42:11 +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 92FF08FC1A for ; Fri, 28 May 2010 14:42:09 +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 o4SEg7Rl064487 for ; Fri, 28 May 2010 17:42:07 +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 o4SEg7H7064486 for freebsd-java@freebsd.org; Fri, 28 May 2010 17:42:07 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Fri, 28 May 2010 17:42:07 +0300 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201005281742.07172.achill@matrix.gatewaynet.com> Subject: Re: javavmwrapper - JVM order question 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, 28 May 2010 14:42:11 -0000 i would say, just call directly your java executable. i agree at first glance the javavmwrapper - bsd.java.mk combination is a me= ss, yielding funny results. =CE=A3=CF=84=CE=B9=CF=82 Friday 28 May 2010 16:39:32 =CE=BF/=CE=B7 Milo=C5= =88 Pape=C5=BE=C3=ADk =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Hi, >=20 > I have problem/question regarding the order of JVMs determined by=20 > javavmwrapper > when no JAVA* environment variables are set. >=20 > When I do not have installed ports, the javavmwrapper determines the JVM= =20 > according to /usr/local/etc/javavms. > However when the ports are installed, the order is determined according t= o=20 > /usr/ports/Mk/bsd.java.mk. >=20 > The problem is that each scenario gives different result. >=20 > I would expect the javavmwrapper to be consistent - to use always=20 > /usr/local/etc/javavms > and use bsd.java.mk as fallback when /usr/local/etc/javavms is not=20 > available. >=20 > Should we change/fix javavmwrapper? > What do you think? >=20 > Thank you in advance, > Milon =2D-=20 Achilleas Mantzios