Sha256: 05249e8ba3d27bce9586c711b6b826ce46462793b5e339ddb2cdb435154f35a5
Contents?: true
Size: 413 Bytes
Versions: 26
Compression:
Stored size: 413 Bytes
Contents
if abiquo_installed? def java_ok? log = AETK::Log.instance if not File.exist? JAVA_BIN log.error "Java binary not found in #{JAVA_BIN}" return false end if `java -version 2>&1 | grep '64-Bit Server'`.empty? log.error "Java 64-Bit runtime not found" return false end return true end puts "Java:".bold.ljust(40) + (java_ok? ? "64 Bit Runtime".green.bold : "Not Found".red.bold) end
Version data entries
26 entries across 12 versions & 1 rubygems