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
148 views
0
How do I convert a Java program to a .exe file?

How do I convert a Java source file (*.java) or class file (*.class) to a .exe file?And I want to make an installation program for my program.Is there an open source to do this?

2 years ago

1 answers
88 views
0
What is serialVersionUID and why do I use it?

If serialVersionUID is not defined, the clip displays a yellow warning message.The serializable class Foo does not declare a static final serialVersionUID field of type longWhat is serialVersionUID? W...


1 answers
28 views
0
I'm going to divide the Android list view items into sections by alphabet. You'll understand if you look at the picture in the content.

I want to show the items by dividing the sections by alphabet like that picture. Help me

2 years ago

1 answers
135 views
0
How many threads does Java VM support?

How many threads does Java VM support? Is it different depending on the manufacturer or operating system? What are the other factors?

2 years ago

1 answers
96 views
0
Extended recyclerview method

I want to make the layout come out under the position every time I click each position in recyclerview and disappear when I click again, what should I do? Should I do it on click on the main page? I g...


1 answers
142 views
0
Java/Spring-based Restful API Document Automation and Description Solution

I am developing iOS Native + Web App. I think Android will work together.However, there is no explanation for each item of the server Rest API, and there is no guide to using the API, but every time I...

2 years ago

1 answers
45 views
0
Can I designate the package inside the JAR file as a class pass?

Build an application with a class called ExampleJob into a JAR fileIt is possible to take this JAR file as a class pass and run the Sample Job class. Like below:#!/bin/bashJAVA_HOME=/usr/local/jdk1.8....

2 years ago

2 answers
129 views
0
Multiple constructors are required for Java inheritance

I'm a self-taught student in Java. I am studying inheritance and super class nowIf a superclass can have multiple constructors, I would like to ask you how to create a subclass constructor. The code I...


1 answers
111 views
0
How to Use the Java Debugger

Hello, the attached picture shows the values of the variables that can be seen when using the Eclipse debugging function.I want to extract variable values like the contents of the Variables tab in the...

2 years ago

1 answers
135 views
0
[java] I don't know how to put an array in an array list.

I want to know how to put an array in the Java arrayList. [] The square brackets are arraylist {} Braces are arrays[{array 0, array 1, array2} {array 0, array 1, array2}...{array0,array1,array2}] I wa...

2 years ago
« - 79 - »

© 2024 OneMinuteCode. All rights reserved.