JAVA_HOME is not set.
See original GitHub issueI have set the java home , other project is no problem I also modify project structure , no use
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'Jetpack-Compose-Playground-develop'.
> =============================== Gradle Doctor Prescriptions ============================================
| JAVA_HOME is not set. |
| Please set JAVA_HOME so that switching between Android Studio and the terminal does not trigger a fu |
| ll rebuild. |
| To set JAVA_HOME: (using bash) |
| echo "export JAVA_HOME=$(/usr/libexec/java_home)" >> ~/.bash_profile |
| or `~/.zshrc` if using zsh. |
| |
========================================================================================================
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Installing the JDK Software and Setting JAVA_HOME
Procedure To Install the JDK Software and Set JAVA_HOME on a Windows System · Right click My Computer and select Properties. · On...
Read more >The JAVA_HOME environment variable is not set
Firstly go to My Computer right click open properties and open Advanced System Setting and then open Environment variables. Open the Path ...
Read more >Setting the JAVA_HOME Variable in Windows
Set the JAVA_HOME variable via the command line · Open Command Prompt (make sure you Run as administrator so you're able to add...
Read more >Fix JAVA_HOME errors | Invalid directory | Not set or defined
One very common developer mistake that leads to the JAVA_HOME is set to an invalid directory error is pointing JAVA_HOME to the \bin...
Read more >Set JAVA_HOME on Windows 7, 8, 10, Mac OS X, Linux
A quick look at how to set the JAVA_HOME variable on Windows, Mac OS X, and Linux. ... Not having to roll all...
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
I give you a suggest , remove some cofiguration ,Because everyone’s development environment is different
I send you a email to hotmail