Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Kayak fails to start ./../etc/kayak.conf: line 4: $'\r': command not found #28

Open
bekopharm opened this issue Mar 12, 2019 · 0 comments

Comments

@bekopharm
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant