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,170 points
4,196 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.

answered Jul 17, 2020 by MD
• 95,060 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
0 answers

Can we write AES enryption in Javascript and Decryption in Java using a static SALT and IV

I'm working on AES encryption I want to ...READ MORE

Jun 3, 2019 in Others by Eighteen
• 120 points
993 views
+1 vote
1 answer

what is the difference between error and stderr in Node.js?

Error is an object created by Node.js to handle ...READ MORE

answered Jul 4, 2019 in Others by sunshine
• 1,280 points
441 views
0 votes
0 answers
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,170 points
134 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,060 points
213 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,060 points
343 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,060 points
514 views
0 votes
1 answer

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

Hi@akhtar, The main() function came from Java-like languages so ...READ MORE

answered Jul 20, 2020 in Others by MD
• 95,060 points
892 views