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
32 views
0
The program whose results depend on the Yes or No option and the number entered in Java does not work well in the if syntax.

I am a beginner in Java.Depending on the current Yes or No option and the number (age) entered, Yes 11-60No. 12-59No 0-2No. 3-11No. 12-59I'm trying to create a practice that branches each of with an i...

2 years ago

1 answers
30 views
0
INFORMATION CONCEALING PROGRAM FOR JAVA

The following questions were asked for the university assignment.Create a TurtleTrap4 class with the method public void setColor (java.awt.Colorc) added to hide information.In addition, create a Turtl...

2 years ago

1 answers
92 views
0
How Spring validates a collection by element

What should I do if I want to change the input check error message separately for each element of the collection when validating a class with a collection field, as shown below?public ParentForm{ priv...

2 years ago

1 answers
104 views
0
What is the meaning of void in the AsyncTask argument?

public static class DownloadWorker extensions AsyncTask <Void, void, void{ @ Override Protected String doInBackground (Void...voids) { return null;


1 answers
45 views
0
I want to run j2se apps on Android and ios.

There is a game program that I wrote on swing a long time ago, and I would like to port it to mobile.For example, if you have a j2se(j2me?) compatible jvm that runs on Android or iOS, is there such a ...

2 years ago

1 answers
35 views
0
I want to implement a screen transition like Activity in Fragment.

I want to implement a screen transition like Activity on Android Fragment, but I can't find a good way.Specifically, there are a, b, and c activities that transition from a to b, and then back to a wi...

2 years ago

1 answers
31 views
0
About the Java Listing

I am making a list to fill out the form.The flow first defines the form of the business form.A key and a value corresponding to the field of the business form are then registered (this time the input ...

2 years ago

1 answers
79 views
0
Is it possible to debug remotely via Eclipse proxy?

Is it possible to remotely debug processes running on a Weblogic server by attaching them via proxy from Eclipse on another PC?The environment is as follows:Server Container Weblogic 12cClient (IDE) E...

2 years ago

1 answers
89 views
0
Are the objects stored in the session scope server-side or client-side?

I've had a year and a half of programming experience. My senior asked me the following question last time. Is the object stored in the session scope server-side or client-side? I'm trying to find out ...

2 years ago

1 answers
140 views
0
Error after running in javafx

When I press the check button in JavaFx, I create a window where the image is displayed on the label, but when I run it, I get the following error:I think it might be a problem with the image.As you c...

2 years ago
« - 40 - »

© 2024 OneMinuteCode. All rights reserved.