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
62 views
0
Javagui NullPointerException error.

package music_game_1;import java.awt.Color;import java.awt.Graphics;import java.awt.Image;import java.awt.event.MouseAdapter;import java.awt.event.MouseEvent;import java.awt.event.MouseMotionAdapter;i...

2 years ago

1 answers
93 views
0
What is the reason for using the interface instead of the abstract class?

In the past, when taking classes, the professor uses interfaces rather than abstract classes. And they didn't give me any additional explanationsWe moved on to the next page, but now that we're progra...

2 years ago

1 answers
29 views
0
Hello! I have a question about the thread

Suspended (exception unsatisfiedLinkError) What's wrong with these errors appearing in the main thread?

2 years ago

1 answers
78 views
0
When calling a method in Java, is the parameter call by reference or call by value?

I thought it was a call-by-reference, but it's called a call-by-value on the Internet. Why?


3 answers
66 views
0
api java objectification

[a, b, c, [d, f, g]] There's an api that prints these values, but is this type of api also json?I'd like to ask you this question because I want to make API a Java object like this.

2 years ago

1 answers
142 views
0
How do I send an email using JavaMail API without the library built into the app on Android?

I'm going to make an app to send emails.Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);If you do this, you will send an email with the one that is embedded in the Android app What...


1 answers
107 views
0
This is an initialization question for Android Studio variables.

I am Corin who is studying hard because I am interested in making an application.It's hard to apply for a book When I looked up the onCreate() in question, it seemed like the first automatically decla...

2 years ago

1 answers
97 views
0
Spring Security Oracle sql Question (incompatible column index)

List<String> type =getJdbcTemplate().query( SQL , new String[] {id, id}, new RowMapper<String>() {SELECT USER_TYPEFROM ( SELECT 'user' as USER_TYPE FROM TABLE_USER WHERE USER_ID=? UNI...


1 answers
77 views
0
Replace a String within a Text File

We are now solving the problem of replacing a string in a text file by taking it over the command line, and the first and last searched string should be output as a specific string other than the one ...

2 years ago

1 answers
40 views
0
I want to know how to input/output a large number file

We're going to practice creating more than 100,000 random natural numbers with 232 in javaI don't think it's possible with a scanner. It's not working.I'm trying to create it, save it, load it, and so...

2 years ago
« - 103 - »

© 2024 OneMinuteCode. All rights reserved.