On Jul 5, 2004, at 9:00 PM, Art Rhyno wrote: > import com.sleepycat.je.Database.*; > > One trick you can use with jars is to look at what classes it contains > with: > > jar tf *.jar Adding the import above didn't work. Not found. The second command returned many sleepycat classes but none of them were named "Database": $ jar tf /usr/local/BerkeleyDB.4.2/lib/db.jar META-INF/ META-INF/MANIFEST.MF com/sleepycat/ com/sleepycat/bdb/ com/sleepycat/bdb/bind/ com/sleepycat/bdb/bind/ByteArrayBinding.class com/sleepycat/bdb/bind/ByteArrayFormat.class com/sleepycat/bdb/bind/DataBinding.class com/sleepycat/bdb/bind/DataBuffer.class com/sleepycat/bdb/bind/DataFormat.class com/sleepycat/bdb/bind/DataType.class com/sleepycat/bdb/bind/EntityBinding.class com/sleepycat/bdb/bind/KeyExtractor.class com/sleepycat/bdb/bind/serial/ com/sleepycat/bdb/bind/serial/ClassCatalog.class com/sleepycat/bdb/bind/serial/SerialBinding.class com/sleepycat/bdb/bind/serial/SerialFormat.class com/sleepycat/bdb/bind/serial/SerialInput.class com/sleepycat/bdb/bind/serial/SerialOutput.class com/sleepycat/bdb/bind/serial/SerialSerialBinding.class com/sleepycat/bdb/bind/serial/SerialSerialKeyExtractor.class com/sleepycat/bdb/bind/serial/TupleSerialBinding.class com/sleepycat/bdb/bind/serial/TupleSerialKeyExtractor.class com/sleepycat/bdb/bind/serial/TupleSerialMarshalledBinding.class com/sleepycat/bdb/bind/serial/TupleSerialMarshalledKeyExtractor.class com/sleepycat/bdb/bind/SimpleBuffer.class com/sleepycat/bdb/bind/tuple/ com/sleepycat/bdb/bind/tuple/MarshalledTupleData.class com/sleepycat/bdb/bind/tuple/MarshalledTupleKeyEntity.class com/sleepycat/bdb/bind/tuple/TupleBinding.class com/sleepycat/bdb/bind/tuple/TupleBinding$BooleanBinding.class com/sleepycat/bdb/bind/tuple/TupleBinding$ByteBinding.class com/sleepycat/bdb/bind/tuple/TupleBinding$CharacterBinding.class com/sleepycat/bdb/bind/tuple/TupleBinding$DoubleBinding.class com/sleepycat/bdb/bind/tuple/TupleBinding$FloatBinding.class com/sleepycat/bdb/bind/tuple/TupleBinding$IntegerBinding.class com/sleepycat/bdb/bind/tuple/TupleBinding$LongBinding.class com/sleepycat/bdb/bind/tuple/TupleBinding$ShortBinding.class com/sleepycat/bdb/bind/tuple/TupleBinding$StringBinding.class com/sleepycat/bdb/bind/tuple/TupleFormat.class com/sleepycat/bdb/bind/tuple/TupleInput.class com/sleepycat/bdb/bind/tuple/TupleInputBinding.class com/sleepycat/bdb/bind/tuple/TupleMarshalledBinding.class com/sleepycat/bdb/bind/tuple/TupleOutput.class com/sleepycat/bdb/bind/tuple/TupleTupleBinding.class com/sleepycat/bdb/bind/tuple/TupleTupleKeyExtractor.class com/sleepycat/bdb/bind/tuple/TupleTupleMarshalledBinding.class com/sleepycat/bdb/bind/tuple/TupleTupleMarshalledKeyExtractor.class com/sleepycat/bdb/collection/ com/sleepycat/bdb/collection/MapEntry.class com/sleepycat/bdb/collection/StoredCollection.class com/sleepycat/bdb/collection/StoredCollections.class com/sleepycat/bdb/collection/StoredContainer.class com/sleepycat/bdb/collection/StoredEntrySet.class com/sleepycat/bdb/collection/StoredIterator.class com/sleepycat/bdb/collection/StoredKeySet.class com/sleepycat/bdb/collection/StoredList.class com/sleepycat/bdb/collection/StoredList$1.class com/sleepycat/bdb/collection/StoredList$IndexKeyBinding.class com/sleepycat/bdb/collection/StoredMap.class com/sleepycat/bdb/collection/StoredMapEntry.class com/sleepycat/bdb/collection/StoredSortedEntrySet.class com/sleepycat/bdb/collection/StoredSortedKeySet.class com/sleepycat/bdb/collection/StoredSortedMap.class com/sleepycat/bdb/collection/StoredSortedValueSet.class com/sleepycat/bdb/collection/StoredValueSet.class com/sleepycat/bdb/CurrentTransaction.class com/sleepycat/bdb/CurrentTransaction$1.class com/sleepycat/bdb/CurrentTransaction$Trans.class com/sleepycat/bdb/DataCursor.class com/sleepycat/bdb/DataDb.class com/sleepycat/bdb/DataDb$CdbThreadContext.class com/sleepycat/bdb/DataEnvironment.class com/sleepycat/bdb/DataIndex.class com/sleepycat/bdb/DataStore.class com/sleepycat/bdb/DataThang.class com/sleepycat/bdb/DataView.class com/sleepycat/bdb/factory/ com/sleepycat/bdb/factory/TupleSerialDbFactory.class com/sleepycat/bdb/ForeignKeyIndex.class com/sleepycat/bdb/IntegrityConstraintException.class com/sleepycat/bdb/KeyRange.class com/sleepycat/bdb/KeyRangeException.class com/sleepycat/bdb/PrimaryKeyAssigner.class com/sleepycat/bdb/RecordNumberBinding.class com/sleepycat/bdb/RecordNumberFormat.class com/sleepycat/bdb/StoredClassCatalog.class com/sleepycat/bdb/StoredClassCatalog$ClassInfo.class com/sleepycat/bdb/TransactionRunner.class com/sleepycat/bdb/TransactionWorker.class com/sleepycat/bdb/util/ com/sleepycat/bdb/util/ExceptionUnwrapper.class com/sleepycat/bdb/util/ExceptionWrapper.class com/sleepycat/bdb/util/FastInputStream.class com/sleepycat/bdb/util/FastOutputStream.class com/sleepycat/bdb/util/IOExceptionWrapper.class com/sleepycat/bdb/util/RuntimeExceptionWrapper.class com/sleepycat/bdb/util/TimeUnits.class com/sleepycat/bdb/util/UtfOps.class com/sleepycat/db/ com/sleepycat/db/db_java.class com/sleepycat/db/db_javaJNI.class com/sleepycat/db/Db.class com/sleepycat/db/Db$1.class com/sleepycat/db/Db$2.class com/sleepycat/db/DbAppDispatch.class com/sleepycat/db/DbAppendRecno.class com/sleepycat/db/DbBtreeCompare.class com/sleepycat/db/DbBtreePrefix.class com/sleepycat/db/DbBtreeStat.class com/sleepycat/db/Dbc.class com/sleepycat/db/DbClient.class com/sleepycat/db/DbConstants.class com/sleepycat/db/DbDeadlockException.class com/sleepycat/db/DbDupCompare.class com/sleepycat/db/DbEnv.class com/sleepycat/db/DbEnv$1.class com/sleepycat/db/DbEnv$2.class com/sleepycat/db/DbEnv$3.class com/sleepycat/db/DbEnv$RepProcessMessage.class com/sleepycat/db/DbEnvFeedback.class com/sleepycat/db/DbEnvFeedbackHandler.class com/sleepycat/db/DbErrcall.class com/sleepycat/db/DbErrorHandler.class com/sleepycat/db/DbException.class com/sleepycat/db/DbFeedback.class com/sleepycat/db/DbFeedbackHandler.class com/sleepycat/db/DbHash.class com/sleepycat/db/DbHashStat.class com/sleepycat/db/DbKeyRange.class com/sleepycat/db/DbLock.class com/sleepycat/db/DbLockNotGrantedException.class com/sleepycat/db/DbLockRequest.class com/sleepycat/db/DbLockStat.class com/sleepycat/db/DbLogc.class com/sleepycat/db/DbLogStat.class com/sleepycat/db/DbLsn.class com/sleepycat/db/DbMemoryException.class com/sleepycat/db/DbMpoolFile.class com/sleepycat/db/DbMpoolFStat.class com/sleepycat/db/DbMpoolStat.class com/sleepycat/db/DbMultipleDataIterator.class com/sleepycat/db/DbMultipleIterator.class com/sleepycat/db/DbMultipleKeyDataIterator.class com/sleepycat/db/DbMultipleRecnoDataIterator.class com/sleepycat/db/DbPanicHandler.class com/sleepycat/db/DbPreplist.class com/sleepycat/db/DbQueueStat.class com/sleepycat/db/DbRepStat.class com/sleepycat/db/DbRepTransport.class com/sleepycat/db/DbRunRecoveryException.class com/sleepycat/db/DbSecondaryKeyCreate.class com/sleepycat/db/Dbt.class com/sleepycat/db/DbTxn.class com/sleepycat/db/DbTxnStat.class com/sleepycat/db/DbTxnStat$Active.class com/sleepycat/db/DbUtil.class $ jar tf /usr/local/BerkeleyDBXML.1.2/lib/dbxml.jar META-INF/ META-INF/MANIFEST.MF com/sleepycat/dbxml/ com/sleepycat/dbxml/dbxml_java.class com/sleepycat/dbxml/dbxml_javaJNI.class com/sleepycat/dbxml/XmlConstants.class com/sleepycat/dbxml/XmlContainer.class com/sleepycat/dbxml/XmlDocument.class com/sleepycat/dbxml/XmlException.class com/sleepycat/dbxml/XmlIndexDeclaration.class com/sleepycat/dbxml/XmlIndexSpecification.class com/sleepycat/dbxml/XmlModify.class com/sleepycat/dbxml/XmlQueryContext.class com/sleepycat/dbxml/XmlQueryExpression.class com/sleepycat/dbxml/XmlResults.class com/sleepycat/dbxml/XmlUpdateContext.class com/sleepycat/dbxml/XmlValue.class -- Eric