mikelangelo-project / capstan

Capstan, a tool for packaging and running your application on OSv.
http://osv.io/capstan/
Other
19 stars 7 forks source link

Modernize Java runtime #62

Closed miha-plesko closed 6 years ago

miha-plesko commented 6 years ago

An issue opened by a user trying to run .jar file on OSv pointed out that some more documentation should be provided for each runtime. While we've done this for Node.js already, we're now providing it for Java runtime as well. While providing documentation it turned out that we're actually lacking a proper way to support switching Java package underneath. So with this commit we support this as well.

miha-plesko commented 6 years ago

Squashed, green. Note that I'm just an innocent developer that is trying to get Java in OSv as close as possible to normal people, so my classpath suggestion might be totally missed as well. Luckily our license says:

    THIS SOFTWARE IS PROVIDED ... "AS IS"
    AND ANY .... WARRANTIES ... ARE
    DISCLAIMED.

🦋 🦋 🦋

gberginc commented 6 years ago

Let me quickly add an exception for this particular Java runtime into the license! 😄.

Thanks @miha-plesko for this contribution. It's going into master right away.