java tag

Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let programmers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need to recompile. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but has fewer low-level facilities than either of them. The Java runtime provides dynamic capabilities (such as reflection and runtime code modification) that are typically not available in traditional compiled languages. As of 2019, Java was one of the most popular programming languages in use according to GitHub, particularly for client–server web applications, with a reported 9 million developers.

Java was originally developed by James Gosling at Sun Microsystems and released in May 1995 as a core component of Sun Microsystems' Java platform. The original and reference implementation Java compilers, virtual machines, and class libraries were originally released by Sun under proprietary licenses. As of May 2007, in compliance with the specifications of the Java Community Process, Sun had relicensed most of its Java technologies under the GPL-2.0-only license. Oracle offers its own HotSpot Java Virtual Machine, however the official reference implementation is the OpenJDK JVM which is free open-source software and used by most developers and is the default JVM for almost all Linux distributions.

As of March 2022, Java 18 is the latest version, while Java 17, 11 and 8 are the current long-term support (LTS) versions. Oracle released the last zero-cost public update for the legacy version Java 8 LTS in January 2019 for commercial use, although it will otherwise still support Java 8 with public updates for personal use indefinitely. Other vendors have begun to offer zero-cost builds of OpenJDK 18 and 8, 11 and 17 that are still receiving security and other upgrades.

Oracle (and others) highly recommend uninstalling outdated and unsupported versions of Java, due to unresolved security issues in older versions. Oracle advises its users to immediately transition to a supported version, such as one of the LTS versions (8, 11, 17).

Reference: WIKIPEDIA

1495 questions


1 answers
33 views
0
I want to replace rock-paper-scissors programs with regular patterns.

In the program below, the hands are randomly displayed, but change them a little.Paper, rock, scissors, paper, rock, scissors...How can I get my hands on regularity as shown in ?**Regular rock-paper-s...

2 years ago

1 answers
116 views
0
'javac-version' is not recognized as a command

As shown in the command results below, JAVA_HOME is correctly configured as an environment variable and PATH to bin is correctly configured, but entering javac-version displays the error message.I tri...

2 years ago

2 answers
31 views
0
I don't know how to declare an array of abstract classes.

I prepared an array of abstract classes called Person, but I cannot run it with the error Exception in thread main java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 0.Person r...

2 years ago

3 answers
39 views
0
Syntax Analysis of Hardware Descriptive Language in Computer System Theory and Implementation

Computer system theory and implementation -- creating applications that generate circuits for programs written in the hardware description language (HDL) of The Elements of Computing Systems: Building...

2 years ago

1 answers
111 views
0
Using javax.announcement.security.RolesAllowed Annotations

Prerequisites/What you want to achievein JAX-RS in a JavaEE6 compliant environmentjavax.announcement.security.RolesAllowedAnnotation I want to achieve the authorization function, but I don't know how ...


1 answers
34 views
0
Understanding Wav File Combination in Java

try{ FileInputStream fis=new FileInputStream(file1); BufferedInputStream bis=new BufferedInputStream(fis); bis.read (binaryData1); bis.close(); fis.close(); fis=newFileInputStream(file2); bis =...

2 years ago

1 answers
102 views
0
Error After Reinstalling Android Studio

After reinstalling Android Studio, the following message occurred when the system was started:The system could not be started.Please tell me the recovery procedure.Thank you for your cooperation.Syste...

2 years ago

1 answers
74 views
0
Questions about how to access multiple IDs for Spring Data JPA

We are developing a web system using SpringBoot.I know how to retrieve data from JPA findById (ID id) in general, but I would like to set Entity with multiple @IDs to retrieve data with multiple IDs.I...

2 years ago

1 answers
33 views
0
How to ensure computational accuracy in BigDecimal

We create a program that parses user-defined formulas (only rational four-way operations) and computes them using BigDecimal.There is a requirement specification that says, Calculation results ensure ...

2 years ago

1 answers
92 views
0
I use IntelliJ for Apache Spark debugging, but I get an error every time.

It hasn't been long since I committed to apache park, but I recently had an error when I debacked the park object (park LR) from the example module.Specifically, the following message appears:C:\Users...

2 years ago
« - 32 - »

© 2024 OneMinuteCode. All rights reserved.