We are still actively working on the spam issue.

Difference between revisions of "Java (programming language)"

From InstallGentoo Wiki
Jump to: navigation, search
(An article for the Java programming language.)
 
m
Line 7: Line 7:
 
== Java Runtime Environment ==
 
== Java Runtime Environment ==
  
''The Java Runtime Environment or JRE should not be confused with the Java (programming language) itself.''
+
''The Java Runtime Environment or JRE should not be confused with the Java programming language itself.''
  
 
The JRE is a software package that is required to run applications written in the Java programming language. It includes the Java Virtual Machine or JVM, the Java platform core classes, supporting Java platform libraries, and various Java plug-ins for popular web browsers. The JVM is responsible for the versatility of Java applications in terms of platform support. Unfortunately, it is also responsible for their relatively poor performance and high memory requirements. While the situation has certainly improved in recent years thanks to the Just-In-Time Compiler or JIT, Java applications still tend to be somewhat slower and heavier than their non-Java counterparts. Notably, some applications like Libre Office require Java for certain features, but can be used without the JRE if the user is willing to sacrifice access to those features.
 
The JRE is a software package that is required to run applications written in the Java programming language. It includes the Java Virtual Machine or JVM, the Java platform core classes, supporting Java platform libraries, and various Java plug-ins for popular web browsers. The JVM is responsible for the versatility of Java applications in terms of platform support. Unfortunately, it is also responsible for their relatively poor performance and high memory requirements. While the situation has certainly improved in recent years thanks to the Just-In-Time Compiler or JIT, Java applications still tend to be somewhat slower and heavier than their non-Java counterparts. Notably, some applications like Libre Office require Java for certain features, but can be used without the JRE if the user is willing to sacrifice access to those features.

Revision as of 08:07, 25 February 2014

Not to be confused with JavaScript.

Java is a class-based, object-oriented programming language that was specifically designed to avoid implementation dependencies.

Java Runtime Environment

The Java Runtime Environment or JRE should not be confused with the Java programming language itself.

The JRE is a software package that is required to run applications written in the Java programming language. It includes the Java Virtual Machine or JVM, the Java platform core classes, supporting Java platform libraries, and various Java plug-ins for popular web browsers. The JVM is responsible for the versatility of Java applications in terms of platform support. Unfortunately, it is also responsible for their relatively poor performance and high memory requirements. While the situation has certainly improved in recent years thanks to the Just-In-Time Compiler or JIT, Java applications still tend to be somewhat slower and heavier than their non-Java counterparts. Notably, some applications like Libre Office require Java for certain features, but can be used without the JRE if the user is willing to sacrifice access to those features.

Security Issues

The vast majority of the JRE's security issues stem from the various Java plug-ins for Web browsers. These plug-ins have no role whatsoever in running most Java applications, and they are only rarely required to display modern Web content. Due to the significant number of security vulnerabilities caused by these plug-ins in the past several years, major browser vendors like Mozilla and Google have taken steps to see that they are unable to execute without directly prompting the user. Nevertheless, it is highly recommended that one verify manually that these plug-ins are indeed disabled, since they possess known security vulnerabilities at the time of this writing.