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
31 views
0
Java Date Format Conversion Questions

I'm having trouble with Java programming.Please let me know if you know.画面 I would like to convert the date yyyy/MM/dd HH:mm:ss (JST) entered in the text box on the screen to UTC and UnixTime, and I w...

2 years ago

1 answers
33 views
0
Understanding the Timer Class Schedule Method for Java

I wanted to implement the timeout using the Timer class schedule method.to.schedule(time,1000);After 1000 ms, the time object is processed as shown in .class TimeOut extensions TimerTask { private boo...

2 years ago

1 answers
29 views
0
How to Resolve Java Impl Errors

http://doma.seasar.org/downloads.htmlWhen I put in the doma tutorial project on the above site, private final EmployeeDao dao = new EmployeeDaoImpl();There is an error in the Impl area.This Impl is ge...

2 years ago

3 answers
33 views
0
About Image Resize

I am a beginner in java.Currently, I would like to write a program that captures images, resizes them to the specified size, and returns them in BUfferedImage, but I don't know what to do.I don't want...

2 years ago

1 answers
84 views
0
android on cocos2d-x(v3.14.1) crashes during sdkbox::PluginShare::init()

Prerequisites/What you want to achieveI would like to implement sdkbox's twitter sharing function (with images) on Android.Android version only sdkbox::PluginShare::init();It will crash at the part of...


1 answers
108 views
0
Automatically insert empty line breaks into .docx

Creating an XSLT style sheet that generates a batch of Word (.docx) from XML.I think the layout is as follows. Place the description and instructions to the left and the image to the right.An element ...

2 years ago

1 answers
78 views
0
The paintComponent() will not be called even if you write paint()...

I'm making a simple game using swing, but I'm having trouble with the drawing process...I think I wrote the process of continuing to repaint components using parallel processing, but no matter how man...

2 years ago

2 answers
37 views
0
What is the internal processing of the reference delivery?

I don't understand why the reference point for both list2 and list2 has changed with the code below.Note: I am not familiar with C#.private void TestMethod(ref List<String>list2){list2 = new Lis...

2 years ago

1 answers
99 views
0
I want to specify multiple values for SQL IN clauses with named parameters.

The framework uses Spring.NamedParameterJdbcTemplateWould it be possible to run SQL by arranging multiple values for the following placeholders (:id portion) using the class?I would like to arrange se...

2 years ago

1 answers
36 views
0
RecyclerView handles onClick from activity rather than from adapter

RecyclerView was used to display a list of information.After displaying the list, I would like to erase the data on the external storage by pressing the erase button, and update the data on the list t...

2 years ago
« - 42 - »

© 2024 OneMinuteCode. All rights reserved.