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
30 views
0
I don't know how to exclude the elements of the array.

以下 In the program below, if the element of the list type variable listnumber contains zero, I want to exclude zero, so I use the remove method, but I get the following error.What should I do?Main2.jav...

2 years ago

1 answers
71 views
0
About Springboot File Downloads

I'm studying downloading files.I'm looking at the English site, but I don't know what the answer is.·Return ResponseEntityreturn ResponseEntity.ok() .contentType(MediaType.parseMediaType(contentType)...

2 years ago

1 answers
58 views
0
About OAuth Authentication

I'm a beginner in Android development.I have a question about OAuth authentication.Currently, we are developing to the point where when you press the authentication button on the screen, it goes to th...

2 years ago

1 answers
37 views
0
Error retrieving DataSource in JNDI ( org.osgi.framework.ServiceException: The use count for the service overflowed.)

The system I am developing connects to DB as follows, but an error occurred when I played the test during the system test phase.I checked and found that it is related to the function of JNDI, which wa...

2 years ago

1 answers
30 views
0
A program that randomly displays lines from a text file and displays phrases that are not in the text file with a 5% chance.

I don't know how to combine scanner and random class.Doraemon program with 5% chance of serving kettleA list of secret tools is created by a text file and read at the time of starting. In the text, on...

2 years ago

1 answers
106 views
0
Liferay 7 Docker Image Cannot Boot on Amazon EC2

I prepared Amazon EC2 for the development environment and tried to launch Liferay from docker by referring to Liferay formula: starting with Docker image, but it stopped halfway.>docker run-it-p 80...

2 years ago

1 answers
84 views
0
Can't Spring MVC receive what you entered in the data grid?

A screen consisting of a header and a datagrid is created with Spring MVC.However, I cannot accept the contents entered in the data grid.I wrote a code like this@RequestMapping(value=/updateList)publi...

2 years ago

1 answers
112 views
0
Please tell me how to create a good batch to register with OracleDB based on the text file.

Load text file (id, value) → Perth → Insert to DB (Oracle) (In case of duplicate id, add value in Update) I would like to create a batch of processing, so please tell me how to process it efficiently....

2 years ago

1 answers
119 views
0
How do I implement the Like feature in Servlet, Java, and PostgreSQL?

I want to create a program that shows the total number of likes per article by pressing the likes link, but running jsp doesn't work.test.jsp<%@pagelanguage=java contentType=text/html;charset=UTF-8...

2 years ago

1 answers
64 views
0
Please tell me how to leave the leading space in the paragraph of iText7.

Change the chunk of iText5 to Paragraf of iText7.Parograph removes the leading space.The current form is spaced out, so if the space is deleted, the layout will be corrupted.Is there any way to leave ...

2 years ago
« - 44 - »

© 2024 OneMinuteCode. All rights reserved.