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
126 views
0
AUTOMATIC PASSWORD INPUT PROGRAM FOR PDF FILE

I am currently using Java to create a program that parses the passwords of PDF files in bulk.I have a code that prints the half-width alphanumeric combination for n characters, but I don't know how to...

1 years ago

2 answers
80 views
0
I want to prevent Kotlin class method invocation as compilation error

Since Kotlin does not want to invoke a specific method in only one of several implementation classes for an interface, we would like to prevent it from being used by making a compilation error.Specifi...

1 years ago

1 answers
118 views
0
I want to export the Eclipse project so that it can be used on other computers.

I exported the project I made with Eclipse so that it can be used on other computers, but I can't use it on another computer, so please tell me why.I will use JRI for the project, so I will leave a pr...

1 years ago

2 answers
64 views
0
Running the class.class method name in the static class results in an error.I don't know why.

I have two questions for the program below.If you write ST_Test.testMethod(2); in the main class, the method is executed, but if you write ST_Test.testMethod(2); in the ST_Test class, which is a stati...

1 years ago

1 answers
50 views
0
I want to complete a program where I buy multiple items in bulk and buy them at a discount.

I would like to complete a program where I can buy several items in bulk and buy them at a discount on Java.It's a program that outputs standard output from standard input values, but it's struggling....

1 years ago

2 answers
62 views
0
I want to display the number of appearances of each of the 100 0-9 integers displayed in random numbers in asterisk (*).

source code int[] frequencies = new int[10];int[] ar1 = new int[100];for(inti=0;i<ar1.length;i++){ ar1[i] = land.nextInt(10); System.out.println(ar1[i]); int array=ar1[i]; frequencies [array]++;I'd...

1 years ago

1 answers
83 views
0
What is Upgrade JBoss Remoting?

About JBoss Remoting UpgradeIf you know the outline of how it works, could you please let me know?Specifically, I was reverse engineering an existing client server system, and I was working on it, so ...

1 years ago

2 answers
61 views
0
DTO Combination Processing Configured in the LIST

I'm trying to combine the DTO configured in the LIST with the key in the for statement, but I can't think of a good way to do it...What you want to do:DTOs with hoge1, hoge2, and hoge3 in the nest are...

1 years ago

2 answers
70 views
0
How do I determine if the method was executed just before as a condition of an if statement?

As a condition of if, I would like to create a program in which if the method before it is executed, I will do what is written in if.Specifically, the following code is available:Please.import java.ut...

1 years ago

1 answers
55 views
0
ArrayIndexOutOfBoundsException error when creating array in Java

I would like to merge the two arrays and create a new array with the numbers sorted in descending order, such as the following, but I get an error ArrayIndexOutOfBoundsException.I don't know why this ...

1 years ago
« - 10 - »

© 2024 OneMinuteCode. All rights reserved.