aboutsummaryrefslogtreecommitdiff
path: root/jniwrap
diff options
context:
space:
mode:
authorMartin Desruisseaux <martin.desruisseaux@geomatys.com>2018-05-12 15:01:41 +0200
committerMartin Desruisseaux <martin.desruisseaux@geomatys.com>2018-05-12 16:24:15 +0200
commit66cfd66f512b9c6accb3e045c7683b9df63b887d (patch)
tree82b916ba0d154dca5c6a356a81288e6e32997547 /jniwrap
parent0a3a59853d7ecb88ce645cd980a5197217447213 (diff)
downloadPROJ-66cfd66f512b9c6accb3e045c7683b9df63b887d.tar.gz
PROJ-66cfd66f512b9c6accb3e045c7683b9df63b887d.zip
Use more explicit java options in the documentation (e.g. --class-path instead of -cp).
Diffstat (limited to 'jniwrap')
-rw-r--r--jniwrap/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/jniwrap/README.md b/jniwrap/README.md
index 3cce43c0..3a6b35be 100644
--- a/jniwrap/README.md
+++ b/jniwrap/README.md
@@ -42,7 +42,7 @@ Beyond the ones already put by PROJ, you need:
* Ant 1.9.8+, to run the build.
* For execution:
* If a Java version less than the current version on the local machine is desired,
- add an `release` attribute in the `javac` task of `build.xml`.
+ add a `release` attribute in the `javac` task of `build.xml` before to compile.
@@ -107,10 +107,10 @@ we assume that PROJ was compiled with the right flag to support the bridge to Ja
Therefore we have a library called `proj.jar`.
Thus we compile the `Main.java` with the command:
- javac -classpath <path to the jar library>/proj.jar Main.java
+ javac --class-path <path to the jar library>/proj.jar Main.java
and execute the created test case with:
- java -cp .:<path to the jar library>/proj.jar -Djava.library.path=<path to the libproj, if needed> Main
+ java --class-path .:<path to the jar library>/proj.jar -Djava.library.path=<path to the libproj, if needed> Main
That's it, enjoy!