To build and run an Ionic Java Tutorial, navigate into the directory of a specific sample task and follow the steps below depending on your platform.
The Ionic Java SDK is used in all the tutorials. Go to Ionic Developer SDK Setup then click on the Java icon.
Note: the sample apps expect a Password Persistor located at ~/.ionicsecurity/profiles.pw. The password needs to be provided as an environment variable.
export IONIC_PERSISTOR_PASSWORD=password123Requirements:
- Maven
- Java 8
Build:
mvn package
Run:
java -jar /target/<tutorial>.jar