Raspberry Pi

Hi Everyone,

lately I’m playing around with the raspberry pi. Because the normal Swing UI is very slow on the device I thought: isn’t it possible to use jME on it?
Are there any natives for the PI yet? Or are the Android natives compatible?

Has anyone ever done that before?

I know a few of the JOGL-people have ran jME on the Pi.

Example:
http://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4028287.html

As for using the default renderer I don’t know.

Hi all,
I think I may have a script for you

https://docs.google.com/document/d/19zyqqYSed4TDmXaY7YSeVOTA44QRfAIWhOlxS_djtI0/edit?usp=sharing

use the above link and the usual methods of copy/past into a new “.sh” file on your Pi’s sdcard

/sdcard/scripts/JDK_ARM_InstallScript_withApps.sh

and then download Java’s JDK for ARM, soft float editon, version 7u21 from the following link. You’ll have to click the “bubble” for accepting Java’s Licencing agreement and be dubbley sure that you are downloading the one that is called “Linux ARM v6/v7 Soft Float ABI 65.12 MB jdk-21-linux-arm-sfp.tar.gz” and download it to “/sdcard/download/<what ever it calls itself when it downloads>”

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

and then run in a terminal window that you’ve opened on the GUI side of the Pi with the following command (use a PC or one of the many methods to open a “window” into Linux running on your Pi)

sh /sdcard/scripts/JDK_ARM_InstallScript_withApps.sh

the script will prompt you to download jMonkey (and you can download another app called Maptools which I’ve also “ported” to run on Pi’s and Android)
just hit “yes” or “y” and enter to accept
hit “no” or “n” and enter to abort at any prompt (usually I’ll abort the script “unpacker” right after it’s done makeing all the folders and unpacking of script componits and then run them one at a time or edit the componits and the run them all with Script_Runner)
run any of the individual components by adding their name to the following command path

sh $HOME/Java7ARM/<input name here>

Furthermore, if you have an Android device (phone, tablet, or phablet) that is “rooted” (–or you don’t mind rooting one for this and other fun dev projects–) you can use the same script that I wrote on Linux duel-booted on top of Android’s OS after fallowing section 1 of the guide I wrote for that purpose; link just bellow.

http://forum.xda-developers.com/showpost.php?p=40434455&amp;postcount=2 

and if you want to see the full guide that I’m writing on Google Docs for the set up of a ~Mobile Development Platform~ spicificly for jMonkey development on ARM processors then use the following link

https://docs.google.com/document/d/1_NnPRuqTElR_BDoSvrd6evIfxL7suwYmihhlA2EW7v4/edit?usp=sharing

I’ve worked many hours to make this as easy as possible and will likely continue to do so, so feel free to contact me; my username on XDA= S0AndS0 and my username on Google= Michael NA. I’ll be adding/editing in different prompts as my skill level increases with shell scripting and making things just run smoother for Android and Raspberry Pi users in general; so check the link often if you want “nightly builds”. I can confirm that the script will run and do the following
~copy Java’s JDK tar file from your sdcard to a new folder in your home directory called Java7ARM
~extract and install all system links for JDK into the Linux ARM operating system that you are running
~prompt to download and extract jMonkey or Maptools (more to come as I confirm that new one’s work :wink: )
~if you choose to download and install jMonkey; the script will then step you through all the other “extra” bits that have to be done in order to have jMonkey updated and completely installed on your device, the script will also fix the permissions on the short cut that jMonkey puts on your desktop so that you can run it right from the get go
~if you choose to try out Maptools; the script will then download and set that up as well.

… Think that just about covers it for now, I’ll be back from time to time if people have follow up questions; hope this helps to “completely” answer any question as to whether or not one can run jMonkey on ARM processors.

Edited 07202013

use the links to view "proof" that jMonkey works on ARM Linux; specifically an Android cellphone running Linux and Java's JDK

Desktop_Blank
https://docs.google.com/file/d/0B46yVbeWkbYKQjRxX1ZnQjdiUmc/edit?usp=sharing

Longin_With_Remmina
https://docs.google.com/file/d/0B46yVbeWkbYKY2JXd3JBWWVfUFE/edit?usp=sharing

jMonkey_ARM_Starting
https://docs.google.com/file/d/0B46yVbeWkbYKZXViZGMzeUVBVWc/edit?usp=sharing

jMonkey_ARM_Started
https://docs.google.com/file/d/0B46yVbeWkbYKTFgwdE0wMjRRQWs/edit?usp=sharing

~~~~~~~End Update


As always, happy hacking and modding.
________________Michael