Debian Codegraph @

docs/upgrading/upgrade_4_0_java.html

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>Java CLASSPATH environment variable</title>
7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB Upgrade Guide" />
10 <link rel="up" href="upgrade_4_0_toc.html" title="Chapter 10. Upgrading Berkeley DB 3.3 applications to Berkeley DB 4.0" />
11 <link rel="prev" href="upgrade_4_0_lock_id_free.html" title="DB_ENV-&gt;lock_id_free" />
12 <link rel="next" href="upgrade_4_0_cxx.html" title="C++ ostream objects" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">Java CLASSPATH environment variable</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="upgrade_4_0_lock_id_free.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 10. Upgrading Berkeley DB 3.3 applications to Berkeley DB 4.0</th>
26 <td width="20%" align="right"> <a accesskey="n" href="upgrade_4_0_cxx.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title" style="clear: both"><a id="upgrade_4_0_java"></a>Java CLASSPATH environment variable</h2>
36 </div>
37 </div>
38 </div>
39 <p>The Berkeley DB Java class files are now packaged as jar files. In the 4.0
40 release, the <code class="literal">CLASSPATH</code> environment variable must change to
41 include at least the <code class="filename">db.jar</code> file. It can optionally include
42 the <code class="filename">dbexamples.jar</code> file if you want to run the examples. For
43 example, on UNIX:</p>
44 <pre class="programlisting">export CLASSPATH="/usr/local/BerkeleyDB.4.8/lib/db.jar: \
45 /usr/local/BerkeleyDB.4.8/lib/dbexamples.jar"</pre>
46 <p>For example, on Windows:</p>
47 <pre class="programlisting">set CLASSPATH="D:\db\build_windows\Release\db.jar;
48 D:\db\build_windows\Release\dbexamples.jar"</pre>
49 <p>For more information on Java configuration, see the
50
51 <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/installation/index.html" target="_top">
52 Berkeley DB Installation and Build Guide.
53 </a>.</p>
54 </div>
55 <div class="navfooter">
56 <hr />
57 <table width="100%" summary="Navigation footer">
58 <tr>
59 <td width="40%" align="left"><a accesskey="p" href="upgrade_4_0_lock_id_free.html">Prev</a> </td>
60 <td width="20%" align="center">
61 <a accesskey="u" href="upgrade_4_0_toc.html">Up</a>
62 </td>
63 <td width="40%" align="right"> <a accesskey="n" href="upgrade_4_0_cxx.html">Next</a></td>
64 </tr>
65 <tr>
66 <td width="40%" align="left" valign="top">DB_ENV-&gt;lock_id_free </td>
67 <td width="20%" align="center">
68 <a accesskey="h" href="index.html">Home</a>
69 </td>
70 <td width="40%" align="right" valign="top"> C++ ostream objects</td>
71 </tr>
72 </table>
73 </div>
74 </body>
75 </html>