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


2 answers
57 views
0
error: What does No resource identifier found for attribute 'latout_height' in package 'android' mean?

error: No resource identifier found for attribute 'latout_height' in package'android'This error occurred while using java.Could you tell me how to solve this problem?

2 years ago

2 answers
81 views
0
Why does it become a Java class even if scala passes the type parameters to the scala class?

Thank you for your help.I'm a beginner at scala. I'm worried because I don't know the reason for the following code behavior.scala>case class MyVector [A]() { def test(init:A) = { println(type=+ini...

2 years ago

2 answers
59 views
0
Why does it become a Java class even if scala passes the type parameters to the scala class?

Thank you for your help.I'm a beginner at scala. I'm worried because I don't know the reason for the following code behavior.scala>case class MyVector [A]() { def test(init:A) = { println(type=+ini...

2 years ago

2 answers
140 views
0
Zxing vertical screen support

We are creating an application that reads bar codes using zxing.I have a question, but when the camera is started, the screen is horizontal from the vertical.Is there a way to start on a vertical scre...


1 answers
54 views
0
How to Debug in java webview→javascript→java in Windows

How do I debug windows efficiently from javascript to java in the javaFX webview?The java that runs from javascript is as follows:window=(JSObject)webArea.getEngine().executeScript(window);// JavaScri...

2 years ago

4 answers
34 views
0
How to determine a byte array beautifully by using if statements

If all the values in the byte array are non-zero, I want to write a true if statement, but I can't write it smartly.Below is an example implementation, but is there a smarter way to judge?I look forwa...

2 years ago

1 answers
124 views
0
I want to transition from Fragment to Activity

I am programming using Bottom navigation, which is included in Android Studio from the beginning, but I don't know how to transition from Fragment to Activity.After coding as below, there is no error ...


2 answers
115 views
0
I want to make sure that the reference remains.

Please tell me about Android's Context.I have seen blogs that recommend getApplicationContext() instead of using this to pass as arguments.If you use this, you should use getApplicationContext() becau...


1 answers
35 views
0
Information About Implementing Interfaces

public interface a{ default void sample() { System.out.print(A);}}public interface extensions a {}public interface components b { @ Override public void sample(); a.super.sample(); System.out.print(ja...

2 years ago

1 answers
100 views
0
Repository read failure when installing Roo on STS

I'm a beginner at Spring Roo.I tried to install Roo on STS, but I got the following error on STS:It seems that the download failed from the repository.I'm sorry to trouble you, but I'd appreciate it i...

2 years ago
« - 23 - »

© 2024 OneMinuteCode. All rights reserved.