Sunday, July 28, 2019

Testing @tmaynard +tmaynard @TomMaynard +TomMaynard -- Nothing seems to work.

Winding the Atomic Clock 

A. Install NTP
  • Angstrom:
    opkg install ntp-systemd
A. Set the timezone
  1. cd /usr/share/zoneinfo
  2. Find the region closest to your own location, my own follows
  3. ln -sf /usr/share/zoneinfo/America/Chicago /etc/localtime
    NOTE: Back up the previous file first, if you wish
B. Setup NTP

Java Development on the BeagleBone Black

Get a JDK:
  1. opkg update
  2. opkg install openjdk-6-jdk
Then you have all the familiar JRE and JDK tools, like java, javac, jar, etc.

If you are able to install, but there is a dependency error, try to install all of the individual packages:
  • opkg install openjdk-6-common
  • opkg install openjdk-6-java
  • opkg install openjdk-6-jre
  • opkg install openjdk-6-jdk
  • opkg install openjdk-6-vm-zero

It might be that your particular distribution don't have those packages in the package list. In that case:

URLs in required installation order:
  1. http://www.angstrom-distribution.org/repo/?pkgname=librhino-java
  2. http://www.angstrom-distribution.org/repo/?pkgname=openjdk-6-common
  3. http://www.angstrom-distribution.org/repo/?pkgname=openjdk-6-java
  4. http://www.angstrom-distribution.org/repo/?pkgname=openjdk-6-jre
  5. http://www.angstrom-distribution.org/repo/?pkgname=openjdk-6-jdk
  6. http://www.angstrom-distribution.org/repo/?pkgname=openjdk-6-vm-zero
 Download the newest version for armv7a (or all) architecture, example:
  •  librhino-java_1.7r2-r0_all.ipk
  • openjdk-6-common_6b24-1.11.1+1.11.2-devel+hg1+54ceda20a02c-r17.0_armv7a.ipk
  • openjdk-6-java_6b24-1.11.1+1.11.2-devel+hg1+54ceda20a02c-r17.0_armv7a.ipk
  • openjdk-6-jdk_6b24-1.11.1+1.11.2-devel+hg1+54ceda20a02c-r17.0_armv7a.ipk
  • openjdk-6-jre_6b24-1.11.1+1.11.2-devel+hg1+54ceda20a02c-r17.0_armv7a.ipk
  • openjdk-6-vm-zero_6b24-1.11.1+1.11.2-devel+hg1+54ceda20a02c-r17.0_armv7a.ipk
Install using: opkg install <filename>
Test:
root@beaglebone:/usr/src/javatest# cat HelloWorld.java
class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Display the string.
    }
}
root@beaglebone:/usr/src/javatest# javac HelloWorld.java
root@beaglebone:/usr/src/javatest# java HelloWorld
Hello World!
root@beaglebone:/usr/src/javatest#

Wednesday, April 3, 2013

Maybe Dave will see this and decide that blogging is "for" him, after all!

Friday, January 11, 2013

Hmmm.  All these blogging sites are a little different from one another.  Here in Google-territory, the creation of a new post presents you with a blank editing screen -- and no context within which to compose.  Elsewhere, it's more Wiki-like, and you simply insert text below (or above, if that's how you roll) all prior entries.

No matter.  They all work, and after some floundering perhaps I'll settle on a single one.
Testing +Thomas Maynard +Thomas Maynard  +carolynmaynard +Carolyn Maynard +Carolyn Maynard

So: One needs to type "+" followed by the correct case of the first name "T" or "T" -- although in my own case, "t" also works but not for Carolyn.  I'm not sure I understand it fully, but at least I know the secret now. +David Maynard +Martha Patterson ... just like that!
[01/11/2013 @ 09:18] I have invited @Carolyn Maynard to the +Trifluent blog here.  Only time will tell if she accepts the invitation.