Vale icon indicating copy to clipboard operation
Vale copied to clipboard

Windows example build error

Open matkuki opened this issue 1 year ago • 1 comments

Hi,

Specs:

  • Windows 10
  • Vale 0.2.0

running valec build mymod=myprogram.vale --output_dir build with file myprogram.vale:

exported func main() {
  println("Hello world!");
}

throws:

$ valec build mymod=myprogram.vale --output_dir build
Unable to find program java.exe.
(panic)

matkuki avatar Jul 12 '22 12:07 matkuki

Part of the Vale compiler is written in Scala, so the user needs to have java installed to run it.

We could use a better error message here, I'll leave this issue open as a reminder to do that.

Verdagon avatar Jul 12 '22 17:07 Verdagon