fizzed / blaze

Write your shell scripts on the JVM (java, kotlin, groovy, etc.)
109 stars 15 forks source link

Is it possible to use Blaze with a JRE? #6

Closed kimptoc closed 7 years ago

kimptoc commented 7 years ago

Hi,

Wondering if we just include the tools.jar is that sufficient, or maybe the eclipse compiler?

Thanks, Chris.

jjlauer commented 7 years ago

@kimptoc good question. I took a few minutes to add the answer to the docs. A "server-jre" is good enough or you can just add the eclipse compiler as a runtime dependency and blaze will download it before compiling your script and will use that instead.

https://github.com/fizzed/blaze/blob/master/docs/BASIC.md#running-on-a-jre

kimptoc commented 7 years ago

Awesome!

Looks like ServerJRE is pretty much a JDK - http://www.oracle.com/technetwork/java/javase/downloads/server-jre8-downloads-2133154.html

Which is not whats installed on our servers :(