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
30 views
0
I want to read all the objects I write to the file, but I can only read the first one at the beginning

I would like to serialize and de-serialize and read and write objects to the file.I can do additional writing, but I can't read it well. No matter how many times you load it, you can only get the firs...

2 years ago

2 answers
102 views
0
About a sentence that contains if statements in an array of for statements

Thank you for browsing.I am currently learning java by myself and am a beginner in programming.I would like to enter a number from the keyboard and write a code that says Answer! if the number matches...

2 years ago

2 answers
102 views
0
@ UserService injected in Autowired becomes null

What do you want to dot I asked the same question on teratail.Please understand.https://teratail.com/questions/319227I am currently using Spring Boot to create a reservation site.What I want to do now...

2 years ago

1 answers
41 views
0
What bar code standard does the Android standard library support?

Do you have any official information on the list of bar codes supported by the standard library of Android?Also, is it compatible with the standard of GS1 data bar for medical drugs?

2 years ago

1 answers
70 views
0
"Context Startup Failed Due to Previous Error" Error on Tomcat Startup

I'd like to connect MySQL (ver: 8.0.11) to Spring for DB processing, but when I start Tomcat, the console displays the following error: Context startup failed due to an earlier error.Warning: Exceptio...

2 years ago

1 answers
30 views
0
I get an error when I try to start STS.

When I start STS, I get the following error:What should I do?A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run STS. No Java virtual machine was found aft...

2 years ago

1 answers
50 views
0
When Realm handles multiple .realm files, Migration wants to view data from another realm file.

If I have two files, default.realm and readonly.realm, how can I update them while referring to the data in readonly.realm during the default.realm migration?

2 years ago

1 answers
35 views
0
Please let me know if there is a way to automatically compress the uploaded photo.

To everyone with knowledgeI posted it yesterday, but I thought it might be a misleading question, so I will post it again.We are currently receiving a request and consultation from a certain customer ...

2 years ago

1 answers
40 views
0
How do I find areas that violate specifications, such as extra spaces?

Solving Aizu online spreadsheet problem.The following code is a presentation error.According to Aizu Online Judge issue (presentation error), it seems to mean that the output specification is violated...

2 years ago

1 answers
86 views
0
Perth of json using Gson doesn't work

I'm trying to get a value from the following json using the code below.{block_size: 50,mosaic_size_h—45,mosaic_size_w—80,0:0,1:3,2:3,3:3,4:3,...}import android.util.Log;import com.google.gson.Gson;imp...

2 years ago
« - 58 - »

© 2024 OneMinuteCode. All rights reserved.