From owner-freebsd-java@FreeBSD.ORG Tue Jun 19 13:48:29 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B3E716A41F for ; Tue, 19 Jun 2007 13:48:29 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 4BAAB13C46C for ; Tue, 19 Jun 2007 13:48:29 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 30099 invoked from network); 19 Jun 2007 08:48:28 -0500 Received: from 210-84-48-213.dyn.iinet.net.au (HELO localhost) (210.84.48.213) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 19 Jun 2007 08:48:28 -0500 Date: Tue, 19 Jun 2007 23:48:24 +1000 From: Norberto Meijome To: iZEN Message-ID: <20070619234824.12086a7c@localhost> In-Reply-To: <4677C2ED.9010706@mail.ru> References: <4677C2ED.9010706@mail.ru> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Java ML Subject: Re: Sun WTK 2.2: Can you help me? 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, 19 Jun 2007 13:48:29 -0000 [adding freebsd-java to the list ] On Tue, 19 Jun 2007 15:50:05 +0400 iZEN 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.