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


3 answers
32 views
0
How do I identify object types in JAVA ArrayList?

Can I check if the type specified in ArrayList is the same as the object?For example, ArrayList<ABC>abc and ABC are of the same type.I tried the methods instanceOf and isAssignableFrom, but it d...

2 years ago

1 answers
30 views
0
I would like to know how to import only variables from web apps.

Check Python to see if your Twitter account is bot now.I'm writing a program called bot or not, and I found a web app called bot or not. I'd like to use python to automatically process it and bring th...

2 years ago

1 answers
46 views
0
I want to send a message to LINE from the program I created on Android Studio.

Recently, I just started developing it on Android Studio, and I would like to send a test message to my line group on LINE Notify.I have already obtained the access token on LINE side, and all I have ...

2 years ago

2 answers
60 views
0
MyBatis only gives errors when there are many parameters

Operating Environment org.postgresql:postgresql:9.3-1102-jdbc41org.mybatis:mybatis:3.2.7Connecting to RedShift to retrieve dataSELECT* FROM sample_table WHERE <foreach item=item collection=lists op...

2 years ago

1 answers
67 views
0
I want to get the data from DB and send the data by Http communication while considering the order.

If you would like to do the following, please let me know if you have any good middleware (library) or methods.There is an API server that accepts requests from clients and This server writes records ...

2 years ago

1 answers
69 views
0
TreeView initialization setRoot() results in compilation error

It may be more of a generic usage issue than a JavaFX issue, but I don't know how to resolve the error. Please let me know.I'm trying to create a desktop app using JavaFX. I'd like to see TreeView, bu...

2 years ago

2 answers
29 views
0
How to log in using jsch in java

When I used the jsch library to connect to a device where an ssh server is started, I asked for the username Login: and I couldn't complete the login. How can I fix it to complete the login successful...

2 years ago

1 answers
90 views
0
I want to parse the Google CGI API for Japanese Input results in Gson.

I would like to analyze the json returned by Google CGI API for Japanese Input using Gson, but I don't know what kind of Java class I should create to store the analysis results.If anyone knows how to...

2 years ago

2 answers
124 views
0
"Pdf direct object belongs to other PDF document.Copy object to current pdf document." exception when generating PDF in iTunes 7

When I was generating pdf on iText7, the following things happened:com.itextpdf.kernel.PdfException: Pdf direct object belongs to other PDF document.Copy object to current pdf document. atcom.itextpdf...

2 years ago

1 answers
32 views
0
Screen transition when Wi-Fi connection is disconnected

When connecting to Wi-Fi on Android Studio, the screen is transitioning, but the loading speed is slow, so I'm having trouble.OnResume is time with Activity at the front, so I'm wondering if the loadi...

2 years ago
« - 54 - »

© 2024 OneMinuteCode. All rights reserved.