From owner-freebsd-java Sun Aug 26 17:21:20 2001 Delivered-To: freebsd-java@freebsd.org Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by hub.freebsd.org (Postfix) with ESMTP id D94B137B408 for ; Sun, 26 Aug 2001 17:21:15 -0700 (PDT) (envelope-from k.shudou@aist.go.jp) Received: from rpsmtp1.aist.go.jp by mx1.aist.go.jp with ESMTP id f7R0LEN23214 for ; Mon, 27 Aug 2001 09:21:14 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from mail01.aist.go.jp by rpsmtp1.aist.go.jp with ESMTP id f7R0LDN02218 for ; Mon, 27 Aug 2001 09:21:13 +0900 (JST) env-from (k.shudou@aist.go.jp) Received: from localhost by mail01.aist.go.jp with ESMTP id f7R0LDd02939 for ; Mon, 27 Aug 2001 09:21:13 +0900 (JST) env-from (k.shudou@aist.go.jp) To: java@FreeBSD.ORG Subject: Re: jdk1.3.1 awt exception, plugin, OpenJIT From: shudo@computer.org In-Reply-To: <55g0af0wkq.wl@tripper.private> References: <20010825130721.A20869@misty.eyesbeyond.com> <55g0af0wkq.wl@tripper.private> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010827092225G.shudoh@aist.go.jp> Date: Mon, 27 Aug 2001 09:22:25 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 28 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Fuyuhiko and Mikhail, > but now I > can reproduce the problem Mikhail met (java.awt.AWTException: cannot > open XIM), so I will try to fix it as soon as possible. I don't think the exception which says 'cannot open XIM' is not a problem. > It means that XOpenIM failed. For locales that Xlib locale-dependent > functions are capable, XOpenIM fails only when current locale needs > XIM server to input text in the language specified by current locale > *AND* the XIM server isn't available. This is the case can be happen > in Chinese/Japanese/Korean environment. The AWTException also appears on Linux. Both Sun and Blackdown JDK 1.3.1 show the exception in case that the environment variable 'XMODIFIERS' is set but XIM server is not running. On Linux, I set the XMODIFIERS as '@im=kinput2' but do not run the kinput2 input server. The exception appears when a Java program needs text input for the first time. I just ignore the exception and the program runs fine. The exception doesn't appear if I ran the input server or unset the XMODIFIERS. Kazuyuki Shudo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message