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
37 views
0
I want to get an error when android fails to send POST

Android POSTs sqlite data and stores the data in the sent data, but even if an error occurs while fiddling with the recipient's PHP, it is considered to have been communicated and stored in the data i...

2 years ago

2 answers
140 views
0
What is a good way to check the existence of mail domains on the client side?

To prevent typing errors and unauthorized registration when entering a new member registration email addressI want to implement the function to check if the domain entered by the user exists.*If possi...

2 years ago

1 answers
110 views
0
How to Enable Multi-Tenant Using EclipseLink

Wildfly10 uses EclipseLink.I'd like to separate the DBs for each tenant who uses the application.(The purpose is load balancing.Data protection uses DB line-level security.)When I looked it up, I foun...

2 years ago

2 answers
86 views
0
Error when setting EditText to onClick in activity_main on Android

An error occurs when you set EditText to onClick in activity_main on Android.The code is as follows, and if you erase the onClick code, you will not get an error.Please let me know if you know more.&l...


2 answers
33 views
0
I want to override the methods in the internal class in Java.

Is it possible to do the following in Java?abstract class A<Textends B>{ Tbaz; A(){} String getFoo() { return this.baz.b1; } classB{ String b1; US>B(){ This.b1 = bar; } }}class A'extends A<B'...

2 years ago

1 answers
131 views
0
Java servlet encoding problem

I'm a beginner at Servlet.Today I'm studying servlet encoding.I encountered a garbled character while creating a string from a byte string.OS: fedora28jdk —java10server:tomcat9IDE:eclipse 4.8Here's th...


1 answers
33 views
0
How to Verify Java Version Compatibility

I'm trying to re-compile the web app I created in Java 1.4 and run it in Java 8.If the Java version goes up, there will be various compatibility issues, so please let me know how to check it.For examp...

2 years ago

1 answers
35 views
0
How do I log in to the token method?

For personal interest, To the website using tokensI wanted to log in and try scraping.I wrote it down, but it doesn't work after logging in.I tried my best to find out what caused it, but I'm not sure...

2 years ago

2 answers
142 views
0
Error in Maven's pom file: Failed to read artifact descriptor

I am creating a linebot for GitHub below, but I cannot solve it because there is an error in Maven's pom file.https://github.com/gishi-yama/linebot-java-handson/blob/master/doc/04.mdI changed the line...

2 years ago

1 answers
60 views
0
Javac.exe terminated with code 2, but cannot be built.

I created the Hello world app to develop Android with Visual Studio 2015(VS)+Xamarin, but when I built it, I got the error Javac.exe ended with code 2 and I couldn't build it.After some research, I fo...

2 years ago
« - 29 - »

© 2024 OneMinuteCode. All rights reserved.