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
74 views
0
Null → Empty Character Conversion of Map in JsonNode

Thank you for your help.This is a server-side development in Java.I'm binding data using Jackson's JsonNode mechanism, but what should I do if I want to convert it to an empty string when the value of...

2 years ago

1 answers
74 views
0
Description of AOP Named Point Cut Formula

When describing a named point cut, the following format was described:Is it possible to write arguments in () and specific actions in {}?I have looked into many things and found only the following for...

2 years ago

1 answers
31 views
0
I want to make a zip file with password with zip4j in java.

I'm trying to create a zip file with a password in java.Arguments are as followsAs a result, the path described in argument 1. had a zip file, but no password...When extracted, it contains a folder wi...

2 years ago

1 answers
28 views
0
Camera.open() 'open' keeps losing money

We are developing a camera application.I'd like to display the image obtained from the camera on SurfaceView, but I can't.When I tried to copy the sutra, the title open remained in the red.Other than ...

2 years ago

2 answers
40 views
0
I want to copy guard mp3 on Android/iOS.

Thank you for your help.Please lend me your wisdom.It is currently under development at Unity, but On Android/iOS, ①How to play mp3 files with a zip password on AudioClip etc.②How to play mp3 with byt...


1 answers
35 views
0
I want to display JVM heap for each server in Datadog

For dashboards that are preset, The values for each server are shown in one graph, but I'd like to make a graph for each server.What should I do?

2 years ago

1 answers
120 views
0
The URL of the file uploaded to GCS is not updated.

Thank you for your help.Environment Java: 1.7Eclipse: 4.3GAE: 1.9.30servlet:2.5appengine-gcs-client:0.5Servlet now uploads the image file to GCS and returns the URL of the file.Yes, I work with GCS us...


1 answers
75 views
0
In API response, I want to store any entity in the BODY and return a non-HTTP status of 200.

running environment:Windows, Java 1.8.0I am currently writing the following code as an error response to an API using JAX-RS (Jersey).Now, I want to return HTTP status such as BAD_REQUEST while storin...

2 years ago

1 answers
88 views
0
Error if url parameter in restfulAPI contains %

I am creating a WEB API in playframework 2.x, but I get a Bad Request error when the url parameter contains %.For example, when searching with the string 20% off...Bad Request For request 'GET/search?...

2 years ago

1 answers
34 views
0
The formula doesn't work in java.

I am a beginner in java.I deleted what I posted before and rewritten the code, but I can't make my first self-made application well.The concept is a game action technique, and which combination will c...

2 years ago
« - 47 - »

© 2024 OneMinuteCode. All rights reserved.