r/javahelp • u/KhazadDumBridge • May 25 '21
i program in JAVA and decided to switch to visual studio code, some very noob questions
i get totally frustrated from the confusing terms used in Java, i program at the university and find myself angry on simple questions that seems like everyone know except for me.
1 - what is JDK ?in a website like this: https://www.infoworld.com/article/3296360/what-is-the-jdk-introduction-to-the-java-development-kit.htm
'' Developers new to Java often confuse the Java Development Kit and the Java Runtime Environment. The distinction is that the JDK is a package of tools for developing Java-based software, whereas the JRE is a package of tools for running Java code. ''
JDK is meant for developing tools for java?
so why do i need intelliji or visual studio code ? and why do i need to download special extension for visual studio code in order to code Java ? after all, JDK will tend to it, right ?
2 - in visual studio it says
'' Java 11 or more recent is required to run the Java extension. ''
but what is ''java'' ? JVM ? JRE ? JDK ? something else ?
3 - lets continue reading this website:https://www.infoworld.com/article/3296360/what-is-the-jdk-introduction-to-the-java-development-kit.htm
'' Getting Java setup in your development environment is as easy as downloading a JDK and adding it to your classpath ''
and what does that mean ? what is a classpath ?
do i need to install JDK ? because i got JDK from redhat and it didn't had any installer file there.
Summary:i really don't understand why programs like visual studio code or intelliji are making it so damn hard to even start programming java.
here is an alternative reality: when i download visual studio code, it already download JDK (mind blowing, i know) , put it in correct place in the files, and set the ''classpath'' by itself. why do i need to tend to all of this stuff ?