Java SE

Java SE news, information, and how-to advice

JavaFX improvements in Java SE 8u40

JavaFX 8u40 added support for accessibility, standard and custom dialogs, a spinner control, and text formatting. Learn about these new capabilities in this installment of Java Q&A.



Java 9 plays catch-up, adds REPL for faster feedback

JShell's read-eval-print-loop functionality will allow Java programmers to interactively evaluate code as they write it, without having to compile first.


Understanding sun.misc.Unsafe

Some developers are up in arms that sun.misc.Unsafe could be removed in Java 9, while others have never used it.

fighting office workers man women argue angry mad upset team

Java devs abhor Oracle’s plan to kill private API

Oracle's plan to eliminate access to sun.misc.Unsafe would have drastic consequences for the Java ecosystem, according to some opponents. Making the API public is a proposed alternative.

Sad day for developers: SCOTUS denies Google's appeal on APIs

Supreme Court's decision is bad news for developers targeting the U.S. market, who will now have to avoid any API not explicitly licensed as open

NIO.2 Cookbook, Part 3

Leverage file-visitor, glob/pathmatcher, and directory-watcher features for advanced tasks in NIO.2.

US sides with Oracle in Java copyright dispute with Google

The dispute between Google and Oracle revolves around whether Java APIs can be copyrighted.

stack of books

Java 101: Learn Java from the ground up

If you're new to Java then you've come to the right place: Get started with the foundations of the Java platform and code your first Java application with this classic tutorial for beginners.


APIs aren’t apps: Make them as thin and light as possible

The right language and tool set to develop an API should be based on what the API is designed to do, and a few other factors.

NIO.2 Cookbook, Part 2

Test out these recipes for obtaining paths and retrieving path information, testing files and directories, and working with attributes in NIO.2.

lego fusion town master facade

Oracle lays out Lego-like future of Java

At EclipseCon, Java Chief Architect Mark Reinhold shares a vision of a modular Java 9 and discusses future proposals for resolving Java's pain points.

glasses focus clouds buildings

Java focuses on modularity, real-time apps in 2015

Modular Java, due in Java 9, makes for a sleeker footprint, while Safety-Critical Java targets secure real-time systems.

Invokedynamic 101

What do you need to know about using invokedynamic and the java.lang.invoke API package in Java 7 and Java 8?

holiday lights neurons network stream

Socket programming for scalable systems

Three iterations of a client-server example demonstrate the timeless utility of Java I/O, while also showcasing the streamlined concurrency and scalability features of NIO and NIO.2.

Java extension mechanism loads all JARs

Although the Java extension mechanism and the classpath mechanism are both used in Java class loading, there are some important differences between them. Unpack the Java extension mechanism and get tips for working around its pitfalls....

Google asks Supreme Court to decide Android copyright case

The Supreme Court might weigh in on the extent to which APIs can be protected by copyright.

9 proposed Java 9 features devs will love

Start making room in your toolbox now, for these top features coming in Java 9


Oracle exec: Java shortcomings will be addressed by Project Jigsaw

Java's chief architect discusses the long-term impact of Project Jigsaw and lays out a roadmap for the upcoming Java EE 8.

openjdk java

OpenJDK project opens up Java 9 to collaboration, experimentation

The new 'sandbox forest' will enable developers to work on ongoing enhancements before finalizing and contributing them to Java 9.

Load More