<![CDATA[Forum Ubuntu-fr.org / java: quelqu'un comprend-il ceci?[resolu mais...]]]> http://forum.ubuntu-fr.org/viewtopic.php?id=4172 Thu, 05 May 2005 09:37:08 +0000 FluxBB <![CDATA[Réponse à : java: quelqu'un comprend-il ceci?[resolu mais...]]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=27709#p27709 Bon ben allez comprendre...

J'ai résolu mon problème:

  * Unzip jmc.CSVconv.zip

en fait il faut sauver le zip sur son disque dur et NE PAS l'unzipper

* Set Java Class Path to include the current path ("."):

          % setenv CLASSPATH .:/home/... 

    * Set the current path to jmc directory location

La ben j'ai ajouté
CLASSPATH=.:/home/moi/jmc.CSVconv.zip
export CLASSPATH

a la fin de mon fichier /etc/bash.bashrc

ensuite

* Run Java interpreter:

          % jre jmc.CSVconv [CSVtoPDB <input_csv> <output_pdb> [password]]
          % jre jmc.CSVconv [PDBtoCSV <input_pdb> <output_csv> [password]]

ben la il faut juste taper: java jmc.CSVconv
et la un gui aparait et demande quel fichier et quel conversion sont necessaires

Allez comprendre...:rolleyes:

]]>
Thu, 05 May 2005 09:37:08 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=27709#p27709
<![CDATA[Réponse à : java: quelqu'un comprend-il ceci?[resolu mais...]]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=27057#p27057 Merci de ta reponse rapide.:)

Pour JRE, j'ai installé java selon le guide present sur ubuntu-fr.org. Je peux faire

java -jar *.jar

Ca, ca marche mais faut-il installer autre chose pour que jre fonctionne?

Pour le fichier a modifier, il s'agit peut-etre de /etc/bash.bashrc que j'avais deja du modifier pour y inclure les paths de java?

hmm

]]>
Tue, 03 May 2005 13:54:37 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=27057#p27057
<![CDATA[Réponse à : java: quelqu'un comprend-il ceci?[resolu mais...]]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=27054#p27054 Concernant la cmd "jre" qui ne fonctionne pas : as-tu installé la JVM comme mentionné à la 2eme ligne ? sinon tu ne peux pas executer la cmd...

->a mon avis c'est plutot un fichier qu'il faut editer et ecrire dedans la ligne indiquée : "setenv CLASSPATH..."

C'est tout ce que je peux dire actuellement, n'etant pas trop averti dans la config java...si ca peut t'aider, c'est l'essentiel:cool:

]]>
Tue, 03 May 2005 13:47:05 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=27054#p27054
<![CDATA[java: quelqu'un comprend-il ceci?[resolu mais...]]]> http://forum.ubuntu-fr.org/viewtopic.php?pid=27053#p27053 Voila que j'aimerai utiliser une application de tableur sous palmOS et synchroniser mes feuillets avec mon Ubuntu. Heureusement Minicalc possede un convertisseur csv java.
Voila tout ce qu'ils donnent comme instruction d'installation:

Generic Java CSV converter
When JVM is installed:

    * Unzip jmc.CSVconv.zip
    * Set Java Class Path to include the current path ("."):

          % setenv CLASSPATH .:/home/... 

    * Set the current path to jmc directory location
    * Run Java interpreter:

          % jre jmc.CSVconv [CSVtoPDB <input_csv> <output_pdb> [password]]
          % jre jmc.CSVconv [PDBtoCSV <input_pdb> <output_csv> [password]] 

      'CSVtoPDB' and 'PDBtoCSV' are case-sensitive commands.
      With less than 3 parameters, the program works in interactive mode.

Alors, j'ai installé java (en suivant les instructons du site, merci), unziper, je sais faire. Par contre le reste...

(d'ailleurs ni setenv, ni jre ne sont reconnus comme des commandes et le dossier unzipé ne contient que des fichiers avec l'extension .class)

Quelqu'un a une idée?
merci

]]>
Tue, 03 May 2005 13:40:53 +0000 http://forum.ubuntu-fr.org/viewtopic.php?pid=27053#p27053