-
Notifications
You must be signed in to change notification settings - Fork 153
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
Installation error on windows 11 using WSL 2 #776
Comments
Hey. I think the paths should point to |
I tried setting the JAVA_HOME path to C:\Program Files\Java\jdk-1.8\bin but it unfortunately didn't work. |
@danny-weiss I unfortunately do not have much concrete tips to give here. But I do know that you should have |
I've tried uninstalling and reinstalling the WSL but it didn't really work, is there an alternative bash command line I can use? |
@danny-weiss Unfortunately I do not have any additional tips to give here. There was a more hacky approach to do this installation by using mingw (installing it, pointing to the right bash.exe, etc), but that has been finnicky to setup and not highly recommended. The main thing you need is the bash and the commands used by this script. |
I've been trying to install this but keep getting this error log:
I think my java is set up wrong but when I do java -version on my WSL and command line I get 1.8.x,
I set up the java_home variable with these commands:
setx JAVA_HOME "C:\Program Files\Java\jdk-1.8"
setx WSLENV "JAVA_HOME/p"
And it seems to be pointing to the right file, but the program can't recognize it as a java file maybe?
The text was updated successfully, but these errors were encountered: