problem with WTK

Pieter de Goeje pieter at degoeje.nl
Sun Nov 23 04:24:39 PST 2008


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 at 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


More information about the freebsd-java mailing list