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
Filename in Windows Environment

We are conducting a standalone test.The method returns a file path that matches the first 10 digits of a file name in a directory.By the way, the sauce looks like thisprivate String getXmlFormatFilePa...

2 years ago

1 answers
54 views
0
I want to extend the Union type in Java generics.

When specifying the type of Java generic (like the Union type of TypeScript), is it not possible to specify a type such as String or Long type?Image (?) class Test <Textends String | extensions Lon...

2 years ago

1 answers
133 views
0
@RequestScoped gives Runtime Exception.

[Event]I write a program where I enter my number and name from the screen and display it on the console, but when I run it, it becomes RuntimeException and I can't open the screen.[Tries]I deleted @Re...

2 years ago

1 answers
34 views
0
Differences between "Full GC" and "Full GC (System)" in GC Log

We are investigating the phenomenon of Full GC. Full GC and Full GC (System) are present in the GC log.My predecessor is counting without Full GC (System)…I asked you a question because I didn't know ...

2 years ago

2 answers
104 views
0
I want to intentionally print Java coredump on a Windows server.

I would like to intentionally print Java core dumps on a Windows server.If anyone knows how to output it, please let me know.EnvironmentJava(TM)SE Development Kit 11.0.12(64-bit)Windows Server 2019


1 answers
32 views
0
About Java ArrayList

I finished writing a program that excludes the last number equal to X in the parameter, but it didn't work.Example) If the list is <2,4,1,4,5>,X=4, then the list is <2,4,1,5>public static ...

2 years ago

1 answers
36 views
0
Apache Solr processing error, cannot be retrieved

After indexing using Apache Solr in batch processing, search is not possible.(1) After comparing the logs of normal and abnormal conditions, it was found that the following process could not be perfor...

2 years ago

1 answers
140 views
0
Update to the latest OpenJDK on Amazon Linux

I am using OpenJDK8 (1.8) on Amazon Linux.I'm thinking of updating to the latest OpenJDK to address Java vulnerabilities.However, Java SE8 Update 141 does not exist and cannot be updated.Java SE7 Upda...

2 years ago

1 answers
98 views
0
Does SAStruts work with Tomcat7?

Struts SA < p > it must, you will have movement an application, and by < / >To Tom, 17, moving toward the. < / >However, javax.servlet.ServletRequestWrapper.isAsyncStarted(ServletRequestWrapper.java:3...

2 years ago

1 answers
30 views
0
create a rock-paper-scissors program in Java

John's hand prints rock, paper, scissors, rock... and Paul's hand prints randomly, so I did the following, but it prints differently from what John's hand expects.(By the way, the winner of this rock-...

2 years ago
« - 46 - »

© 2024 OneMinuteCode. All rights reserved.