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
127 views
0
I want to transplant Java Math.ulp (Math.nextAfter) to dart.

I'm porting logic from Java for special distance calculations in Dart.There is no match for Math.ulp in Dart, so we are implementing it on our own.I was taught by Google teacher We refer to the StackO...

2 years ago

1 answers
91 views
0
I want VSCode to be indented in the same way as Java when writing C language.

I usually use cmd+k, cmd+f when aligning indents, and when writing Java, indent is for(inti=0;i<10;i++){ ~~~~~~~~~~~~ }However, if you use the same shortcut when writing C language, for (inti=0;i&l...

2 years ago

1 answers
127 views
0
Always want to preview your camera in SurfaceView

As per the title, I would like to start the camera on SurfaceView as soon as the application is started, and I always want to keep previewing, but I use MediaRecorder to provide recording functionalit...

2 years ago

1 answers
107 views
0
I want to reproduce the pending status when charging in-app.

Nice to meet you.Let me ask you a question about Android in-app billing.We are currently developing Android at Eclipse (Java). I'm thinking about how to deal with the situation when the payment is put...


1 answers
43 views
0
Java host configuration

I am currently creating an app to save images from the website.I borrowed the code below, but java.net.UnknownHostException: sampledomail.comThere was an error and I checked and found out that the hos...

2 years ago

1 answers
44 views
0
Eclipse does not display files in only one folder

I am developing Java at Eclipse.Eclipse's open project that I've been using for over a year At one point, purging up the computer rebooted the computer.After that, I started Eclipse, but I put it in P...

2 years ago

1 answers
95 views
0
Why the Lambda formula can be passed to the RxJava method compose argument

For example, the method compose of Observable is defined as follows:I think the argument should be given a variable of type ObservableTransformer, but why can I give it a function of type Lambda?@Supp...

2 years ago

2 answers
48 views
0
Menu icon image does not appear in action bar

I want the icon to appear in the action bar as it is written here, but it doesn't show well.Currently, only menu icons (vertical ...) are displayed, not icons.I'd like to change this to an update icon...

2 years ago

1 answers
99 views
0
How to Upload an Image to a Server Using Volley

I looked at various sites and tried the source code, but I couldn't find anything that could upload images to the server using Volley.public class MultipartRequest2 extensions Request<String>{pu...


1 answers
33 views
0
What is the best way to embed code into html using java?

In php, you can embed html in the form of <p>?=$hello;?>/p>, but how do I do the same thing using java?Please let me know if you know more.Thank you for your cooperation.

2 years ago
« - 60 - »

© 2024 OneMinuteCode. All rights reserved.