1

I have looked at this page but I don't understand why I have to install the Java Development Kit (JDK), when it doesn't appear to be used in the tutorial.

Can someone please explain this?

William Jones
  • 809
  • 2
  • 11
  • 29

2 Answers2

4

Because you need JDK to develop android application. Usually this was bundled with android studio so you don't need to install JDK. And also basically, Android at its core is java.

Frandall
  • 378
  • 1
  • 13
  • So I do have to install it? I'm slightly confused, as your answer also says that I don't need to install it. – William Jones Aug 23 '18 at 09:26
  • 1
    I think you need to install it because when you are developing android using android studio, the jdk is installed in android studio folder. But now you are developing android app using unity, you still need to install the JDK. – Frandall Aug 23 '18 at 09:29
  • Ah, ok. Because I'm only installing the "command line tools". – William Jones Aug 23 '18 at 09:31
  • you can see this [answer](https://stackoverflow.com/questions/35248752/adk-vs-jdk-vs-sdk-difference) and [this](https://boostlog.io/@mohammedalsayedomar/setup-android-sdk-and-jdk-in-unity-5adad03d47018500491f3f77) – Frandall Aug 23 '18 at 09:32
3

JDK - Java Development Kit

It is required as it consists of JVM - Java Virtual Machine. It is also needed as it converts your class to bytecode. It is the base of Application Proramming related to Android.

Ümañg ßürmån
  • 9,695
  • 4
  • 24
  • 41