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
93 views
0
I want to release AlertDialog, but I get a build error.

Problems you are havingI want to issue an AlertDialog, but I get a build error.I looked it up, but I don't know, so please let me know.valdialogBuilder=AlertDialog.Builder(this)Here's an error message...

1 years ago

3 answers
135 views
0
I want to set the value in the private field, but it doesn't work.

There is a private field A that is not used by others.However, I now need to access the field for testing.To do this, we decided to access it using java.lang.reflect.The field is in homegrown class B ...

1 years ago

2 answers
155 views
0
View becomes Not found in SpringMVC

Using the Spring framework, I create a web application (however, hello world).I can browse index.jsp without the controller, but When I implemented the controller, I received an error indicating that ...

1 years ago

1 answers
74 views
0
"Unresolved reference kotlinx" error

An error occurred when I upgraded Android studio to 1.3.2.import kotlinx.android.synthetic.activity_userpage.pagerimport kotlinx.android.synthetic.activity_userpage.tabsWhen you hover your cursor over...


1 answers
134 views
0
I want to link test codes and product codes

Does anyone know how to link test codes and product codes?I'm currently developing software in Java, but it's getting a little complicated.I want to do the test well, so I want to know which test code...

1 years ago

1 answers
119 views
0
About adding the java filter program

Hello.The other day, I had a problem with the system that was in production.障害 For details of the failure, please refer to About garbled characters when adding java filter programsSee the .As a counte...

1 years ago

1 answers
103 views
0
About Asynchronous Communications from Android

About Android Asynchronous CommunicationsI'd like to make it possible for Android to communicate over the network and switch on and off the sensors at home, but I'm worried about what kind of system I...

1 years ago

1 answers
36 views
0
What language is Java written in?

I searched in English, but I couldn't get a definite answer because the translation didn't work well.It was a stack overflow, so can I ask you a question here?

1 years ago

2 answers
38 views
0
Do you want to continue java? It doesn't stop when I type N in the Y/N decision.

import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class LoToi1 { public static void main(String[]args) { // Preparing to enter BufferedReader br = new ...

1 years ago

1 answers
146 views
0
JavaFX ProgressBar Does Not Update

Environment is Java SE (Java 8 Update 40) on Windows 7 tracker = new TrackBackupService(); tracker.setOnReady(WorkerStateEvent)->{ backupUserCancelled=false; }); tracker.setOnScheduled ((Worker...

1 years ago
« - 18 - »

© 2024 OneMinuteCode. All rights reserved.