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
31 views
0
I want ScheduledThreadPoolExecutor to fail when the same job accumulates

If I run a job regularly in ScheduledThreadPoolExecutor#scheduleAtFixedRate, if the job runs longer than the run interval, the next job execution will be delayed during that time, but if the previous ...

2 years ago

1 answers
86 views
0
Sometimes I cannot get hangoutLink for events created in Java

The Java app uses Calendar API v3 (v3-rev260-1.23.0) to insert the event.During insert, the calendar user is guest-registered with the attendees parameter.However, sometimes hangoutLink cannot be retr...


2 answers
101 views
0
I want to combine the lists in stream.

[[a, a, a], [b, b, b], [c, c]][a, a, a, b, b, b, c, c, c]I'd like to do this, but is there any way I can do it on stream at once?// This is what it looks like when you loop normally.List innerA=Arrays...

2 years ago

1 answers
130 views
0
jsp, I want to use servlet and add the contents of the form to the database

From test_db.jsp to test_db.java display works well, but the results do not reflect after that.I am using Eclipse ver.2019-03 (4.11.0).I look forward to hearing from you.test_db.jsp<%@pagelanguage=...

2 years ago

1 answers
30 views
0
Test Case Concepts

This time, we are going to create a test case for each method, but it is stuck from the first method.Create a Test Case All Normal Input Data Normal PatternsAbnormal Input Data Abnormal Patterns AllBo...

2 years ago

1 answers
101 views
0
I want to use Thymeleaf in JavaScript code

I would like to use Thymeleaf in the JavaScript code in HTML.The source code is as follows:More specifically, ${i} is specified in Thymeleaf, so I would like to refer to the contents of the i variable...

2 years ago

1 answers
28 views
0
Using CookieManager to Save Cookies on Android

I made a post request from Android to the web server and I'm trying to create an app that stores cookies. (post parameters are not implemented) If we didn't discard the activity, we were able to save ...

2 years ago

3 answers
27 views
0
I want to reduce the nesting of if statements in java.

If there is a nested if statement like the one below, is there a good way to make it depth 1? if(a==null){ if(b==Ahhhhhhhhhhhhhhhhhhhh running text } if(c==good){ running text }}

2 years ago

1 answers
125 views
0
Regarding the cost of description when jsp or thymeleaf is introduced

Nice to meet you.I would like to ask you a question about the content of the title.I heard that creating jsp based on html is a very difficult task.First of all, I think the following points can be ra...

2 years ago

1 answers
118 views
0
JFrame application has gaps

I'm using JFrame to create a 2D game in Java, but when I start it, sometimes there is a mysterious gap between the right end and the bottom as shown in the picture.Tinkering with Layout didn't really ...

2 years ago
« - 53 - »

© 2024 OneMinuteCode. All rights reserved.