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
62 views
0
When downloading video files on Android

I am currently developing an Android app in java language.This is about interaction with the server.I want to download the video file that I left on the server through the app to my Android device usi...

2 years ago

2 answers
32 views
0
java toString Questions

Ah=newA();h.name = Aye;System.out.println(h.toString());The book says that the h.toString() section above can only be h, but why does the h call the toString method overridden in class A?Is that the r...

2 years ago

1 answers
121 views
0
The action bar cannot be erased even when configured in style.xml in Android studio.

in Android studio style.xmlparent=android:Theme.Holo.NoActionBarThe action bar does not disappear when you configure .What are the possible causes?I use the actual nexus7 machine for the test.Please l...


1 answers
95 views
0
Error in JPA Find Method in JavaEE

On wildFly (Ver.8.2.0.Final), we are verifying the operation of data access using JPA's ecipselink (Ver.2.5.1).@Stateful(name=PersonalInformationDaoBeanEJB)public class PersonalInformationDaoBean impl...

2 years ago

1 answers
103 views
0
Obtain the same output in java as the linux md5sum command

I'd like to get the same hash value in java as the md5sum/opensl command.I can't get the result I expected.How do I write in java to get the same result?(1) For the md5sum/opensl command$echoabc|md5su...

2 years ago

1 answers
68 views
0
When downloading video files on Android

I am currently developing an Android app in java language.This is about interaction with the server.I want to download the video file that I left on the server through the app to my Android device usi...

2 years ago

2 answers
31 views
0
About Generating a Java Instance

Date = new Date();Calendar c=Calendar.getInstance();Both of the above generate instances, one with new and the other without.Is the only way to judge this is to know how to use each class?Please let m...

2 years ago

2 answers
54 views
0
I want to view the same web page on my Windows PC/Android tablet.

Instead of providing a web page for each Windows PC/Android, I'd like to see one web page from both sides.The PC only looks at the web page, but I also want the tablet to scan the barcode using HTML5....

2 years ago

1 answers
111 views
0
FileNotFoundException:downloading attachments

I would like to download the email attachment via WebView, but I get a FileNotFoundException error.By the way, the test is Outlook.code:ImageGetTask.javaInputStream is; String url=https://example.com;...

2 years ago

3 answers
39 views
0
I got an error that says I need to extend javafx.application.application

I tried to compile the java file with javac at the command prompt, but I got the following error:C:\Users\rqwqk\Desktop\pleiades\workspace\konpairuzikken\src>java wrqrqrqrError: Main method not fou...

2 years ago
« - 20 - »

© 2024 OneMinuteCode. All rights reserved.