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
122 views
0
How to send mail by writing GMmail, Yahoo, or Hotmail in a Java application

Is it possible to send an email using a GMail account in Java application? What should I do?


1 answers
107 views
0
To enter and delete arbitrary values in a Java array...

public static int ListInsertDeletetCount(int []array){ int count = 0; Random rnd = new Random(); for(int i=0; i<100; i++){ int dst = rnd.nextInt(list.length-1); for(;;) { //Insert a dst number...

2 years ago

1 answers
27 views
0
To calculate the number of elements in a conditional error & array

public class Testtest{ public static void main(String[] args){ String einString = Terminal.askString(String: ); String[] array_word = einString.split(); char[] arrayChar = einString.toCharArray(); cha...

2 years ago

1 answers
124 views
0
Error loading jni from java.

Currently, we have created a java code that uses c++ code as a library. However, there is an error such as the text below in the loading part.I've been searching for three days and I ask you a questio...

2 years ago

1 answers
86 views
0
Is there a case of making an application with 100% pure Java language?

Is there a case where a program is made using 100% pure Java language? Additionally, if you created a simple application with Java, how do you make it into an executable file with an .exe extension?

2 years ago

1 answers
32 views
0
Regarding JavaScript arrangement, I would like to repeat several contents in db.

$i = 0; while($row=mysql_fetch_array($result)){ echo locations[ .$i++ .] = [ .$row['Latitude'] ., .$row['Longitude'] .];; } ?> for(i=0; i< locations.length; i++){ var marker = new naver.maps.M...

2 years ago

1 answers
107 views
0
How do I check if the String is null or not empty in Java?

My web app has a search field and a combo box that receives some strings. So we send two factors as a remote function. All I want is to configure the query by checking whether the input value is null ...


1 answers
63 views
0
Find the maximum/minimum value in an array of primary types in Java

Writing a function that finds the maximum/minimum value of an array is a bit tedious, as follows::/** * * * @param chars * Maximum value in @returnchar array */private static int maxValue(char[] char...


1 answers
70 views
0
spring 500 ERROR .!

HTTP Status 500 - Request processing failed; nested exception is java.lang.ClassCastException: org.apache.catalina.connector.RequestFacade cannot be cast to org.springframework.web.multipart.Multipart...


1 answers
35 views
0
Can't we erase this when we have a zero in front of a string of letters and numbers in Java?

01234 -> 12340001234a -> 1234a001234-a -> 1234-a101234 -> 1012342509398 -> 2509398123z -> 123z000002829839 -> 2829839Like this, I want to erase it when there's a zero in front of ...

2 years ago
« - 114 - »

© 2024 OneMinuteCode. All rights reserved.