From the course: Learning Apache Tomcat

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Java overview

Java overview - Tomcat Tutorial

From the course: Learning Apache Tomcat

Start my 1-month free trial

Java overview

- [Instructor] We can't really talk about Tomcat without going through the basics of Java. Java is a compiled language for creating applications that run within a virtual machine known as the Java virtual Machine or JVM. Java and the JVM are different from a language like Ruby or Python where the code is not compiled, but is run directly by a program called an interpreter. Ruby, for example, must be installed to run a Ruby program. Java code is compiled, but it isn't exactly like other compiled languages. Go, for example, is compiled to its own executable program. So you don't need Go installed to run a Go based program. Instead, Java code is compiled into something called bytecode. This bytecode is then run on the JVM. This has a couple of advantages, but one of the big ones is that it means that the same Java application can run on any system with a JVM. So Java is said to be portable across operating systems. When installing Java, you have the choice of downloading the JRE or the…

Contents