[enh][compiler] use standard c array declaration
[enh] add license information
[enh] add licence headers to all .java files
Merge pull request #128 from pointhi/master

add licence informations and use standard c array declaration