Re: SableVM and sdljava on arm] (Solved)

"Bruno Campos" <[email protected]> Tue, 26 Apr 2005 16:08:26 -0000
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <024901c54a7a$3218aa70$2203a8c0@campos>
Hello,
With Jamvm you can run swing applications???
I have too an IPAQ 5500, please can you help me run java applications on it?
What are the steps? Thaks for your help.

Best Regards
----- Original Message ----- 
From: "Kim Fredenberg" <[email protected]>
To: <[email protected]>
Sent: Thursday, April 21, 2005 8:08 AM
Subject: [Fwd: SableVM and sdljava on arm] (Solved)


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> To answer my own question:
>
> I did a strace and noticed that I was missing libSDL, SableVM works great!
>
> Kim
>
> - -------- Original Message --------
> Subject: SableVM and sdljava on arm
> Date: Thu, 21 Apr 2005 10:39:09 +0300
> From: Kim Fredenberg <[email protected]>
> To: [email protected]
>
> Hello list!
>
> I started playing around with sablevm on an arm based board. I'm running
> the arm port of Debian unstable and I installed sablevm directly from
> there. Everything installed nicely and running java apps is no problem.
>
> I also found sdljava and thouhgt that I could produce some GUIs directly
> onto the framebuffer using this nice library (I've been doing some
> things with the native SDL as well). I compiled the native part and the
> java part in the same environment, all went well.
>
> So here comes my problem, SableVM does not seem to find the native
> library (libsdljava.so) even though I specify it as
> - -Djava.library.path="path/to/lib". I have tried with:
>
> # java-sablevm
> - -Dgnu.classpath.boot.library.path=/home/root/sdljava-0.9.1/lib/ -cp
> .:sdljava-0.9.1/src/ SDLTest
>
> # java-sablevm -Djava.library.path=/home/root/sdljava-0.9.1/lib/ -cp
> .:sdljava-0.9.1/src/ SDLTest
>
> All I get is:
>
> java.lang.UnsatisfiedLinkError: Native library `sdljava' not found (as
> file `libsdljava') in gnu.classpath.boot.library.path and 
> java.library.path
>
> So it seems that the java.library.path property isn't being respected.
>
> I also tested the properies by printing out
> System.getProperty("java.library.path") and this gives me:
>
> /home/root/sdljava-0.9.1/lib/:::/usr/lib
>
> which looks as it should, I guess.
>
> Does anyone have a clue what I might be doing wrong here?
>
> best regards,
>
> Kim
>
> PS.
>
> ls -l /home/root/sdljava-0.9.1/lib/
> total 612
> - -rw-r--r--  1 kfredenb users 280683 Feb 20 14:19 bsh.jar
> - -rw-r--r--  1 kfredenb users 149075 Feb 20 14:19 jdom.jar
> - -rwxr-xr-x  1 root     root  129608 Apr 20 19:24 libsdljava.so
> - -rwxr-xr-x  1 root     root    8718 Apr 20 19:35 libsdljava_image.so
> - -rwxr-xr-x  1 root     root   25669 Apr 20 19:24 libsdljava_mixer.so
> - -rwxr-xr-x  1 root     root   21766 Apr 20 19:29 libsdljava_ttf.so
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCZ19kFCNDdoFvKjQRAm2uAJwJiyH0OOlzawDlwgQ9CtTMNauiIgCdFH+b
> HaKjnV87k8OhplBGTvINo3M=
> =JAn9
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> SableVM-user mailing list
> [email protected]
> http://sablevm.org/lists/control/listinfo/sablevm-user
> 




DISCLAIMER: This message may contain confidential information or privileged material and is intended only for the individual(s) named. If you are not a named addressee and mistakenly received this message you should not copy or otherwise disseminate it: please delete this e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. Therefore, the sender does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmissions. Please request a hard copy version if verification is required. Critical Software.

_______________________________________________
SableVM-user mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-user