Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed executable throws error on windows #38

Open
Sporarum opened this issue Mar 1, 2020 · 2 comments
Open

Renamed executable throws error on windows #38

Sporarum opened this issue Mar 1, 2020 · 2 comments

Comments

@Sporarum
Copy link
Contributor

Sporarum commented Mar 1, 2020

Whenever I start the command with another name, even just "fit", it throws me the following error:

Error: Could not find or load main class stainlessfit.cli.Main
Caused by: java.lang.ClassNotFoundException: stainlessfit.cli.Main

Tried on Windows 10's Command Prompt

@jad-hamza
Copy link
Collaborator

Ah, thanks for the report! The default name is now fit, have you tried on a fresh git clone?

@Sporarum
Copy link
Contributor Author

Sporarum commented Mar 6, 2020

I rebuild from a fresh git clone, here's what I have:

>fit
Error: Please specify a command: eval, typecheck
Try --help for more information.

>"fit"
Error: Could not find or load main class stainlessfit.cli.Main
Caused by: java.lang.ClassNotFoundException: stainlessfit.cli.Main

>"path\to\fit"
Error: Please specify a command: eval, typecheck
Try --help for more information.

(just path/to/fit would fail, as I have a space in one the folders on the path)

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

No branches or pull requests

2 participants