From owner-freebsd-java@FreeBSD.ORG Sun Nov 23 12:24:38 2008 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 EFD501065673 for ; Sun, 23 Nov 2008 12:24:38 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx1.utsp.utwente.nl [130.89.2.12]) by mx1.freebsd.org (Postfix) with ESMTP id 721128FC13 for ; Sun, 23 Nov 2008 12:24:38 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id mANCD9ij010308; Sun, 23 Nov 2008 13:13:10 +0100 From: Pieter de Goeje To: freebsd-java@freebsd.org Date: Sun, 23 Nov 2008 13:13:09 +0100 User-Agent: KMail/1.9.10 References: <4928ADF2.9080609@gmail.com> In-Reply-To: <4928ADF2.9080609@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811231313.09587.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Anton Stekanov Subject: Re: problem with WTK 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 Nov 2008 12:24:39 -0000 On Sunday 23 November 2008, Anton Stekanov wrote: > When I run some wtk project(Demos for example) in ktoolbar, I get > following output on its console: > (full log is placed in attachment) > > Project "Demos" loaded > Running with storage root DefaultColorPhone > Warning: Failed to initialize WMA message routing support > Warning: Failed to initialize Bluetooth (JSR 82) support > TRY(1): env: 0xbfbfe290, throwable: 0x2844fa08, tmpRootsCount: 0 > TRY(2): env: 0xbfbfdee0, throwable: 0x0, tmpRootsCount: 2 > CATCH(2): env: 0xbfbfdee0, throwable: 0x0, tmpRootsCount: 2 > TRY(2): env: 0xbfbfdf10, throwable: 0x28758868, tmpRootsCount: 0 > CATCH(2): env: 0xbfbfdf10, throwable: 0x28758868, tmpRootsCount: 0 > TRY(2): env: 0xbfbfdf10, throwable: 0x89039, tmpRootsCount: 0 > TRY(3): env: 0xbfbfdd50, throwable: 0x0, tmpRootsCount: 1 > CATCH(3): env: 0xbfbfdd50, throwable: 0x0, tmpRootsCount: 1 > TRY(3): env: 0xbfbfdcb0, throwable: 0x283bd4d0, tmpRootsCount: 2 > THROW(3): env: 0xbfbfdcb0, throwable: 0x283bd4d0, tmpRootsCount: 2 > CATCH(3): env: 0xbfbfdcb0, throwable: 0x28757f4c, tmpRootsCount: 2 > THROW(2): env: 0xbfbfdf10, throwable: 0x89039, tmpRootsCount: 0 > CATCH(2): env: 0xbfbfdf10, throwable: 0x28757f4c, tmpRootsCount: 0 > Exception: java/lang/ClassNotFoundException > TRY(2): env: 0xbfbfdf10, throwable: 0x28757f4c, tmpRootsCount: 0 > TRY(3): env: 0xbfbfdd50, throwable: 0x284ae9b0, tmpRootsCount: 1 > CATCH(3): env: 0xbfbfdd50, throwable: 0x284ae9b0, tmpRootsCount: 1 > TRY(3): env: 0xbfbfdd50, throwable: 0x284b3a14, tmpRootsCount: 1 > CATCH(3): env: 0xbfbfdd50, throwable: 0x284b3a14, tmpRootsCount: 1 > TRY(3): env: 0xbfbfdd50, throwable: 0x0, tmpRootsCount: 1 > CATCH(3): env: 0xbfbfdd50, throwable: 0x0, tmpRootsCount: 1 > TRY(3): env: 0xbfbfdd50, throwable: 0x0, tmpRootsCount: 1 > ... > > > The Demos application nevertheless work. > > I can't understand what it mean( > How I can get more intelligible description of this errors? > Is try/catch lines conserned with "Failed to initialize WMA/Bluetooth" > errors? > > I use sun-wtk-2.2_3. > > $ java -version > java version "1.6.0_03-p4" > Java(TM) SE Runtime Environment (build > 1.6.0_03-p4-anton0xf_16_nov_2008_20_07-b00) > Java HotSpot(TM) Client VM (build > 1.6.0_03-p4-anton0xf_16_nov_2008_20_07-b00, mixed mode) > > $ uname -a > FreeBSD 174.206-224-87.telenet.ru 7.0-RELEASE FreeBSD 7.0-RELEASE #0: > Sun Feb 24 19:59:52 UTC 2008 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > Thank you in advance. > > P.S. Sorry for my English.. The WTK port is seriously outdated. As far as I know, there is no native FreeBSD WTK, so you can't run WTK on top of the native JDK. I run WTK 2.5.2 (not from ports) on linux-sun-jdk-1.6.0.10, which works great. -- Pieter de Goeje