Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.
This repository was 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

Description

@bekopharm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions