Monthly Archives: December 2009

Syntax error, parameterized types are only available if source level is 1.5

I recently installed Eclipse and all of a sudden my Java applications failed to build with the error: Syntax error, parameterized types are only available if source level is 1.5 After a bit of Googling I figured out that Eclipse … Continue reading

Posted in Java | Tagged , , , , , , | 5 Comments

Java: touch – set file last modified time

I just discovered that I need to touch() a file in Java. It appears there isn’t a way to do this using the standard Java library, so I rolled my own: Just like the Linux command, if the input is … Continue reading

Posted in Java | Tagged , , , , | Leave a comment

A Simple Daemon in C

(Before diving into creating your own daemon, you might want to take a look at the Fat Controller which is a program which can daemonise anything. If you need to daemonise something, run something repeatedly or parallelise something, then it … Continue reading

Posted in C | Tagged , , , , , , , , | 11 Comments