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
105 views
0
I also want to filter the status bar.

activity_main.xml<RelativeLayout xmlns:android=http://schemas.android.com/apk/res/androidxmlns:tools=http://schemas.android.com/toolsandroid:layout_width=match_parentandroid:layout_height=match_par...


1 answers
36 views
0
What Causes NullpointerException?

Two programs have been created to display the contents of the cart.Cart.javaItem.javaHowever, if you run it, it becomes NullpointerException.I would like you to tell me how to improve it.I'm not confi...

2 years ago

1 answers
166 views
0
JavaFx Fails to Print

In JavaFx, I used PrinterJob to execute the following code, but an error (?) appeared and I couldn't print well (I couldn't open it in Google Chrome).Please tell me the cause and solution.Code execute...

2 years ago

2 answers
28 views
0
I want to extract only any item from ListView that contains multiple items.

I'm making an Android app, but I don't know how to take out any items from any location from my customized ListView.item.xml<TextView android: id=@+id/id_item android:layout_width=wrap_content andr...

2 years ago

1 answers
35 views
0
Copying the Contents of a Text Field

You have prepared two text fields and are creating a program to copy the contents of the text field when you press the copy button.Here are three things to do:テキスト When characters are entered only in ...

2 years ago

3 answers
65 views
0
Confirmation of DB's huge number of associations.

DB Matching ConfirmationI am thinking of checking the association between the DB result of the Java modified source and the DB result of the DB result of the modified source.I would like to make sure ...

2 years ago

1 answers
36 views
0
"File not found: *.java" appears after executing the javac command

The javac command was available until yesterday, but the following message suddenly appears:We are looking for solutions.Displayed Messagesjavac: File not found: konp.javaUsage: javac<options>&l...

2 years ago

1 answers
89 views
0
@ How to use Qualifier

Using the Java Spring Framework, Creating web applications However, I want to register more than one Bean, but it doesn't work.·ObjectiveWant to handle more than one Bean ·Error messageConsumer markin...

2 years ago

1 answers
112 views
0
I want to display the history of the button pressed by swing.

If I add Botton5 to the code below, how do I add a history of what buttons I have pressed when I press Botton5?import javax.swing.*;import java.awt.event.*;import java.awt.BorderLayout;public class Sw...

2 years ago

1 answers
78 views
0
Error when launching Jenkins and running shell on Docker

Refer to the following article I started Jenkins on Docker and tried echo 'Hello world' but The following error will appear:The plug-in was installed from the UI with Suggested Plugins and I don't use...

2 years ago
« - 51 - »

© 2024 OneMinuteCode. All rights reserved.