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
33 views
0
Declaring Java Array and Accessing Elements results in null

I am a beginner in java.We are working on the problem of using the array we found in the problem book to find the zodiac sign, but the result will be null with the source code below.If you enter the W...

2 years ago

1 answers
87 views
0
Android Studio error: Unable to locate adb with SDK

I'd like to install it on Android Studio, but when I press the Run button, the message Unable to locate adb with SDK appears.I'm not sure, so please tell me how to solve it


1 answers
32 views
0
Array Handling Using ArrayList

What should I do if I want to deal with the array data[optional][3] in java on Arraylist?I looked into the method of 2D array, but I couldn't understand one more thing.

2 years ago

1 answers
100 views
0
This is a question about XML errors in Android application development.

I am currently editing XML and Java files.Unable to handle errors in XML.The location of the error is in the first line.<?xml version=1.0 encoding=utf-8?>That's right.As an error indication, Mul...


2 answers
36 views
0
To convert a CSV file with 1 column x thousands of rows into a two-dimensional array

I'm a beginner in programming.I am very sorry for asking you a rudimentary question.We are considering converting CSV file data into a two-dimensional array to make it easier to handle.The CSV file st...

2 years ago

7 answers
104 views
0
Do you have a Java version of CoffeeScript→ JavaScript?

CoffeeScript→JavaScriptas inI'm looking for something that writes Java in a different language and compiles it with Java code.○○→ Java I have an image like this, but if you don't mind if it's close to...

2 years ago

1 answers
86 views
0
Do you use the reserved word for interface Fn?

I created a interface named Fn, but now I have NoClassDefFoundError. interface Fn { void f();}class fn implements Fn { void f() {println(default);}}void setup() { fn_fn = new fn() { public void f() {p...

2 years ago

1 answers
77 views
0
Is there a way to make sure that the jar file is built from the target source?

Various jar files can be added as dependencies by utilizing nexus repository such as maven central.Suddenly, I wondered if there was any way to verify that the jar file uploaded here was built from th...

2 years ago

1 answers
38 views
0
I want to dim the status bar from the service.

I would like to always use setStatusBarColor() to darken the status bar in the background.If you do so in the class that inherited the service, you will get an error in getWindow().Please tell me how ...

2 years ago

1 answers
119 views
0
How do I change the value in EventHandler before onCreate?

I would like to change the value of uri according to the conditions before displaying WebView on Android. override fun onCreate (savedInstanceState: Bundle?) { super<DefaultActivity>.onCreate(s...

2 years ago
« - 34 - »

© 2024 OneMinuteCode. All rights reserved.