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
254 views
0
Want to separate data sources by user within multi-tenant services

I plan to develop a multi-tenant service.It is assumed that each user (service user) will have a direct reference to the database of this service from an external system.We want to separate data sourc...

1 years ago

1 answers
362 views
0
Tomcat9 service outage takes more than a minute

Tomcat9 Windows service outage takes more than a minute.Is there any way to speed it up?


2 answers
337 views
0
Error converting Java to String: Cannot convert nonconforming type; Java.lang.String to String

I was doing an exercise to string numbers in Java reference books, but when I tried to compile the code as an example, an error was displayed for the following parts:If you are familiar with Java, ple...

1 years ago

1 answers
425 views
0
FOREIGN_KEY constraint error when attempting to ETL s3 data to rds in embulk

When I try to ETL the data of s3 to rds in embulk, I get a FOREIGN_KEY constraint error.Specifically, the error is as follows:java.lang.RuntimeException: com.mysql.jdbc.exception.jdbc4.MySQLIntegrityC...

1 years ago

1 answers
346 views
0
If you foreach a modal, only the same data is detected.

Techniques usedjava, springboot, bootstrap, thymeleafWhat do you want to doI would like to send the application number and status after the modal confirmation operation.ProblemsAfter opening the modal...


1 answers
364 views
0
Spring boot partial match search I don't know what's wrong

The previous question worked well, so I tried to change the table and run it, but it didn't work.What is the cause?package com.example.demo.mysql;import javax.persistence.Column;import javax.persisten...

1 years ago

1 answers
455 views
0
I would like to improve the error such as No value present that appears when I update with Spring.

When I change the value to what I want to update on the edit screen and press the execution button, an error such as No value present appears, so I would like to make this improvement.I am thinking of...


1 answers
393 views
0
I would like to know if it is possible to mock only the double autowired class.

Questions about SpringBoot dependency injection and unit testing.Based on the class being tested, is it possible to test only the classes that are double autowired by Mock?Specifically, I would like t...

1 years ago

1 answers
454 views
0
Java (Spring) Errors

The following error appears:The method getUploadFile() is undefined in the type KnpnkKnskForm.The method setOutputFileNm(String) is undefined in the type KnpnkKnskForm.In this case, do I have to defin...

1 years ago

1 answers
461 views
0
Azure SDK for Android Reference Documentation

I would like to use AzureSDK from Android to bring data IO to Blob Storage.Based on the following conditions, we are trying to develop an Android app and Azure Blob Storage data link application, but ...

1 years ago
« - 6 - »

© 2024 OneMinuteCode. All rights reserved.