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
33 views
0
GetSupportActionBar Error on Android

An error (cannot resolve method) appears in the getSupportActionBar in the code below.I wonder why.Please let me know if you know more.public class MainActivity extensions Activity { private WebView m...

2 years ago

1 answers
76 views
0
Understanding AutoWired Behavior of Spring

Hello, I'm writing to ask for your advice.@Servicepublic class Parent1 extensions Child { // This is just a definition.}public class Child extensions BaseChild { // This is where we call the base call...

2 years ago

2 answers
124 views
0
Can you comment that the return value is NotNull?

We would like to ensure that the method returning List does not return null.For implementation, I only return Collections.emptyList() instead of null, but is it possible to express in an annotation th...

2 years ago

1 answers
34 views
0
java.lang.RuntimeException: setParameters failed when built with API28 or later

Hello, I am a beginner in Android development.I'm using the Camera API, but API 28 has built and the following error:E/SurfaceView:Exception configuring surface java.lang.RuntimeException: setParamete...

2 years ago

1 answers
48 views
0
Status Codes in Android Studio WebView

In order to get the status code from Android Studio in Webview, I looked at the reference site and wrote the code, but the app fell off in the middle.How can I prevent the app from falling off?Referen...

2 years ago

1 answers
87 views
0
RegistrationID cannot be obtained from GCM.

I am an Android developer.In the application currently being developed, There are several terminals that cannot get RegistrationID from GCM when delivering push notifications.After conducting an inter...

2 years ago

1 answers
47 views
0
Understanding How to Begin the Java Method

I finished writing the following code, but I get the error Illegal start of expression for which method.I tried setting the method to Public and changing the Void, but I don't know why.Please explain....

2 years ago

1 answers
34 views
0
I would like to make a program to obtain the radio wave intensity of the access point live.

Currently, we are developing an application to obtain AP radio intensity through Android, but we can only obtain AP radio intensity when executed.What should I do to obtain the intensity of the radio ...

2 years ago

1 answers
118 views
0
I would like to resize the 100*300 image to 200*200 while maintaining the aspect ratio, and re-create the image with the excess painted out.

It's just like the title.To be exact, I would like to pick up a local image file from the react-native app launched on an Android device and create an image that resizes the image to a specified size ...

2 years ago

1 answers
89 views
0
An application created with object orientation will fail at startup.

If you run the following program on your smartphone, it will end as soon as it starts.There are no errors when coding, so I don't know where the problem is.If there is anyone who can tell us the cause...

« - 59 - »

© 2024 OneMinuteCode. All rights reserved.