lib/veewee/provider/virtualbox/box/build.rb in veewee-0.3.0.alpha8 vs lib/veewee/provider/virtualbox/box/build.rb in veewee-0.3.0.alpha9

- old
+ new

@@ -5,10 +5,10 @@ def build(options={}) download_vbox_guest_additions_iso(options) unless definition.floppy_files.nil? - unless self.shell_exec("java").status == 0 + unless self.shell_exec("java -version").status == 0 raise Veewee::Error,"This box contains floppyfiles, to create it you require to have java installed or have it in your path" end end super(options) end