headless Java : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

headless Java
When Java is implemented on a very small device, a keyboard, mouse or AWT (Advanced Windowing Toolkit) graphics support may not be available. You will get a HeadlessException if you try to instantiate one of the AWT classes. You code
import java.awt.GraphicsEnvironment;
...
// true if missing keyboard, mouse or screen.
// false if full keyboard, mouse and GUI screen support available.
boolean barebones = GraphicsEnvironment.isHeadless();
You can simulate a headless environment by setting the java.awt.headless system property:
-Djava.awt.headless=true
Oracle’s Javadoc on isHeadless class : available:

This page is posted
on the web at:

http://mindprod.com/jgloss/headless.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\headless.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.135.217.228]
You are visitor number