Sun WTK 2.2: Can you help me?

Norberto Meijome freebsd at meijome.net
Tue Jun 19 13:48:29 UTC 2007


[adding freebsd-java to the list ]
On Tue, 19 Jun 2007 15:50:05 +0400
iZEN <izen at mail.ru> wrote:

> Hello!
> Can you help me?

Hi :)
It is usually considered polite to send the email to the mailing list than
privately, unless the issue at hand requires the privacy.

There are a many very knowledgable people in the list - emailing privately
bypasses their eyes and minds being cast upon your problem ;)

> 
> System:
>  FreeBSD 6.2-STABLE #0: Fri Jun  1 18:38:02 MSD 2007
> 
> Java version:
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01)
> Java HotSpot(TM) Client VM (build diablo-1.5.0_07-b01, mixed mode)
> 
> Sun WTK:
> Version 2.2 (25.10.2004 22:21)
> Java vendor: Sun Microsystems Inc.
> Java version: 1.5.0
> Operating system: FreeBSD
> Operating system version: 6.2-STABLE
> Architecture: i386
> Language: ru
> Installation directory: /usr/local/sun-wtk/
> 
> I do:
> 1) I run KToolbar;
> 2) I open the project "UIDemo" (demonstration project Sun WTK: 
> /usr/local/sun-wtk/apps/UIDemo/) and run it;
> 3) The consoles get:
> Running with storage root DefaultColorPhone
> Couldn't load /usr/local/sun-wtk/bin/libzayit.so library: 
> /usr/local/lib/libXpm.so.4: ELF file OS ABI invalid

I have not used the sun-wtk before...but the 'ELF... OS ABI invalid' seems to
imply that you have a binary for another OS  - linux I would guess?

- try to get a freebsd binary of the sun-wtk (sun's site? ports? )

- install instead the linux java VM , as well as linux compatibility and try
that way. this *should* make it work. the one I use for linux-firefox is
linux-blackdown-jdk-1.4.2 , which you can find in the ports.


good luck,
B


> java.lang.NullPointerException
>     at com.sun.kvem.midp.MIDP.run(Unknown Source)
>     at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown 
> Source)
>     at 
> com.sun.kvem.environment.EmulatorInvoker.runEmulatorSameVM(Unknown Source)
>     at com.sun.kvem.environment.EmulatorInvoker.runEmulator(Unknown Source)
>     at 
> com.sun.kvem.environment.ProfileEnvironment$KVMThread.runEmulator(Unknown 
> Source)
>     at com.sun.kvem.environment.ProfileEnvironment$KVMThread.run(Unknown 
> Source)
> 
> 
> Why? What can be done?
> I hope to answer.
> 
> Thank you.
> 
> Igor
> 
> 


_________________________
{Beto|Norberto|Numard} Meijome

"He has Van Gogh's ear for music."
  Billy Wilder

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.


More information about the freebsd-java mailing list