On 8 May 2007, Sun finished the process of Java virtual machine, making all of its core code available under free software/open-source distribution terms, aside from a small portion of code to which Sun did not hold the copyright.