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


3 answers
31 views
0
Understanding the relationship between void and main in Java public static void main (String[]args)

I'm a beginner in programming.When you start studying Java, the first sentence you see is public static void main (String[]args), but you don't understand why you use the main method that does not ret...

2 years ago

1 answers
101 views
0
Select Box Value

Developing web applications in Struts 1.3.So there's something I want to do.Here's what I want to do:1. Use the select box on the form screen (JSP) to display the value from DB.Example ▽   0001 AAA  0...

2 years ago

1 answers
31 views
0
Mailing library dedicated to sending

Do you have a mail delivery library that is less dependent (running alone)?It's not for JavaMail, it's for notification, so I'd like a simple one just to send.(Do not create or go through mail servers...

2 years ago

2 answers
91 views
0
I want to use in-app billing items in my developer account.

I use Play Billing Library 1.0 on Android.I found out by using the sample TrivialDrive_v2, Developer accounts (Developer Center accounts) cannot be purchased.As long as there is a concept of consumpti...


1 answers
72 views
0
I want to use the same image (ImageView) in Android studio java language.

I am creating a board game application in Android studio java language.I want to display the same image every time I tap it, but I don't know how to do it.The image displays the image in a position th...


1 answers
71 views
0
VM.command_line option in jcmd becomes unavailable immediately after JavaVM (1.8.0_222) reboots

In order to obtain application launch commands for JavaVM (1.8.0_222) running in the server (based on RHEL7/CentOS7) we run jcmd (1.8.0_66) with VM.command_line option as shown below (once a minute co...

2 years ago

1 answers
32 views
0
How to Obtain Return Values in Static Analysis of Java

Thank you for your help.Currently, we are conducting static analysis of java in java and would like to get the return value of the method.I was able to get the method name using imethod, but I don't k...

2 years ago

1 answers
29 views
0
Quick question JAVA

The string s and letter are given, so please create a function called replaceWithChar that returns a string that has deleted all letters in s.However, if letter is not included, return s as it is.I an...

2 years ago

1 answers
70 views
0
Android's webview keyboard does not disappear

http://dotinstall.com/lessons/browser_android_v2/32604I wrote the code as per the above site, but when I see it in the emulator, the keyboard appears by default, and it doesn't disappear even if I unf...


1 answers
94 views
0
About Java Timeline

Counting starts at the beginning of the game, stops after 10 seconds, and game over screen cannot be displayed.package luna.sexydesign;import javax.swing.*;import java.awt.*;import java.awt.event.*;cl...

2 years ago
« - 50 - »

© 2024 OneMinuteCode. All rights reserved.