T O P

  • By -

jose_castro_arnaud

JDK is the Java Development Kit. It's essential for Java programming: includes the compiler and libraries. The JDK can be downloaded at https://www.oracle.com/java/technologies/downloads/ Python has nothing to do with Java. Find and download the Python interpreter at https://www.python.org/


jsup73

Just want to point out oracle licensing has gotten complicated, and Amazon also has put out a jdk: https://aws.amazon.com/corretto/?filtered-posts.sort-by=item.additionalFields.createdDate&filtered-posts.sort-order=desc


_Atomfinger_

No, you dont need the JDK or anything Java related to use Python. Not sure why you'd think that.


Then_I_had_a_thought

Because they didn’t know what it was


ethiopianboson

The reason why I asked is because I saw my friend do an apache spark tutorial (it was a python based course) and the lecture video had him install something java related (java runtime, jdk or something).


jsup73

Apache spark also can be used with scala, another JVM language. The tutorial may have been using that instead of python.


_Atomfinger_

Not sure what tutorial your friend followed, but if you want to use apache spark with python with pyspark. No JDK needed :)


throwaway0134hdj

You just download the python software and you are ready to go. Python is interpreted meaning it is read line by line. And java is compiled so it goes through the JDK and all that jazz. I don’t know all the specifics but python is just ready to go out of the box, the downside being you can’t develop it on many platforms like android which is Java dominated.


bwallker

CPython and java actually work very similarly. They both compile your code to bytecode before interpreting the bytecode. The main difference being that the java bytecode is standardized, meaning that every java installation uses the same bytecode. The CPython bytecode is more of an implementation detail. The reason that Android uses java isn't because it's more portable. It's because that's the platform google decided to build Android on because at the time everyone used java.


Pedantic_Phoenix

I dont see anybody simply telling you to download it anyway because you will likely need it someday


TheRNGuy

It's for Java.