|
Publicité ' | |||||||||||||||||||||||
|
|
#1 | ||
|
Invité régulier
![]() Inscription : décembre 2010 Messages : 96 ![]() |
Salut, j'utilise ubuntu 11.10 . Je voulais installer Java 1.6.x et j'ai essayé les commandes suivantes:
1. Add the Canonical Partner Repository to your apt repositories: Code :
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" 3. Install sun-java6-jdk 4. Select Sun’s Java as the default on your machine. Code :
$ sudo update-java-alternatives -s java-6-sun Code :
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate trans.unauthenticated = self._simulate_helper(trans) File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper return depends, self._cache.required_download, \ File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download pm.get_archives(fetcher, self._list, self._records) SystemError: E:I wasn't able to locate a file for the sun-java6-bin package. This might mean you need to manually fix this package. pour ouvrir le fichier status et la je trouve Code :
|
||
|
|
00
|
Copyright © 2000-2012 - www.developpez.com