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
94 views
0
drawImage, AnimationTimer behavior is strange

There are some problems.An elapsed time becomes (n-1)/n when drawing is performed once every n times.0.5 seconds for 2 out of 60 frames and 0.66 seconds for 3 frames.The CPU utilization gradually incr...

2 years ago

1 answers
33 views
0
To display a string in the generation screen when a button is pressed

When I tried to display a string in the screen generated by using swing, etc., when I pressed the button, an error occurred and I couldn't find a program to refer to the same content on the Internet, ...

2 years ago

1 answers
46 views
0
Error using Scanner: Exception in thread "main" java.util.NoSuchElementException

When using scanner in Java, the following error occurs when running atCoder:error messages:Exception in thread main java.util.NoSuchElementException at java.base/java.util.Scanner.throwFor (Scanner.ja...

2 years ago

1 answers
36 views
0
I want TimePickerDialog to be in spinner mode

If you call TimePickerDialog from java, you will be in clock mode, so I would like to know how to call it in spinner mode.Calendar calendar=Calendar.getInstance(); int hour = calendar.get(Calendar.HOU...

2 years ago

2 answers
135 views
0
I want to display the characters of the escape sequence in my browser.

The Springboot controller is trying to display the values converted below in HTML5.String text=\100.String disp=text.replaceAll(\\\, ¥);→¥100.I want to display this on the HTML5 side, ...

2 years ago

1 answers
107 views
0
InteliJ RunClient Run Error

I'm a beginner in programming.While studying JAVA, I decided to make a mod for Minecraft JAVA.I'm trying to install JDKs and others by referring to the following site.Start Minecraft will cause the fo...

2 years ago

1 answers
113 views
0
About Hibernate

Downloaded Hibernate 5.2.17.Final.But I don't know which JAR file to choose.Many Japanese websites on the Internet have older versions, and I am troubled because they are not in the zip file I dropped...

2 years ago

1 answers
92 views
0
LiferayA portlet that connects to MySQL in the local environment and outputs elements of the table.

I was trying to use the JDBC driver to display the acquired value in jsp, but I looked it up and found that it is common to use Service Builder to retrieve and display values.I even set the table defi...

2 years ago

1 answers
68 views
0
Specify and attach coordinates when labeling the swing panel

I'd like to set the label on the panel by coordinate designation in java swing, but I don't know.I would appreciate it if you could let me know the code as well.import java.awt.event.MouseAdapter;impo...

2 years ago

2 answers
72 views
0
About Java Socket Communications

I have a question about Java Socket communication.If you have the following sources:For this source res.write(request); after submitting the request, Flushing with res.flush();.The process of receivin...

2 years ago
« - 36 - »

© 2024 OneMinuteCode. All rights reserved.