Java and python on same machine installation?

Is it possible to install both java and python on same computer?

I have already installed java on my laptop. Now I want to install python on the same laptop but without uninstalling the java.

But how will I set the environment variable path for python if it is already assigned with jdk?

Please answer !!