Bonjour, j'ai réussie à compiler et construire le code source opennms avec le jdk 1.6.0_25 mais j'ai ne réussie pas a l’exécuter et merci de me donner de l'aide.
Voila que j'ai trouvé comme erreur:
cd
$ ./bin/runjava -s
runjava: Looking for an appropriate JRE…
runjava: Checking for an appropriate JRE in JAVA_HOME…
runjava: C:\Program Files\Java\jdk1.6.0_25/bin/java is not Java 1.6 or newer.
runjava: "C:\Program Files\Java\jdk1.6.0_25/bin/java" is not an appropriate JRE
runjava: Checking JRE in user's path: "/c/Windows/system32/java"…
runjava: found an appropriate JRE in user's path: "/c/Windows/system32/java"
runjava: value of "/c/Windows/system32/java" stored in configuration file
$ ./bin/install -dis
Erreur : impossible de trouver ou charger la classe principale org.opennms.install.Installer
user@USER-PC ~/opennms/target/opennms-1.11.90-SNAPSHOT (remotes/origin/rc/stable/1.8.10)
$ ./bin/install -h
Erreur : impossible de trouver ou charger la classe principale org.opennms.install.Installer
user@USER-PC ~/opennms/target/opennms-1.11.90-SNAPSHOT (remotes/origin/rc/stable/1.8.10)
$ ./bin/opennms start
./bin/opennms: OpenNMS not configured.
c:/Users/user/opennms/target/opennms-1.11.90-SNAPSHOT/etc/configured does not exist.
You need to run the installer to set up the database. In most
cases, it is enough to run:
# exécution de code source opennms
Posté par rourou89 . En réponse au message Compilation de code source opennms 1.10.8. Évalué à 0.
Bonjour, j'ai réussie à compiler et construire le code source opennms avec le jdk 1.6.0_25 mais j'ai ne réussie pas a l’exécuter et merci de me donner de l'aide.
Voila que j'ai trouvé comme erreur:
cd
$ ./bin/runjava -s
runjava: Looking for an appropriate JRE…
runjava: Checking for an appropriate JRE in JAVA_HOME…
runjava: C:\Program Files\Java\jdk1.6.0_25/bin/java is not Java 1.6 or newer.
runjava: "C:\Program Files\Java\jdk1.6.0_25/bin/java" is not an appropriate JRE
runjava: Checking JRE in user's path: "/c/Windows/system32/java"…
runjava: found an appropriate JRE in user's path: "/c/Windows/system32/java"
runjava: value of "/c/Windows/system32/java" stored in configuration file
$ ./bin/install -dis
Erreur : impossible de trouver ou charger la classe principale org.opennms.install.Installer
user@USER-PC ~/opennms/target/opennms-1.11.90-SNAPSHOT (remotes/origin/rc/stable/1.8.10)
$ ./bin/install -h
Erreur : impossible de trouver ou charger la classe principale org.opennms.install.Installer
user@USER-PC ~/opennms/target/opennms-1.11.90-SNAPSHOT (remotes/origin/rc/stable/1.8.10)
$ ./bin/opennms start
./bin/opennms: OpenNMS not configured.
c:/Users/user/opennms/target/opennms-1.11.90-SNAPSHOT/etc/configured does not exist.
You need to run the installer to set up the database. In most
cases, it is enough to run:
c:/Users/user/opennms/target/opennms-1.11.90-SNAPSHOT/bin/install -dis
For details, see the install guide at:
http://www.opennms.org/index.php/QuickStart#Initialize_OpenNMS_and_the_Database
Comment je peux résoudre ce problème? et merci d'avance.