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
368 views
0
Using getInputStream in a String in a Network Connection in Java

The code below allows you to answer only ○ problems (oh and X).I would like to create a description problem, but I would like to know how to use getInputStream read.import java.io.BufferedWriter;impor...

1 years ago

1 answers
309 views
0
Package javax.sql is accessible from multiple modules: , Understanding How to Avoid java.sql

The following error occurred when I changed the JDK to JDK8→JDK11 and built it.I don't know how to avoid this error, but If anyone knows, could you please let me know?Error Package javax.sql is access...

1 years ago

1 answers
359 views
0
Android TEXT File Load (Error with BufferedInputStream Argument)

I'm trying to load a text file on Android.BufferedInputStream causes an error.The content is InputStream is requested as an argument for BufferedInputStream, but InputStramReader is passed.That's what...

1 years ago

1 answers
424 views
0
Learn how to handle toast on Android apps

I'm making an application on Android Studio, but what should I do if I want the toast to show Stop processing (remove processing while processing stops) and then change the toast to Cancel processing ...

1 years ago

1 answers
390 views
0
You want to dynamically switch application.property using the environment variable SPRING_PROFILES_ACTIVE.

Prerequisites/What you want to achieveI would like to dynamically change the application.property for each environment in development using Spring Boot.Example)local environment:application-local.prop...

1 years ago

1 answers
324 views
0
SpringBoot Does Not Display JSP

I am trying to display a simple JSP on SpringBoot, but the screen is not displayed.A 404 error was displayed and I am doing various things, but it has not changed at all.Could someone give me some adv...

1 years ago

4 answers
339 views
0
Maybe we should stop declaring List list = new ArrayList()

It is often stated that List=newArrayList() should be written instead of ArrayList=newArrayList(), but is this really an excellent way to write?For example, English stackoverflow states that List=new ...

1 years ago

1 answers
369 views
0
I want to reduce program processing time by using parallel processor processing

I have created a program to extract prime numbers from numbers from 1 million to 1 million, and I would like to use the installed processor as much as possible to reduce processing time.int core=Runti...

1 years ago

1 answers
380 views
0
Using Iterator, if there is the same element in the list, please tell me how to remove it.

I have a question for the program below.入力If the same number is included in the listnumber entered and the number is included, I would like to delete the next number.I wrote like the code below, but i...

1 years ago

3 answers
277 views
0
Eclipse displays a "Super Interface Must Be an Interface" type of error message

Does the error message Super interface must be interface appear in Eclipse in java? How can I fix it so that it can be compiled?

1 years ago
« - 8 - »

© 2024 OneMinuteCode. All rights reserved.