Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/07/2008, à 17:40

magiccerbere

[RESOLU]Sunjava

Bonjour,

J'ai depuis un moment toujours le meme probleme et je ne parviens pas a savoir quoi faire.
Apparement, il faut que je telecharge quelque chose, mais je ne comprend.
Donc si quelque pourrait m'aider...:)


Paramétrage de sun-java6-doc (6-06-0ubuntu1) ...
This package is an installer package, it does not actually contain the
JDK documentation.  You will need to go download one of the
archives:

    jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/javase/downloads/

now and download.  The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]

Merci beaucoup

Dernière modification par magiccerbere (Le 19/07/2008, à 22:03)


(Sur)vie... C'est tout...

Hors ligne

#2 Le 03/07/2008, à 23:43

ADcomp

Re : [RESOLU]Sunjava

Hello ,

Ben il faut faire ce que le gentil monsieur te demande tongue

tu vas sur http://java.sun.com/javase/downloads/

> Java SE 6 Documentation 

Tu acceptes la license et tu download le fichier ( jdk-6-doc.zip )

Tu copie ce fichier dans le répertoire '/tmp' et tu modifies l'user en root.
Ensuite tu peux relancer l'install de la doc ..

mv jdk-6-doc.zip /tmp
cd /tmp
sudo chown root:root jdk-6-doc.zip
sudo apt-get install sun-java6-doc

Voilà .. ca devrait fonctionner.

@pluche


David [aka] ADcomp

Hors ligne

#3 Le 04/07/2008, à 22:08

magiccerbere

Re : [RESOLU]Sunjava

Alors c'est bizarre, car j'ai un message d'erreur mais tout marche apparement...

mickael@mickael-laptop:~$ mv jdk-6-doc.zip /tmp
mickael@mickael-laptop:~$ cd /tmp
mickael@mickael-laptop:/tmp$ sudo chown root:root jdk-6-doc.zip
[sudo] password for mickael: 
mickael@mickael-laptop:/tmp$ sudo apt-get install sun-java6-doc
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
mickael@mickael-laptop:/tmp$ dpkg --configure -a
dpkg: l'opération demandée requiert les privilèges du superutilisateur
mickael@mickael-laptop:/tmp$ sudo dpkg --configure -a
Paramétrage de sun-java6-doc (6-06-0ubuntu1) ...
[/tmp/jdk-6-doc.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/jdk-6-doc.zip or
        /tmp/jdk-6-doc.zip.zip, and cannot find /tmp/jdk-6-doc.zip.ZIP, period.
dpkg : erreur de traitement de sun-java6-doc (--configure) :
 le sous-processus post-installation script a retourné une erreur de sortie d'état 9
Des erreurs ont été rencontrées pendant l'exécution :
 sun-java6-doc
mickael@mickael-laptop:/tmp$ sudo apt-get install sun-java6-doc
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
sun-java6-doc est déjà la plus récente version disponible.
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  junit4 libartsc0 eclipse-source eclipse-jdt qjackctl eclipse-pde g++-4.1
  junit kdelibs-data libggzmod4 liblualib50 libboost-thread1.34.1
  libdjconsole0 alsa-oss libboost-date-time1.34.1 libstdc++6-4.1-dev
  python-mutagen cvs libgii1 fceu libggz2 classpath-gtkpeer
  linux-headers-2.6.24-18-generic libdjconsole-data libgii1-target-x
  galeon-common classpath-common cacao libggzcore9 classpath liblua50
  gnash-common jackd libid3-3.8.3c2a linux-headers-2.6.24-18 libmpeg3-1
  libsmpeg0 libungif4g
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 54 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 0o d'espace disque supplémentaires seront utilisés.
Paramétrage de sun-java6-doc (6-06-0ubuntu1) ...
[/tmp/jdk-6-doc.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/jdk-6-doc.zip or
        /tmp/jdk-6-doc.zip.zip, and cannot find /tmp/jdk-6-doc.zip.ZIP, period.
dpkg : erreur de traitement de sun-java6-doc (--configure) :
 le sous-processus post-installation script a retourné une erreur de sortie d'état 9
Des erreurs ont été rencontrées pendant l'exécution :
 sun-java6-doc
E: Sub-process /usr/bin/dpkg returned an error code (1)

J'ai mis toutes les manips que j'ai fait.
Enfin bref, sa marche c'est le plus important, mais si quelqu'un a une explication au probleme...


(Sur)vie... C'est tout...

Hors ligne

#4 Le 05/07/2008, à 09:59

magiccerbere

Re : [RESOLU]Sunjava

euh... j'ai de nouveau le probleme (le boulet^^). Donc que faire? qu'es ce que j'ai loupé dans la manip?


merci


(Sur)vie... C'est tout...

Hors ligne

#5 Le 05/07/2008, à 14:27

ADcomp

Re : [RESOLU]Sunjava

Yep ,

Bizarre , moi j'ai pas eu ce phénomène ..

Peut-être désinstaller proprement ( + purge ? ) et réinstall ? place déjà le fichier zip dans /tmp ?

sudo apt-get remove --purge sun-java6-doc
sudo apt-get install sun-java6-doc

Mes 2 cents ..


David [aka] ADcomp

Hors ligne

#6 Le 17/07/2008, à 14:32

magiccerbere

Re : [RESOLU]Sunjava

sniff

sa ne marche toujours pas...



mickael@mickael-laptop:~$ sudo apt-get install sun-java6-doc
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
mickael@mickael-laptop:~$ dpkg --configure -a
dpkg: l'opération demandée requiert les privilèges du superutilisateur
mickael@mickael-laptop:~$ sudo dpkg --configure -a
Paramétrage de sun-java6-doc (6-06-0ubuntu1) ...
This package is an installer package, it does not actually contain the
JDK documentation.  You will need to go download one of the
archives:

    jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/javase/downloads/

now and download.  The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]

Merci


(Sur)vie... C'est tout...

Hors ligne

#7 Le 18/07/2008, à 17:41

magiccerbere

Re : [RESOLU]Sunjava

ce qui est trés embetant, car du coup, je peux faire aucune MAJ, ne peut pas installer de nouveau paquets... etc


(Sur)vie... C'est tout...

Hors ligne

#8 Le 18/07/2008, à 23:33

magiccerbere

Re : [RESOLU]Sunjava

apparement sa marche, je vous le confirme demain avec un petit résolu avec de la chance!


(Sur)vie... C'est tout...

Hors ligne