Added a test/example for oracle java