Java layer for multiplatform SLIM Curve C code