Opennebula virtualbox sandbox on ubuntu 18.04

Can i use opennebula virtualbox sandbox with ubuntu 18.04 ?
And how to use opennebula java API with the sandbox ?
What is the difference between virtualbox sandbox, AWS sandbox and Testdrive sandbox ?