@@ -14,36 +14,15 @@ The algorithms are documented in
1414 [ Addenda] ( https://geographiclib.sourceforge.io/miscgeod-addenda.html ) .
1515
1616The Java package is available
17- [ here OLD] ( https://search.maven.org/artifact/net.sf.geographiclib/GeographicLib-Java ) .
18- [ here NEW] ( https://search.maven.org/artifact/com.github.geographiclib/GeographicLib-Java ) .
17+ [ here] ( https://search.maven.org/artifact/net.sf.geographiclib/GeographicLib-Java ) .
1918
2019Here is the documentation on the
21- [ application programming interface] ( https://geographiclib.sourceforge.io/html/java / )
20+ [ application programming interface] ( https://geographiclib.sourceforge.io/Java/doc / )
2221
23- You can build the example programs using, for example,
22+ You can build the example programs ` direct ` , ` inverse ` , or
23+ ` planimeter ` , with, for example:
2424``` sh
25- cd inverse/src/main/java
26- javac -cp .:../../../../src/main/java Inverse.java
27- echo -30 0 29.5 179.5 | java -cp .:../../../../src/main/java Inverse
28- ```
29-
30- On Windows, change this to
31- ``` sh
32- cd inverse\s rc\m ain\j ava
33- javac -cp . ; ../../../../src/main/java Inverse.java
34- echo -30 0 29.5 179.5 | java -cp . ; ../../../../src/main/java Inverse
35- ```
36-
37- Building with maven:
38- ``` sh
39- mvn install
4025cd inverse
4126mvn compile
4227echo -30 0 29.5 179.5 | mvn -q exec:java
4328```
44-
45- Deploy the package with
46- ``` sh
47- mvn -q package -P release
48- mvn clean deploy -P release
49- ```
0 commit comments