Kayak
Kayak copied to clipboard
Kayak fails to start ./../etc/kayak.conf: line 4: $'\r': command not found
Hi,
this happens with Kayak-1.0-SNAPSHOT and openjdk version "1.8.0_201" on Fedora 29 on running ./kayak
:
./../etc/kayak.conf: line 4: $'\r': command not found
./../etc/kayak.conf: line 9: $'\r': command not found
./../etc/kayak.conf: line 12: $'\r': command not found
Invalid maximum heap size: -Xmx256m
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
This is similiar to the problem reported by @M4GNV5 in #25 and the solution provided by @follower applies as well:
file ./../etc/kayak.conf
./../etc/kayak.conf: ASCII text, with CRLF line terminators
dos2unix ./../etc/kayak.conf
dos2unix: converting file ./../etc/kayak.conf to Unix format...
file ./../etc/kayak.conf
./../etc/kayak.conf: ASCII text
Now ./kayak
starts.