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


2 answers
100 views
0
Unable to create Java environment with VSCode

I was building a Java environment in VSCode, but in setting.jsonjava.home: C:...java\openjdk-17.0.2 will also produce the following error:This setting is detailed, please use 'java.jdt.ls.java.home' i...

2 years ago

1 answers
31 views
0
Save the values entered from the keyboard to a file.Close the file if there are more than 10 characters or no input values.

I was able to enter it from the keyboard and save it to a file, but if there are no more than 10 characters, the conditions cannot be handled properly.The program created below.What kind of content di...

2 years ago

1 answers
77 views
0
Understanding SPRINGMVC Paths

I'm making my own SPRINGMVC system.The server starts, but when I type the path, the screen does not appear.I'm sorry, but I look forward to hearing from you.Eclipse 4.6STS 3.8Tomcat8Spring 4.3.2 WEB.X...

2 years ago

1 answers
117 views
0
I want to get the hierarchical value that POSTs from the form as a parameter.

Thank you for your help.EnvironmentEclipse 4.4GAE/J 1.9.30Servlet 2.5Ser I am using ServletFileUpload<form action=/test method=post enctype=multipart/form-data> <input type=text name=name>...


1 answers
122 views
0
DatePicker View drawing is no longer immediately reflected

I use CalendarView for DatePicker on Android.android:calendarViewShown=trueandroid:spinnersShown=falseHowever, after using it for a while, the drawing will not be reflected immediately.Tap a date to n...


2 answers
81 views
0
linear detection by considering the thickness of Thickness

Huff transformation is a way to detect straight lines in an image, but as far as the library is concerned,  I can't find a way to specify such as extract only lines that are more than a certain thickn...

2 years ago

1 answers
36 views
0
Path Class Resolve Method

import java.io.*;import java.nio.file.*;US>class Test { public static void main(String[]args) rows IOException { Path p1 = Paths.get(C:\\gold\\.); p1 = p1.resolve(dir1); Path p2 = Paths.get (C:\\go...

2 years ago

1 answers
74 views
0
Fatal Signal 11 (SIGSEGV), code 1, on Android

If you filter BaseAdapter with its own filter function, the following error will occur and crash.The specific crash point is not specified, but as far as the log goes, is WebView suspicious?It makes m...

2 years ago

1 answers
83 views
0
How to retrieve user information signed into Azure AD in java

We are looking for a way to retrieve user information that you are signing in to.I have installed a web application using Java in Web Apps and We use Azure Active Directory for authentication.I would ...

2 years ago

1 answers
33 views
0
Does JDK also serve as JRE?

Does JDK also serve as JRE?I need JRE to run software that requires Java environment, but can't I just install JDK?I thought JDK had a Java execution environment, but when I tried to open a free softw...

2 years ago
« - 39 - »

© 2024 OneMinuteCode. All rights reserved.