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


4 answers
33 views
0
How to Retrieve the Number Replaced by String.replace()

I'm looking on the Internet and Java Doc to find out how to get the number replaced by Java's String.replace().Unknown.If you run String test; with long text as test.replace(Ai, ABC;, I'd like to get ...

2 years ago

1 answers
40 views
0
I want to use zip4j on Android to expand zip file with password, but it causes garbled characters.

I am creating an application to deploy zip files with passwords on Android, but when I unzip a zip file containing a Japanese name, the file containing Japanese is garbled.Please let me know if there ...

2 years ago

1 answers
67 views
0
I want to replace {0} with a field name in Validation error on Spring Web

I am using the validation function of Spring Web.To include the field name in the error message, we implement it as follows:import javax.validation.constraints.NotEmpty;...abbreviated...US>MyForm{ /**...

2 years ago

1 answers
41 views
0
How do I set a string for View in onFocusChange?

In OnFocusChange, check the entered string for error check If there is an error, I would like to return it to the original string.String from View of OnFocusChange ArgumentsI was able to obtain it usi...

2 years ago

1 answers
83 views
0
SAXNotRecognizedException Occurs During XML Read After Updating to java6→java8

The XML load that worked properly in java6 is updated to java8 and The following Excepiton is now available.If you have experienced a similar phenomenon or know how to solve it, could you give me some...

2 years ago

1 answers
38 views
0
How can JAVA submit() for JSP?

How can I replace the code below with Java?I would appreciate your advice.<a href=javascript:doSubmit()>Move Page</a>function doSubmit(){ document.form.mode.value=abc; document.form.action...

2 years ago

2 answers
33 views
0
US>To display mouse-pressed coordinates on the screen

After a screen is generated by using swing, coordinates pushed by the mouse are displayed by using mouse event processing.For that reason, I understand that it can be realized using the MouseListener ...

2 years ago

3 answers
34 views
0
Ability to automatically grant Serializable to all fields recursively

If you want the Java class to be Serializable, you need to recursively add Serializable to all existing fields. Is there any IDE functionality or tool to do this automatically?

2 years ago

2 answers
89 views
0
JDK is not available at command prompt

I think I installed JDK and passed it through Path.Microsoft Windows [Version 10.0.15063](c) 2017 Microsoft Corporation. All rights reserved.C:\WINDOWS\system32>javac-version'javac' is an internal ...

2 years ago

1 answers
41 views
0
I want to display the item on the Android fragment, but it doesn't work.

http://gacken.com/wp/program/android/1927/I put the adapter in the Android fragment for reference.1 2 3 is displayed, but no groups are displayed.How do I resolve this?ItemListFragment.javapublic clas...

2 years ago
« - 24 - »

© 2024 OneMinuteCode. All rights reserved.