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
88 views
0
What is your favorite library for image processing in Java?

I use JAI media apis and ImageMagick.ImageMagick has several scalability issues and is not very attractive because it is based on JNI. Compared to ImageMagick, JAI's quality is too low when calculatin...


1 answers
73 views
0
How to import jar files from Eclipse

How do I import jar files from Eclipse?

2 years ago

1 answers
126 views
0
I want to erase the last character from the string, how do I do it?

public String method(String str) { if (str.charAt(str.length()-1)=='x'){ str = str.replace(str.substring(str.length()-1), ); return str; } } else{ return str; }}I tried to erase the last character ...

2 years ago

1 answers
168 views
0
What do you compare the contents() method of ArrayList?

ArrayList<Thing> basket = new ArrayList<Thing>(); Thing thing = new Thing(100); basket.add(thing); Thing another = new Thing(100); basket.contains(another); // true or false?class Thing { ...


1 answers
142 views
0
How do I change boolean to int?

What is the best way to change boolean to int?

2 years ago

1 answers
109 views
0
How do I put a String in the Stream in Java?

I want to convert the String value into InputStreamReader, what should I do?

2 years ago

1 answers
113 views
0
What is object serialization?

Please explain what object serialization is. It's better to have an example.


1 answers
48 views
0
What is Externalizable?

I don't know the big difference from Serializable, but what are you using this for?

2 years ago

1 answers
124 views
0
How do I create folders in Java?

I'd like to create a folder named New Folder. If there's a folder called New Folder already, just ignore itI want to create a new folder, what should I do?

2 years ago

2 answers
106 views
0
What is the difference between string object and string in Java?

String str = new String(abc);WowString str = abc;What's the difference?

« - 69 - »

© 2024 OneMinuteCode. All rights reserved.