Free Java Class Libraries, Source Code, Applets, Beans and Frameworks
Free Java source code to start you off
Free Java Source Code, Class Libraries, Applets, Beans and Frameworks
This page lists free Java class libraries, free Java source code, free Java applets and the like, to make your programming task easier (simply reuse code that have already been tested to do a commonly done task). Other Java pages on this site that you may be interested in include:
Looking for a Java book? One frequently recommended book on Java is Java in a Nutshell. I use the first edition of this book myself to learn Java and have found it most usable. The later editions include support for later versions of Java, as well as extended the explanations to make it easier for non-C programmers to understand the book (the first two editions targeted C programmers).
Free Java Libraries and Source Code
- OpenMap - Open Systems Mapping Technology
OpenMap is an open source JavaBeans toolkit that allows you to "build applications and applets that access data from legacy databases and applications" (quoted from their website). Note that you should read their licence agreement before you blindly use the package, since it is not one of the standard open source licences. (At the time I looked at it, I got the impression that if you make a derivative work from their toolkit, you are also giving them the permission to make a derivative work from your program. But it's best you read the licence agreement yourself.)
- GNU Getopt (Java port)
As is obvious from the name, this is a Java port of the GNU getopt() command line parser.
- ObjectDB for Java/JDO Free Database Edition
ObjectDB for Java/JDO is an Object Database Management System (ODBMS) written in Java. It is JDO compliant (Java Data Objects), allows your application to query the database using JDO Query (JDOQL), allows you to have up to 5,000 Java objects per database, uses a single file database, etc. The free edition may only be used for personal, non-commercial purposes.
- Cyrus SASL
To quote, "the Cyrus SASL library is a generic library for SASL authentication, as used in SMTP and IMAP protocols. It's used for authentication by the Cyrus IMAP server as well as the Sendmail 8.10 release." It also includes a Java SASL library. Note that the link above is to an FTP directory. Look for a file like "cyrus-sasl-1.5.20.tar.gz" (the numbers may change when newer versions are released).
- GNU Classpath
This is a free replacement for Sun's proprietary class libraries. It is still currently under development. The intention is for the released version to be fully compatibile with Java 1.1 and mostly compatible with 1.2.
How to Link to This Page
It will appear on your page as: