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
33 views
0
About Java Exception Handling

I don't know exactly what to use between try-catch and throws exceptions.In what situations do you use try-catch to handle exceptions, and do you use throws?

2 years ago

1 answers
140 views
0
I want to do screen transition with java swing.

I'd like to do a screen transition by clicking on label 1 in the code below, click on panel 1 to panel 2, click on label 2 in panel 2, click on label 3 in panel 3, click on label 3 in panel 3, and use...

2 years ago

1 answers
121 views
0
About Starting the Spring boot Application

I would like to launch the application (jar) created by spring boot from another project class.I checked the method, but I don't know.Please let me know the keywords and sites that you can refer to.I ...

2 years ago

1 answers
83 views
0
I have a question about Twitter4j's collection of tweets.

I'd like to get all tweets for a week for a keyword, but if I specify a date, I can only get tweets from 7:00 to 9:00, which are closer to the specified period.examplequery.setSince(2015-12-06);query....

2 years ago

1 answers
85 views
0
"Creatingbean error" occurs on springboot and boot fails

Assumptions/What you want to realizeThere is an error creating bean in springboot, so I would like to troubleshoot and start it.I am developing a CRUD system using SpringBoot at STS to study on my own...

2 years ago

1 answers
38 views
0
I want to change the transparency of the setEnabled (false) button.

button.setEnabled(false);I would like to know the default transparency at this time.Or I want to lose transparency when it's false.TriedtextView.setText(String.valueOf(button.getAlpha()));// The resul...

2 years ago

1 answers
124 views
0
Unable to manage declarative transactions for spring framework

Annotated using Spring Framework and MyBatisAttempting to perform declarative transaction management does not roll back.I think there is something wrong with the setting, but I can't consider what's w...

2 years ago

1 answers
44 views
0
R.string.**+string causes the number to appear in the R.string.** part.

In order to create a Dialog that prompts Android (Java) to update the app, we have implemented the following code:VersionCode is the version obtained from PackageInfo.The latest_version is the latest ...

2 years ago

1 answers
44 views
0
I want to access a URL that has parameters that are not encoded in OWASP(zap)

I am using OWASP(zap) D-2017-02-27 to discover vulnerabilities in the site I am building.I would like to access a URL that is not encoded and check if XSS has occurred.I added JavaScript to ActiveRule...

2 years ago

2 answers
146 views
0
java.sql.SQLSyntaxErrorException: ORA-01722: Invalid numeric value. Error [Closed]

Do you want to improve this question?Edit your post to clarify the issue you are trying to resolve by adding details.Closed 4 years ago.4 years agojava.sql.SQLSyntaxErrorException: ORA-01722: Invalid ...

2 years ago
« - 38 - »

© 2024 OneMinuteCode. All rights reserved.