Problems starting CrateDB on Windows
See original GitHub issue@nkev reported at https://github.com/crate/crate/pull/11101#issuecomment-793505283:
- Page title: Quick Install on Windows
- Page URL: https://crate.io/docs/crate/tutorials/en/latest/install-run/windows.html
- Source: https://github.com/crate/crate-tutorials/blob/master/docs/install-run/windows.rst
I’m not sure if this is relevant to this issue but I followed the instructions in URL above to install crate-4.4.2
on Windows 10 but no matter what I do I get the error JAVA_HOME environment variable must be set
The JAVA_HOME
variable is set:
PS C:\WINDOWS\system32> cd "C:\Users\me\Downloads\crate-4.4.2"
PS C:\Users\me\Downloads\crate-4.4.2> ./bin/crate
JAVA_HOME environment variable must be set
PS C:\Users\me\Downloads\crate-4.4.2> $env:JAVA_HOME
C:\Program Files\Java\jdk-11.0.10
PS C:\Users\me\Downloads\crate-4.4.2> ./bin/crate.bat
JAVA_HOME environment variable must be set
PS C:\Users\me\Downloads\crate-4.4.2>
I tried restarting the computer and also tried crate.bat
instead with the same result. What am I doing wrong?
_Originally posted by @nkev in https://github.com/crate/crate/issues/11101#issuecomment-793505283_
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Getting started — CrateDB: Tutorials
After the installation is finished, the crate service should be installed, but not running. Use the following command to start CrateDB:.
Read more >Installation — CrateDB: Tutorials
This part of the documentation covers the installation of CrateDB on Linux, macOS and Windows systems. The first step to using any software...
Read more >Running CrateDB — CrateDB: Reference
CrateDB ships with a crate command in the bin directory. The simplest way to start a CrateDB instance is to invoke crate without...
Read more >Window functions — CrateDB: Reference
Window functions are functions which perform a computation across a set of rows which are related to the current row. This is comparable...
Read more >Window Functions — CrateDB: Reference
This is comparable to aggregation functions, but window functions do not cause ... BY is supplied the window definition consists of a range...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Dear Nuri,
we just integrated #11121, which will fix the start issue on Windows when using directory names with spaces for the next release of CrateDB. Again, thank you very much for reporting this flaw to us.
Currently, I can’t say much to the
low disk watermark
warning you might observe to be somehow sticky. In order to get more insights about it, I want to humbly ask you to share this on our community forum [1].Attaching to your last question, I deliberately diverted that into #11125. However, the community forum [1] might also be the more appropriate place to discuss such questions.
I hope you are satisfied with my responses to that so far. So, let’s close this issue for the sake of being resolved on the main issue raised here.
Thank you very much again and with kind regards, Andreas.
[1] https://community.crate.io/
I think I have deleted enough files now for the installation to continue because it has gone under the low disk watermark and resharding (although there are no tables):
The issue is, Powershell has been sitting on that last line for over an hour now. Is this normal?
The installation seems to have worked far enough for CrateDB to run:
Also, on the same LAN as this Windows desktop, I have my MacBook Pro running version v4.4.1 Trial (versus v4.4.2 Community on Windows). I was hoping they would automatically see each other and form a cluster. The MacBook has a single
iss
table from the getting started sample with only 3 records in it, but the Windows machine has no tables (nothing synced from the MacBook) because the cluster has not formed yet. Should I install v4.4.2 Community on my MacBook Pro?