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
41 views
0
How do I enable single quotation in the database?

I'm a super beginner.If there is a single quotation in the database, an error will appear.How can I enable single quotation?

2 years ago

2 answers
92 views
0
I want to calculate the time when I give you an angle in the analog clock implementation.

I would appreciate it if you could give me some advice.The implementation below is Swift, but any language is fine.It is implemented to determine the correct time from 12:00 to 11:00 if the time hand ...

2 years ago

2 answers
87 views
0
About Maven Proxy Authentication Errors in the Corporate Environment

This is my first time to ask a question.Thank you for your cooperation.There is a problem with the subject, and I would like your advice.We are currently deploying maven on Windows 7 as an in-house de...

2 years ago

1 answers
97 views
0
SpringSecurity login function form always causes failureUrl to skip when transition

Spring implements login functionality.I referred to the following article.Try implementing login functionality with Spring-Boot - Qiita We implemented it step by step, and we first implemented a funct...


1 answers
78 views
0
Data conversion error converting error on H2

I would like to add data from + in the image, but Blank is not allowed in H2 on the spring.Data conversion error converting error appears.This error appears when the type is set to Integer.environment...

2 years ago

1 answers
122 views
0
I want to set the initial value of branch number (%i) to 000 in log4j2.xml.

In log4j2.xml, you can set the branch number for each log rotation by setting %i as shown on the page below.Now, I would like to set the initial value (if it is logged out first) to 000.Even if the ta...

2 years ago

1 answers
87 views
0
I want to use WrapDynaBean in JSF

I want to wrap Bean with the rapper Bean who inherited org.apache.commons.beanutils.WrapDynaBean and display it in h:dataTable.The following code does not allow WrapperBean to see the value of TestBea...

2 years ago

1 answers
79 views
0
I want to create a split class for String.

java.lang.IndexOutOfBoundsException, I understand what this error means, but I don't understand why b is output 3 times and a is output 2 times.Please let me knowpublic class KString extensions Object...

2 years ago

1 answers
92 views
0
How is curl's request expressed in HttpURLConnection?

I am writing the code on Kotlin on Android.I'd like to get my github username from the access token. curl https://api.github.com/user?--user username: [token]With curl, you can get the information you...

2 years ago

2 answers
98 views
0
I'd like to simplify the nested if statement, but I'd like you to teach me how to write it well.

I would like to know how to correct the following implementation.private boolean isChange(String oldStr, String newStr){ if(StringUtils.isEmpty(oldStr)){ if(StringUtils.isEmpty(newStr)){ return true; ...

2 years ago
« - 49 - »

© 2024 OneMinuteCode. All rights reserved.