What version? This stuff is on the Companion disk if 10g.
Hint: use OCI, not OCCI. Or Pro*C. OCCI is....well, you'll find out if you start using it.
The open brace after createEnvironment really *is* needed, no matter how daft that sounds.