Surveiller ce forum | Commencer une nouvelle discussion Commencer une nouvelle discussion
RE: Extraction de JHAMEG [ Répondre ]
Par : Hervé Darce on 2008-12-14 17:11
[forum:92591]
Bonjour,

J'avais déjà rendu exécutable le fichier. Mais étrangement j'ai pu extraire le lendemain. La seule différence avec le jour précédent est l'installation de Blackdown JDK 1.4.2.03. Mais cette version de java n'a pas été déclaré par défaut sur Gentoo. Mystère et boule de gomme ?!?

java-config -L
--------------
The following VMs are available for generation-2:
1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2) Sun JDK 1.5.0.15 [sun-jdk-1.5]
*) Sun JDK 1.6.0.10 [sun-jdk-1.6]
--------------

J'ai modifié javax.comm.properties qui se trouve dans mon-repertoire-dinstallation
--------------
serpath0 = /dev/ttyS0
serpath1 = /dev/ttyS1
serpath2=/dev/ttyUSB0
--------------

Le logiciel JHameg refuse de se lancer.

java -jar JHameg.jar
--------------
Exception in thread "main" java.lang.NullPointerException
at jhameg.ClassHameg507.testOpenSerie(ClassHameg507.java:93)
at jhameg.JFramePrincipal.ConfigurationSerie(JFramePrincipal.java:947)
at jhameg.JFramePrincipal.<init>(JFramePrincipal.java:130)
at jhameg.JHamegApp.<init>(JHamegApp.java:20)
at jhameg.JHamegApp.main(JHamegApp.java:84)
--------------

Cordialement,

Hervé Darce

RE: Extraction de JHAMEG [ Répondre ]
Par : franck FRESNEL on 2008-12-13 23:14
[forum:92581]
Bonsoir,

Il s'agit d'un ancien format d'installation. La démarche est la suivante: dans une fenêtre terminale, dans le répertoire contenant le fichier JHameg_2_0b3.bin taper:
chmod +x JHameg__2_0b3.bin
./JHameg_2_0b3.bin

Cordialement,

Franck Fresnel

RE: Extraction de JHAMEG [ Répondre ]
Par : Hervé Darce on 2008-12-12 18:41
[forum:92577]
Suite ...

Le fichier JHameg_2_0b3.bin est un mélange de script shell et de binaire. Je ne vois pas comment régler mon problème.

Dans la doc je ne comprends pas "Taper ./nomdufichier(sans extension)". Le seul fichier qui existe est Hameg_2_0b3.bin

Extraction de JHAMEG [ Répondre ]
Par : Hervé Darce on 2008-12-12 07:44
[forum:92575]
Bonjour,

Je suis de retour après une longue absence.

Je vais tester sous Gentoo Linux ATNT, ATNA et JHAMEG.

L'installation de JHAMEG bloque lors de l'extraction
--------------
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.
--------------

Ce problème est identique sous Gentoo et Ubuntu. Peut-on télécharger directement les fichiers jar ou les fichiers compressés en tar.gz par exemple. L'archivage tar et la compression gzip est beaucoup plus portable sur les plateformes Linux (elles sont variées).

Une petite remarque: "java --version" ne fonctionne pas sous Gentoo.

Sous Gentoo: il faut faire java-config -v
--------------
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
--------------

Sous Ubuntu: java --version
--------------
java version "1.5.0"
gij (GNU libgcj) version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--------------

L'installation de ATNT est sans problème.

Je testerai bientôt ATNA avec les centrales Orphy.

La documentation fournie est de qualité.

Cordialement,

Hervé Darce

FEDER Powered By FusionForge Collaborative Development Environment Charte d'utilisation / Nous contacter / Mentions légales Haut de page