JAR File Directory Separator

A Java Archive (JAR) file (like the ojdbc6.jar file that we downloaded previously) is a compressed directory tree with compiled Java files and other files for use as a set. You can, and later we will, create a JAR file with the JAR utility in the JDK. You can look at the contents of a JAR file with any ZIP utility.

In a JAR file, you would find a directory tree. For example, inside the ojdbc6.jar file you would see these directories (and many others):

/oracle /oracle/sql

In the /oracle/sql directory, you would see files like ARRAY.class. The ARRAY.class file is a compiled Java file.

Do not be disturbed by my use of the / (slash) for a directory separator character. This is the standard separator character for UNIX, ...

Get Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.