Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
c785e1e3
Commit
c785e1e3
authored
24 years ago
by
Peter Eisentraut
Browse files
Options
Downloads
Patches
Plain Diff
Update. Things are now build through 'make'.
parent
cfab4f65
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/interfaces/jdbc/README
+11
-14
11 additions, 14 deletions
src/interfaces/jdbc/README
with
11 additions
and
14 deletions
src/interfaces/jdbc/README
+
11
−
14
View file @
c785e1e3
...
@@ -31,18 +31,16 @@ http://jakarta.apache.org/ant/index.html and download the binary. Being pure
...
@@ -31,18 +31,16 @@ http://jakarta.apache.org/ant/index.html and download the binary. Being pure
java it will run on virtually all java platforms. If you have any problems
java it will run on virtually all java platforms. If you have any problems
please email the INTERFACES list.
please email the INTERFACES list.
Once you have ANT, cd to the src directory and type "ant". This will compile
Once you have ANT, run the configure script in the top-level directory with
the correct driver for your JVM, and build a .jar file (Java ARchive) called
the --with-java option. Then proceed with 'make' and 'make install' as
postgresql.jar
usual. This will compile the correct driver for your JVM, and build a .jar
file (Java ARchive) called postgresql.jar. The file will be installed in
the directory PREFIX/share/java.
That jar file will contain the driver for _your_ version of the JDK.
That jar file will contain the driver for _your_ version of the JDK.
Note: As of 7.1, you build from pgsql/src and not pgsql/src/interfaces/jdbc.
Note: As of 7.1, you can build from the top-level directory or from
Well you can, but building from the top will also build some extra utilities
src/interfaces/jdbc.
located under /contrib at the same time. Also later on (either 7.1.1 or 7.2)
it's intended to have the main configure script to build the driver
automatically if it finds both a JDK & ANT installed, so this is the first step
towards that.
REMEMBER: Once you have compiled the driver, it will work on ALL platforms
REMEMBER: Once you have compiled the driver, it will work on ALL platforms
that support that version of the API. You don't need to build it for each
that support that version of the API. You don't need to build it for each
...
@@ -52,8 +50,8 @@ That means you don't have to compile it on every platform. Believe me, I
...
@@ -52,8 +50,8 @@ That means you don't have to compile it on every platform. Believe me, I
still hear from people who ask me "I've compiled it ok under Solaris, but it
still hear from people who ask me "I've compiled it ok under Solaris, but it
won't compile under Linux" - there's no difference.
won't compile under Linux" - there's no difference.
I advise you don't try running javac outside of ANT as it builds some classes
Don't try to run javac directly. Don't try to run ant directly. Neither
on the fly
.
will work
.
Possible problems
Possible problems
...
@@ -75,12 +73,11 @@ More details are in the Implementation file src/interfaces/jdbc/Implementation
...
@@ -75,12 +73,11 @@ More details are in the Implementation file src/interfaces/jdbc/Implementation
INSTALLING THE DRIVER
INSTALLING THE DRIVER
To install the driver, the .class files have to be in the classpath. To do
To install the driver, the .class files have to be in the classpath.
this, copy the postgres.jar file into a directory, and add it to the classpath.
ie: under LINUX/SOLARIS (the example here is my linux box):
ie: under LINUX/SOLARIS (the example here is my linux box):
export CLASSPATH=.:/usr/local/
lib
/postgresql.jar
export CLASSPATH=.:/usr/local/
pgsql/share/java
/postgresql.jar
Please don't be tempted to extract the files from the .jar file. There are a
Please don't be tempted to extract the files from the .jar file. There are a
lot of files in there, and you may break the Exception handling.
lot of files in there, and you may break the Exception handling.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment