The Java Desktop Integration Components (JDIC) project provides components which give
Java
Java is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea (a part of Pacific Ocean) to the north. With a population of 156.9 million people (including Madura) in mid 2024, proje ...
applications the same access to
operating system
An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ...
services as native applications. For example, a Java application running on one user's desktop can open a web page using that user's default
web browser
A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
(e.g.
Firefox
Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web pages, which implements curr ...
), but the same Java application running on a different user's desktop would open the page in
Opera
Opera is a form of History of theatre#European theatre, Western theatre in which music is a fundamental component and dramatic roles are taken by Singing, singers. Such a "work" (the literal translation of the Italian word "opera") is typically ...
(the second user's default browser).
Initially the project supports features such as embedding the native
HTML browser, programmatically opening the native
mail client, using registered file-type viewers, and packaging JNLP applications as RPM, SVR4, and
MSI installer packages. As a bonus, an
SDK for developing platform-independent
screensaver
A screensaver (or screen saver) is a computer program that blanks the display screen or fills it with moving images or patterns when the computer has been idle for a designated time. The original purpose of screensavers was to prevent phosphor s ...
s is included.
Most of the features provided by JDIC were incorporated into the
JDK starting with version 1.6. As a result, the development of the project has come to an end.
Components
The
cross-platform
Within computing, cross-platform software (also called multi-platform software, platform-agnostic software, or platform-independent software) is computer software that is designed to work in several Computing platform, computing platforms. Some ...
JDIC package, which files should allow the user to work, includes:
[http://www.ibm.com/developerworks/java/library/j-jdic/ Integrate native OS features in your desktop applications with JDIC]
*jdic.jar: JAR file which contains all the Java classes needed for development. It must be in the classpath of the user for compilation.
*jdic.dll and tray.dll: On
Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
installations, these files need to be into the directory where this operating system is installed (normally, C:\Windows). They contain the "bridge" methods between the jdic.jar Java methods and the native OS methods.
*libjdic.so and libtray.so: On
Solaris
Solaris is the Latin word for sun.
It may refer to:
Arts and entertainment Literature, television and film
* ''Solaris'' (novel), a 1961 science fiction novel by Stanisław Lem
** ''Solaris'' (1968 film), directed by Boris Nirenburg
** ''Sol ...
and
Linux
Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
operating systems, these two files must go into the LD_LIBRARY_PATH folder.
See also
*
Java Desktop
References
{{reflist
External links
The JDIC project home on java.net
Understanding JDIC File-Type AssociationsIntegrate native OS features in your desktop applications with JDIC
Java platform software
Free software programmed in Java (programming language)