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
115 views
0
I can't import konlpy, what should I do with the error?_ 2 No JVM shared library file (jvm.dll) found.

Inside the terminal >> jpype.getDefaultJVMPath()'C:\\Program Files\\Java\\jdk-14.0.1\\bin\\server\\jvm.dll' That's what it says. Inside Jupiter jpype.getDefaultJVMPath()ValueError: No JVM shared...

2 years ago

1 answers
83 views
0
I have a question about the triangular output and rhombus output using the Java scanner.

// Triangular scannerimport java.util.Scanner;public class Stars05 { public static void main(String[] args) { int line; Scanner input = new Scanner(System.in); System.out.print(How long is the line...

2 years ago

1 answers
22 views
0
java coding problem

I'm a beginner at Java.Write the Baseball Player class, Battery class, and Pitcher class that meet the following conditions.Conditions1) The Baseball Player class, which represents a baseball player, ...

2 years ago

1 answers
90 views
0
Are there any ZIP libraries available in Java that can handle real files without creating them?

I wrote the code with the spring boot.A feature that allows you to take several directories from a resource, compress them into a zip, and download them.It is currently developed using the zip4j libra...

2 years ago

1 answers
49 views
0
It's a question related to nicepay

I want to remove the payment request parameter, encryption method, and logic in the payment request jsp in PG's sample, but even if I try to put it in the controller, there is an abstract method-relat...


1 answers
80 views
0
Can you reduce the double for statement?

for(inti = 1; i <= 1; i++) {//y-axis for(int j = (char')A'; j <= (char')D'; j++) {//x-axis System.out.print((char)j + ); }//inner System.out.println();//Rewind Line }//outer for(inti = 1...

2 years ago

1 answers
21 views
0
Java Exception Handling Without Try Catch

public class Student { public int studentNumber; // school number public int kor; // Korean // English public int math; // mathematics public double avg; public int total; public Student(int st...

2 years ago

1 answers
22 views
0
Corinne Java Question (It takes too long to execute)

It's a question of taking an integer value from a text file and outputting 1. how many values are in it, 2. what is their average, and 3. values that are greater than the average. I wrote the code lik...

2 years ago

2 answers
23 views
0
After the end of the sentence...

public int solution(int num) { int answer = num; int cnt = 0; while (answer > 1){ if (answer % 2 == 0) { cnt++; answer = answer / 2; } if (answer % 2 == 1) { cnt++; answer = answer * 3 + ...

2 years ago

2 answers
22 views
0
java cmd execution question

What should I do if I only get a blank when I use cmd?

2 years ago
« - 142 - »

© 2024 OneMinuteCode. All rights reserved.