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
56 views
0
About SpringMVC Screen Transitions

(java)We are developing Java Web software using SpringSTS on Eclipse 4.6.When I transition from the first login screen to the next menu, jsp will run The corresponding controller class GET method will...

2 years ago

1 answers
102 views
0
I want to define API method arguments and return values abstractly

(Windows, Java 1.8.0)Currently, I am writing the following code as an API using JAX-RS (Jersey).@Path(API_01)//URL at API call @POST @Produce(MediaType.APPLICATION_JSON) publicResponseObj execute(Req...

2 years ago

5 answers
31 views
0
Why does floating-point operations differ from the intended result?

I have a question about missing information.Please tell me why 1/n is added n times in the program below, but the answer is not 1.0. float f=0.0; int n = 100000;for(inti=0;i<n;i++){ f+ = 1.0/n;}pr...

2 years ago

1 answers
109 views
0
I don't know how to handle java strings and ArrayList.

Hi, nice to meet you.I have been studying java for about 3 months.The text file printed with the following code will never be the ideal value.Specifically, two text files are taken for input.Each text...

2 years ago

2 answers
99 views
0
About displaying Json data in Jackson on Android Studio

public class MainActivity extensions AppCompatActivity{ @ Override protected void onCreate (Bundle savedInstanceState) { ObjectMapper mapper = new ObjectMapper(); try{ JackSon response=mapper.readV...


1 answers
89 views
0
I want to resolve the error in Request method 'GET' not supported

I would like to resolve the following errors:There was an unexpected error (type=Method Not Allowed, status=405).Request method 'GET' not supportedorg.springframework.web.HttpRequestMethodNotSupported...

2 years ago

1 answers
117 views
0
Proxy settings for Line applications using heroku, Fixie

We are building a Line application on heroku.At that time, I registered Fixie as Addon to secure the IP to access the Line API.However, the IP address provided by Fixie is not used to operate the Line...

2 years ago

1 answers
62 views
0
I want to change the screen transition destination according to the contents entered in the form.

I just started developing Spring Boot + Thymeleaf + MySQL.I'd like to change the screen transition destination according to what you fill in the form, but it's not working.For example, if you type 1 (...


1 answers
40 views
0
Understanding the DoubleFFT_1D#realForward Method for FFT Library jtransforms

In the realForward method in jtransforms, Javadoc, click This method computers only half of the elements of the real transform. The other half situations the symmetry condition. If you want the full f...

2 years ago

1 answers
101 views
0
Error when connecting to Mysql and executing query in Java web app

I would like to connect to MYSQL using the code below and display the results of the range specified in the URL http://hogehoge/hoge/hoge/search?hoge=*.However, there have been many exceptions and err...

2 years ago
« - 31 - »

© 2024 OneMinuteCode. All rights reserved.