[General Topics] S0AndS0:
If only he where still around with the joy of painting, instead his ghost should guide you though the joys of scripting :) (this is what I imagine when I get one of those "happy little errors" when debugging scripts)

Oh and to run the script from the command line it should be something like :

sh /path/to/file/This_Script

Or

Sudo sh /path/to/file/This_Script

And then anything that has an "echo" command in front of it will start displaying the intro text and first "yes/no" option.

If ya find a command that you don't know what it's supposed to do then go ahead and comment directly on it by; highlighting it and hitting the "speech bubble" icon and I'll try to explain it.

I had a little time to respond to this post wile on "Lunch" but I've a long shift tonight so it'll be a few more hours before I can get back to a computer and XDA in any useful fashion. I'll try to get on though and at least change the permissions for viewing on the new script I'm compiling for Java, its not anything special just yet, but it'll be good for comparisons and some new commands to see in action too.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now working on Scripting installers and tutorials for beginner scripting for; Bash, Python, and Java for Android and Linux

Also working on porting; Crazyflie-Quadcopter, Andoid-Casual, Maptools-MMO table top game maker and hoaster, jMonkey JDK, and Openstack-cloud services to run on Android.

Update 06212013- Working on the Java install script 100% real time here currently it looks Identical to the Crazyflie install script but with more colors for easy reading and so I can edit it easier for the new task at hand I'll be posting the link to the guide(s) that I'm resourcing for translating to something bash can do repeatedly. Commenting is enabled there and you all can always comment here too. I'll be getting round to the "template" version/guide on one of my "short days"

oh and superdave42, don't worry to much about it being a flood of info; I put in all the preemptive help and support because you'll have the time soon and I'll be working so it'll work out like working opposite shifts :D and if we get one or two more to join in then work wont ever stop :D and I'll have a hard time keeping up

Update 06222013- got a little time before work so here is the link to the guide that I'm resourcing to make the "Java install from source script" I've already used instructions very similar to install "Java" headless to ARM Android Linux so you all can follow instructions from that link wile you're waiting for me to script it up into a "one click" install.

Note this one, upon finishing, will work for any ARM and then I'll make a version for PC too so QEMU users can install from source as well :cool:

And to make mods to the Crazyflie script (I may have already stated this earlier) just run through the first part, where it writes the different parts of itself to the " BitcrazeDepends" folder ...

To

And then hit no when it asks

Then make your edits to the unpacked parts in the "BitcrazeDepends" folder with a text editor, either andoid or linux works for this, and then run "Script_Runner" to run your edits in "auto-mode"

If the edits you do make things work better, then, you can edit the master copy and always have a way to unpack and install on that type of device. :cool:

Update 3pm myTime- found out that I'm only working a "half day" so I'll be able to be on line most of the night for writing and support :)

and a few hours latter

readers should note that this will, upon, completion allow you access to both Java soft float version 7 and Java hard float version 8.

Why is this important?

Well with Java 7 SF, you'll have a "stable" and well tested to run and compile Java written files or even Java dependent software packages; such as jMonkey and Netbeans (though these two programs specifically can also have there dependencies met with openJDK and family of openJRE installed though apt-get, with no modifications to Debian or Ubuntu's repositories) and many more that can't have their dependencies met with openJDK versions of Java.

And.

With Java 8 HF, you'll have a "testing" version that should support running JAR files; such as MapTools and the above list of other Java dependent programs.

Why are there two that will be installed?

Because this will allow for the greatest amount of compatibility between all current projects that I've decided to support and port to Android ARM Linux and it will give any user the chance to test multiple versions of Java on their devices; compatibility differs between devices.

Currently the script that I'm speaking of is incomplete and not ready for testing, but, this is what I'll be doing tonight and for the next few days. But you all can watch me through it all together on Google Docs or follow the links to the guides that are elsewhere and do it manually if you just want to get on with playing with Java ;)

Update 6pm myTime- Lots of editing but it's starting to take shape. All the Purple highlighted text in Recompiled-JavaInstallerDebianSqueeze on Google docs are the additions/edits to CrasyflieInstallScriptForSqueeze and all the Orange highlighted text is text that will be changed or removed, and gray highlighted text will be things that don't really need changing.

I'll be keeping the "Recompiled" version around for reference and education source for others on how to make modifications for other purposes successfully and then make a new copy that can be used for the stated purpose.

Until then and even after I post the completed version; Don't try to run Recompiled-JavaInstallerDebianSqueeze because it's not going to do anything good.

Update 06232013- I put in a full days work. But over lunch updated the readers at rptools of my progress~

http://forums.rptools.net/viewtopic.php?f=2&t=18619&p=242913#p242913

~it had been a little wile... I'll be seeing about putting some more work into the Java install script and I'll have most of tomorrow night to flesh it out the rest of the way :)

Update 06242013- Had another work shift run a bit long (yeah more money :) ) but I managed to polish up the first of a long line of Java instal from source script. Curently you'll find it here~

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

~ and it should install Java 7u21 soft float ARM for Linux android and Raspberry Pi... I'll be testing it tomorrow morning as it's almost here (the morning that is) in my time zone and post the results :D