No Java Development Kit JDK found You must have the environment variable JAVA HOME set and the java binary in your PATH

0 votes

Hi Guys,

I am new to Flutter. When I run the flutter doctor command, it is showing me the below error.

$ flutter doctor 
No Java Development Kit (JDK) found; You must have the environment variable JAVA_HOME set and the java binary in your PATH. You can download the JDK from https://www.oracle.com/technetwork/java/javase/downloads/.

How can I solve this error?

Jul 17, 2020 in Others by akhtar
• 38,260 points
22,282 views

1 answer to this question.

0 votes

Hi@akhtar,

If you do not have the JDK software installed or if JAVA_HOME is not set, then Flutter will give this error message. The following tasks provide the information you need to install the JDK software and set JAVA_HOME on UNIX or Windows systems.

Hope this helps!

Check out Java training online to become certified expert.

Thanks!

answered Jul 17, 2020 by MD
• 95,460 points
You are a captain obvious, mate. There was a question how to solve it just step by step but not to tell us what is happened.

??

Hi@Paul,

You just need to install Java in your system. You can go through the below link to install Java in your system. It will solve your error.

https://www.edureka.co/community/74624/how-to-install-java-in-windows-system?show=74624#q74624

Related Questions In Others

0 votes
1 answer

Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm

Over two years has passed, now and ...READ MORE

answered Feb 11, 2022 in Others by Soham
• 9,710 points
3,147 views
0 votes
1 answer

Git error: "Please make sure you have the correct access rights and the repository exists"

Your git URL might have changed. Change ...READ MORE

answered Feb 17, 2022 in Others by Aditya
• 7,680 points
10,448 views
0 votes
1 answer

What VBA code would I use to concatenate cell A2 & B2 in cell C2 and then have it Autofill down the column?

Solution Find the last row. Write a formula to ...READ MORE

answered Feb 14, 2023 in Others by Kithuzzz
• 38,000 points
1,078 views
0 votes
1 answer

How to automatically assign a color to the maximum and minimum values in a set of selected cells in Excel?

See Conditional Formatting, which may be accessed ...READ MORE

answered Apr 7, 2023 in Others by Kithuzzz
• 38,000 points
568 views
0 votes
1 answer

What is the future of flutter?

Hi@MD, Flutter is a rather new cross-platform framework ...READ MORE

answered Jul 17, 2020 in Others by akhtar
• 38,260 points
1,178 views
0 votes
1 answer

What is Flutter?

Hi@akhtar, Flutter is an app SDK for building ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,460 points
1,493 views
0 votes
1 answer

How to install Flutter in Windows system?

Hi@akhtar, You can follow the below-given steps to ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,460 points
1,800 views
0 votes
1 answer

How to check the connected device name in Flutter?

Hi@akhtar, Flutter has its command own command to ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,460 points
8,203 views
0 votes
2 answers

Difference between "main()" and "runApp()" functions in Flutter.

main is entry point and,   runApp() is ...READ MORE

answered Apr 26, 2022 in Others by anonymous
9,449 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP