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


2 answers
29 views
0
a program that repeatedly inputs values in Java and stops input when the total value exceeds 100 or when input is made 10 times and outputs the previous value

I am a beginner in Java.We have created a program that repeatedly enters values and the total value exceeds 100, or stops typing when it is entered 10 times and outputs the previous value.I write usin...

1 years ago

2 answers
104 views
0
I want to share a session between applications with two war files

I am creating a web application with JavaEE7+Wildfly10.I use gradle for the build.As an independent gradle project, there are two web applications, each built as a war file.Deploy these two war files ...

1 years ago

1 answers
131 views
0
I want to display a map like Pokémon GO.

I can't find a way to customize those designs, leaving information on roads and buildings.If anyone knows, please let me know.I'm thinking of creating a map of my own design using the Android app.Poké...

1 years ago

1 answers
91 views
0
a method of determining whether the value of a variable has increased or decreased

I'd like to implement it on Swift, but any language is fine as long as logic is applied. The value (numeric) of a variable changes dynamically, but I'd like to branch the process by whether the value ...

1 years ago

1 answers
69 views
0
Proxy changes per web access

In a university study, to collect various dataThe Java program is scraping the data on the web.Data access uses multiple forward proxy servers (apache).To prevent access from being concentrated on a s...

1 years ago

2 answers
153 views
0
I want to display the a-frame in the Android webview.

Web page using WebVR framework a-frame using WebGL, I'm thinking of using webview to display it on the app instead of Android's Chrome app.As a trial, I tried to display the official site of a-frame a...

1 years ago

1 answers
115 views
0
How do I create a QR code for Zxing in Java 1.5?

I am trying to create a QR code for Zxing in Java 1.5.However, regardless of whether you download javase or core jar, When running the Java program, is the following version different?An error occurs ...

1 years ago

2 answers
89 views
0
The meaning of the regular expression ¥d.+?yen

I am currently studying Java regular expressions through the website.I don't understand the meaning of the part written ¥d.+?yen below.Could you please let me know what pattern it means to match the t...

1 years ago

1 answers
171 views
0
Understanding JavaFX MVC Class Methods

I'm making a simple app with JavaFX to practice MVC, but I can't make it well.Especially, I am not good at communicating View input to the controller.Below is the source I am making now, but I use the...

1 years ago

2 answers
36 views
0
java ProcessKeyEvent

I don't know how to use KeyEvent.If you execute the code below, enableEvents (long) will be accessed protected by Componentsaid the error.I think it's a basic question, but I couldn't find it when I s...

1 years ago
« - 15 - »

© 2024 OneMinuteCode. All rights reserved.