Showing posts with label The Java Programming Language. Show all posts
Showing posts with label The Java Programming Language. Show all posts

Tuesday, December 10, 2013

"Getting Started with Java SE Embedded on the Raspberry Pi" (by Bill Courington and Gary Collins)

http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html by Bill Courington and Gary Collins

It includes a lot of useful Linux tweaks, that you may want to apply apart from installing Java SE anyway.

Resize the SD Card Partitions:
About half the card’s space is unallocated. The biggest chunk of free space follows the /dev/sdb3 partition. To add this space to /dev/sdb2 (the file system), we temporarily delete /dev/sdb3, extend /dev/sdb2, then re-create /dev/sdb3.
I started making use of the "Java SE" label with this article. Should apply it elsewhere as well.

It has a section "Optional Linux Tuning and Tweaking":

  • Set Up Static IP Address
  • Enable Swapping and Optimize File System Access Time
  • Set Time Zone and Locale
  • Set Up a Time Server
  • Set Up an Internet Proxy
  • Remap the Keyboard
  • Update Debian Packages
  • Automatically Start the Graphical User Interface
  • Add a Different Web Browser
  • Enable Sound
Do I really want to swap on the SD card? They discourage it there.

Wednesday, March 6, 2013

O'Reilly Media book: Learning Java

Learning Java:
If you’re new to Java, the fourth edition of this bestselling guide provides an example-driven introduction to the latest language features and APIs in Java 6 and 7. Advanced Java developers will be able to take a deep dive into areas such as concurrency and JVM enhancements.

Saturday, September 17, 2011

Oracle's draft for the JCP clears an important hurdle - The H Open Source: News and Features

Oracle's draft for the JCP clears an important hurdle - The H Open Source: News and Features: With JSR 348, the developers introduced a draft to redesign the Java Community Process. Having gone through Public Review, the specification has now cleared an important implementation hurdle [--] only Google remains sceptical

Tuesday, September 6, 2011

Oracle retires licence for distributing its Java with Linux - The H Open Source: News and Features

Oracle retires licence for distributing its Java with Linux - The H Open Source: News and Features: Oracle has announced that the "Operating System Distributor License" for Java will cease to exist, and that Linux distributors will in future only be allowed to package and distribute the OpenJDK

Thursday, September 1, 2011

Gone again: James Gosling leaves Google - The H Open Source: News and Features

Gone again: James Gosling leaves Google - The H Open Source: News and Features: After less than six months, the inventor of the Java programming language turns his back on Google to join Californian start-up Liquid Robotics ...

He is also devoloped the Gosling Emacs quite a couple of years ago.

Monday, March 7, 2011

my call monitor software is going jruby

My FRITZ!Box call monitor is written in ruby-1.9. So far I am running it using MRI-ruby-1.9.

This call monitor is a FRITZ!Box call monitor, it does not monitor the calls on my smartphone yet (which is rather, rather sad). Most of the year (for economical reasons) I should sit in a customer's office quite a little away from my place – receiving calls on my smartphone. So it makes much sense to get my call monitor software to monitor the calls on my smartphone one day (rather sooner than later).

Just recently (with the help of RVM) I delved into the the jruby world, and of course I am trying to run my call monitor software also with "jruby --1.9".
My current problems with "jruby-1.6.0.RC2 --1.9" are with I18N and encodings, so I cannot open my gmail address book with "r:UTF-16LE:UTF-8". My evasive strategy is to let it read a UTF-8 version of it.
The ruby CSV module, that parses my address book using regular expressions, seems to give the runtime system yet unseen tasks.
Maybe I am not too far away from running a slightly adapter version of my call monitor in jruby and therefore on a JVM.

Of course, IronRuby (a .Net ruby implementation) is also an option.

There are not that many different smartphone operating systems, that run JVM-s, so we are mainly talking about Android.
Does Android allow non-core software to (sort of) monitor the incoming and outgoing calls?

Once jruby successfully runs my call monitor, the way is free to go for an Android implementation. I am rather hot for it.

Update 2011-03-07:
After a couple of postings on user@jruby.codehouse.org and especially with the support of Thomas E. Enebo, my software now runs just as well with the very, very latest jruby, that I produced through "rvm install jruby-head".


Update 2011-03-28:
Now it runs reading the XML Google Contacts, which is more comfortable, as I can download it on the command line.

Tuesday, October 12, 2010

PDFsam – PDF Split and Merge

PDF Split and Merge

Software implemented in Java, it comes as a GUI, that calls misc. utilities. The author latest goal is to implement a web hosted version of this software.

I have been using this software for a couple of years.

Thursday, September 2, 2010

apress.com: Raven – Scripting Java Builds with Ruby

APRESS.COM : Raven: Scripting Java Builds with Ruby : 9781590598757

Book Details
Raven: Scripting Java Builds with Ruby book cover
  • By Matthieu Riou
  • ISBN13: 9781590598757
  • ISBN10: 159059875x
  • 64 pp.
  • Pub Date: 2007-06-25
  • eBook Price: $13.99

Raven is a Ruby-based build system that leverages Ruby tools (namely Rake and Gems) to help you effectively and easily manage your Java projects, providing a way to handle dependencies and specific tasks for Java. Raven: Scripting Java Builds with Ruby covers the most productive and flexible Java build tool around with the following approach:
  • Uses practical examples and concise explanations to show you how to effectively use Raven
  • Summarizes best practices and delves into coverage of the more complex scenarios you will inevitably encounter when using Raven
  • Empowers you to set up a complete build environment in no time

What you’ll learn

  • Why Gems are useful and how to manage your local Gem repository
  • How to create your first Rake file, effectively use Ravens command-line features, and manage task dependencies
  • How to execute Raven tasks and adhere to best practices by following along with a number of simple yet practical examples
  • How to wrap your Java code into your own Gems, allowing you to easily maintain, reuse, and disseminate your code using the Gem packaging system
  • How to apply advanced techniques like building your own Gem repository and more

Who is this book for?

Any beginning, intermediate, or advanced Java developer or architect having some interest in using the Ruby language to supplement their skill set. Readers interested in build tools such as Ant and Maven will also find this book appealing.

Wednesday, June 16, 2010

option and configuration processing

Once again I came across this very nice and certainly very helpful article on O'Reilly's perl.com.

I personally really have been loving the Art of Command Line Processing for a very, very long time. During one of my last projects (it was actually mainly using p*th*n as programming language because of some rather weird and esoteric guy, who made it his personal mission to reinvent all the software spread over the bank from perl to p*th*n, especially the one he had written himself in quite unreadable perl a couple of years ago) I faced the task of prepping up a Java program from JasperForge.org, and the major value I added to that utility was to add command line processing using libraries from Apache. I actually offered Teodor Danciu of JasperSoft, JasperReports' inventor and main developer, to contribute my version of that utility to JasperForge, but he wasn't interested. I was rather sad. Maybe he will rethink that decision.

Update / 2010-09-19:

I think, I sort of "lied" :-) here. I didn't "offer" Teodor that extension of his own OSS software, that he had developed himself and then published under LGPL, I rather asked him this:
Is there any interest in a "'-D' command line / getProperty" version of TextApp?
I would really love to even write and contribute a new and better version of my old approach, which was 100% based on OSS.

Can you imagine, that I get legally threatened for the above question, because an organisation thinks to possess rights on these minimal modifications I applied? We are talking literally about a couple of lines.