sun java full download for ubuntu10.10
where is the link to download all java file for ubuntu10.10
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu sun-java6 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Eliah Kagan
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
These instructions tell you how to install Sun (now Oracle) Java in Ubuntu 10.10:
http://
Revision history for this message
|
#2 |
Run software centre and edit sources, put a tick in the partner servers and reload. You can now install a lot of stuff from the partner repo including adobe acobat reader, skype, googleearth etc etc
Revision history for this message
|
#3 |
Thanks,
I will chek, i have slow internet conection, is there any site to download
all ubuntu 10.10 update in a single file and javase6develepment kit software
for ubuntu ( not execution file via net) like downloading software via dap
or download manager. it like full file.
----- Original Message -----
From: "Eliah Kagan" <email address hidden>
To: <email address hidden>
Sent: Thursday, January 27, 2011 3:46 PM
Subject: [Question #143038]: sun java full download for ubuntu10.10
Your question #143038 on sun-java6 in ubuntu changed:
https:/
Project: Ubuntu => sun-java6 in ubuntu
--
You received this question notification because you are a direct
subscriber of the question.
Revision history for this message
|
#4 |
Download JAVA using Ubuntu Software Center from the Applications Menu
Revision history for this message
|
#5 |
Sai Manoj Kumar Y's, actionparsnip's, and my instructions are all equivalent, and they all have the result of automatically downloading and installing the JRE. You can also select the JDK and install that, the same way. The package for the JRE is called sun-java6-jre. The package for the JDK is called sun-java6-jdk.
I'm not sure exactly what you're asking, with respect to Ubuntu 10.10 updates in general, but that seems to be a separate question (i.e. it is not specifically about Sun Java), so you'll probably get better results if you ask it as a separate Question here on Launchpad.
Revision history for this message
|
#6 |
i have slow internet conection it will take 10 hours to download via Ubuntu Software Center, so please tell where to download direct file from website it may have 70 mb size, so i can download from internet cafe and install in my pc later on. I have download (1) jdk-6u23-
i need javase6 develepment kit software for ubuntu 10.10. i have download the windows xp version javase6 develepment kit software from oracle it works,
thanks
Revision history for this message
|
#7 |
You can install those files on Ubuntu, but I don't recommend it. You can manually download the .deb packages to any computer, and then bring them to your PC. Then you will have the same thing you'd have if you had obtained it in the Software Center. One of the benefits of this is that other Ubuntu packages that rely on Java will know you have it (and thus not refuse to work), and will know where to find it.
Go to https:/
If your architecture is i386 (i.e. you have a 32-bit processor, or you have a 64-bit processor but you have the 32-bit version of Ubuntu installed), then download all the files whose names start with sun-java6- and end with _i386.deb.
If your architecture is amd64 (i.e. you have a 64-bit processor and have the 64-bit version of Ubuntu installed), then download all the files whose names start with sun-java6- and end with _amd64.deb.
Those packages, taken together, provide the same functionality that is provided by the JRE and JDK on Windows.
If you have a 64-bit processor and run the 64-bit version of Ubuntu, but you have Java programs that assume the 32-bit version of the Java Runtime Environment (which generally speaks badly of their design), get the file that starts with ia32- as well.
You'll have to manually obtain and install the new versions, as they become available. While you don't always have to install new updates, a lot (if not most) updates to Java fix security vulnerabilities, so it is a very good idea to install updates as they are released. If you enable the Partner repository as per the instructions in earlier answers, then at least you'll be automatically notified when updates are released.
If you are sure you want to install from jdk-6u23-
Revision history for this message
|
#8 |
Hai eliah
i want to install from jdk-6u23-
i have follow the quide from the the said web side it work but it long time time to download the said file.
In order to run Java programs, you must have a Java run time
environment (JRE) installed. To run Java web applets in your browser, you additionally need a plugin for your browser, which is not installed by default. In this post i will show you 2 ways to install Java, The first how to install Java6 from partner repository and the second how to have the latest stable version of java from PPA repository.
1- If you want to install Java run time in ubuntu 10.10 Maverick meerkat , you need to activate first the partner repository, to do that, go to System-
in Software Center, type sun-java6-jre in the search box, then select and install Sun Java:
sun-java6-jre
Revision history for this message
|
#9 |
Have you tried following my instructions, manually downloading the .deb files from launchpad.net at the Internet cafe, and then installing them on your computer?
If you do that, then adding the Partner repository in the Software Center is *optional*.
The .bin files are are not Ubuntu packages. They are command-line executables that install Java in any GNU/Linux distribution, including Ubuntu. However, as I explained above, if you install from them, it will be more difficult for you to get some Java programs working, than if you install from the .deb packages as per my instructions. I highly recommend installing from the .deb packages. Nothing you have said so far indicates that you have *any* reason to use the .bin installers instead of the .deb packages.
If you understand this and still want to install from the .bin files, follow the official instructions on the Oracle website where you downloaded them. For your convenience, that's http://
Revision history for this message
|
#10 |
@zachariakassim: When you have a separate question, it is best to ask it separately (i.e. to open a new question on Launchpad for it). However, when you are asking for additional assistance for solving the same problem, you should *not* start a new question. Instead, you should post again in the original question, by typing your post into the box in the web-based interface and clicking the button to request more assistance (not the "Just Add a Comment" button, as that won't change the status of your question back from Needs Information / Answered to Open). You can also reopen a question by replying to the email that notifies you of the post that you want to reply to. If you do this, you should remove the text of the other person's post from the body of your email, as including it is confusing and takes up a lot of space on the Question page.
https:/
The following is the text of the most recent question you have asked, which appears to be a direct follow-up to my most recent answer in this question. I am reproducing that text (with slightly altered formatting) from https:/
> Hai Eliah Kagan,
>
> I tried to install the jdk-6u23-
> command in terminal it inflated and executed but still java it is not working,
>
> this is the command and guide i got from net
>
> open a terminal and cd (change directory) to/where/you/put/ jre-6u23-
> assume root "su" or sudo cp jre-6u23-
> sh /usr/lib/
> Then type rm /usr/lib/
> it has been extracted.
> The bin file is a self extracting archive that runs a script that asks you to
> accept the terms of the program. The command "sh" tell the system to run it as
> a executable script. Type man chmod when done reading pres q.
> Look here for commands ( http://
>
> So i am folowing what you said, please send me the link directly so that i
> will download from the internat cafe and will install in my pc, since the
> ubuntu website is so confusing so what is the exact file name to be download
> for installing java se6 development kit for ubuntu 10.10,
>
> thanks
Do you want me to help you with downloading the .deb packages for Ubuntu (which is the method I recommended above), or do you want me to help you with the problems you had when you attempted to install from the .bin files?
If you want me to help you with downloading the .deb packages for Ubuntu, then please first attempt to find the .deb files using my instructions above. You can try to find them now, so you know which files you need, but then wait to download them until you're in the Internet cafe. If you have attempted to follow my instructions above, then please explain as specifically as possible what you had trouble with. There are many files listed, but my instructions above provide a specific method that you can use to determine exactly which files you need.
It is not as simple as me telling you which files you need, as I don't know the architecture of your Ubuntu installation, or your specific development needs. These issues are discussed in my instructions above.
Revision history for this message
|
#11 |
(Please note that you must click the link that says "[...]" in my previous post, in order to see the text of the question you asked. Clicking that link doesn't cause you to leave this page, it just makes the link expand into the text.)
Revision history for this message
|
#12 |
Do you still want assistance with this issue?
If so, you can indicate that you still want assistance by reposting your latest post from https:/
Since you've never posted here (at *this* question) again, I have no reason to believe that you still need help. However, I would be pleased to help you, if you indicate that you still want assistance.
Revision history for this message
|
#13 |
Since my internet connection is slow, I went to internet cafe and download all these files, as mr eliah kagan said.
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
But when I tried to install it is not installing
it give this error
tar: ./usr/share/
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
again when i tried to extract the file it give this error
tar: ./usr/share/
permitted
tar: ./usr/share/
tar: ./usr/share/
tar: ./usr/share/
tar: ./usr/share/
tar: ./usr/share/
tar: ./usr/share/
tar: ./usr/share/
tar: ./usr/share/
tar: ./usr/share/
tar: ./usr/share/
tar: ./usr/share/
tar: ./usr/share/
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
so please inform how to install and extract the file, also it say no
autorun file found,
thanks
Revision history for this message
|
#14 |
Copy the deb files to /var/cache/
sudo apt-get install sun-java6-plugin
Should do it
Revision history for this message
|
#15 |
If that works, then it will have installed the JRE and the Java browser plugin; do install the JDK you'll have to run the additional command:
sudo apt-get install sun-java6-jdk
If you have any problems, please post again, on this page, and we'll provide further assistance.
By the way, the error messages you posted -- those were from when you tried to install the .bin file that you downloaded from Oracle's website, and not from trying to install the .deb files, right?
Revision history for this message
|
#16 |
hai eliah kagan and actionparsnip
i have tried to do as actionparsnip said, all the below file cannot copied to /var/cache/
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
it say permission denied even i am as administrator this is the error
but i can copied to the temp folder.
Error opening file '/media/
There was an error copying the file into /media/
what shall i do to get permission to copy files to the folder
i have tried to share the folder option but no use.
if i have to download directly from my home it will take 2 days to install via ubuntu.
so please help
Revision history for this message
|
#17 |
Your user account doesn't have access to that folder. Which is a good thing, because you don't want to be able to accidentally mess up your system. However, you are an administrator, which means you have the power to *become* the superuser (username "root") and perform administrative actions like this.
Press Alt+F2, type in "gksu nautilus" (without the quotes) and press enter. This gives you a file manager window running as root. Be careful--you can do just about anything in this file manager window, including things that seriously harm your Ubuntu system.
In this window, you can copy the files. You should close the window when you're done.
Revision history for this message
|
#18 |
hai everybody
i have tried that as you say above now it give this report.
zacharia@
[sudo] password for zacharia:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sun-java6-plugin : Depends: sun-java6-bin (>= 6.22-0ubuntu1~
E: Broken packages
zacharia@
next what i should do.
my son is studiying in a enginering gollege in india, where they have only linux redhat and ubuntu installed in their pc,
i have xp in my pc, for his study i have installed ubuntu that is the reason.
one onother question
i have installed ubuntu 10.10 in my pen drive via cd, it work fine i can boot from the pendrive, then i took the pendrive to internet cafe and boot from ubuntu from the cafe and installed live update and sun java from there it work fine i can use java now,
but the pendrive can be damage anytime my ubuntu os are there in the pendrive. can i copy all the updated file from the pendrive to pc if so how so that i can have permenent ubuntu os in my pc
Revision history for this message
|
#19 |
Did you copy *all* eight .deb files to /var/cache/
> one onother question
>
> i have installed ubuntu 10.10 in my pen drive via cd, it work fine i
> can boot from the pendrive, then i took the pendrive to internet
> cafe and boot from ubuntu from the cafe and installed live update
> and sun java from there it work fine i can use java now,
>
> but the pendrive can be damage anytime my ubuntu os are there
> in the pendrive. can i copy all the updated file from the pendrive
> to pc if so how so that i can have permenent ubuntu os in my pc
There are two possible interpretations of this question. If you are asking if it is possible to take files from the USB flash drive and use them to install Oracle's Java to the Ubuntu system on the desktop PC's hard drive, then yes, assuming that you installed Ubuntu to the USB flash drive in the same way that it you would install it to a hard disk, you could do that...but the files you would copy would be the exact same eight .deb files you are already working with, and the procedure would be the same!
On the other hand, if you are asking if it is possible for you to transfer the Ubuntu *installation* from the USB flash drive to the PC, then the answer is also yes, also assuming that you installed Ubuntu to the flash drive in the same way as you would install it to a hard disk. In this case, you could wipe the hard disk, copy the partitions from the USB flash drive to the hard disk, and then resize the ext4 partition to fill up the available unpartitioned space on the hard disk. However, I do not recommend doing this, as it is time-consuming and considerably harder than installing Java using the method you're currently attempting.
Revision history for this message
|
#20 |
hai
i had copied eight .deb files to /var/cache/
zacharia@
[sudo] password for zacharia:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gsfonts-x11 odbcinst odbcinst1debian2 sun-java6-bin sun-java6-jre unixodbc
Suggested packages:
sun-java6-fonts ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho
ttf-sazanami-
unixodbc-bin
The following NEW packages will be installed:
gsfonts-x11 odbcinst odbcinst1debian2 sun-java6-bin sun-java6-jre
sun-java6-plugin unixodbc
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 30.0MB/36.4MB of archives.
After this operation, 104MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://
Could not resolve 'archive.
Err http://
Could not resolve 'archive.
Err http://
Could not resolve 'archive.
Err http://
Could not resolve 'archive.
Err http://
Could not resolve 'archive.
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
zacharia@
so what shall i do
also please give the link to download umbrello for ubuntu 10.10 offline and i will install offline.
thanks
Revision history for this message
|
#21 |
We're making progress. There seem to be two problems, now.
FIRST: Are you *sure* you copied the file sun-java6-
sudo apt-get install sun-java6-bin
SECOND: The situation is that you have all of the Oracle Java packages, but Oracle Java depends on some other software that you don't have, and which you need packages for. There are two ways you can solve this (pick one):
(1) Connect to the Internet and run:
sudo apt-get install odbcinst odbcinst1debian2 unixodbc gsfonts-x11
This will download and install those packages. I understand that for Java, you didn't want to do this, because it would have taken an extremely long time with your slow connection. However, altogether, these four packages are only 320 kB big. That's less than a third of a megabyte! So connecting with your (slow) connection is definitely the way to go, unless you don't have an Internet connection at all. After running that command to download and install these four tiny packages, you can run "sudo apt-get install sun-java6-plugin" again to install Java.
(2) Go to the Internet cafe, download the files for those four packages, bring them home to your desktop computer, copy them to /var/cache/
https:/
https:/
https:/
https:/
Unless everything works perfectly, please paste all the text from the Terminal (as before).
Revision history for this message
|
#22 |
Ordinarily, I would say that you should open a new question for the Umbrello issue. However, since the packages you have to get for Oracle Java to work would be obtained at the same time as you obtain the packages for Umbrello to work, and fundamentally the same issues are prone to arise in both cases, I think this is one of the exceptional instances where two separable issues should *not* be separated into different Launchpad questions.
There might be a *lot* of packages you have to install, for Umbrello, since it's a KDE program and if you installed Ubuntu (rather than Kubuntu), you don't have KDE. This isn't a problem, but I'm not sure which packages you do and do not have already, so attempting to give you a list of download links now could result in a problem similar to the one you're experiencing for Oracle Java...but far worse.
Therefore, please run the following command, and paste the text from the Terminal:
apt-get -s install umbrello
The absence of "sudo" at the beginning is intentional. This should reveal which packages will have to be installed, in order to install Umbrello.
Revision history for this message
|
#23 |
----- Original Message -----
From: "Eliah Kagan" <email address hidden>
To: <email address hidden>
Sent: Sunday, February 06, 2011 10:22 PM
Subject: Re: [Question #143038]: sun java full download for ubuntu10.10
Your question #143038 on sun-java6 in ubuntu changed:
https:/
Status: Open => Answered
Eliah Kagan proposed the following answer:
We're making progress. There seem to be two problems, now.
FIRST: Are you *sure* you copied the file sun-
java6-bin_
package manager is not finding it. If you really did copy it there, then
try running this command, and paste the text from the Terminal here:
sudo apt-get install sun-java6-bin
SECOND: The situation is that you have all of the Oracle Java packages,
but Oracle Java depends on some other software that you don't have, and
which you need packages for. There are two ways you can solve this (pick
one):
(1) Connect to the Internet and run:
sudo apt-get install odbcinst odbcinst1debian2 unixodbc gsfonts-x11
This will download and install those packages. I understand that for
Java, you didn't want to do this, because it would have taken an
extremely long time with your slow connection. However, altogether,
these four packages are only 320 kB big. That's less than a third of a
megabyte! So connecting with your (slow) connection is definitely the
way to go, unless you don't have an Internet connection at all. After
running that command to download and install these four tiny packages,
you can run "sudo apt-get install sun-java6-plugin" again to install
Java.
(2) Go to the Internet cafe, download the files for those four packages,
bring them home to your desktop computer, copy them to
/var/cache/
java6-plugin" again. Here are download links for the files:
https:/
https:/
https:/
https:/
Unless everything works perfectly, please paste all the text from the
Terminal (as before).
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you are a direct
subscriber of the question.
Hai;
I followed as you said, also i have download all the four files from my pc
itself since it is a small file, please refer the screen shot
it give these below eror
(1) eror
zacharia@
sun-java6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sun-java6-plugin
zacharia@
(2) eror
zacharia@
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sun-java6-bin
zacharia@
(3)
zacharia@
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sun-java6-jdk
zacharia@
is there any other command to be type other than this
i have found that some file cannot be open which show into mark, i am
sending the screen shot,
may be these file currupt or how to chek weather this file is work. all
these files are in the /var/cache/
how to save all the file which was install online in ubuntu10.10 via my usb
os ubuntu10.10
can i copy all of them to the hard disk os ubuntu10.10
if so where
thanks
Revision history for this message
|
#24 |
i have sent a screen shoot with the above letter did you recieve if not please give your direct email.
thanks
Revision history for this message
|
#25 |
i have found that all the below file cannot be open why
dpkg-deb (subprocess): short read on buffer copy for failed to write to pipe in copy
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
dpkg-deb: subprocess tar returned error exit status 2
if i open the 6 file using ubuntu software centre it give this error
internal error couldnot be open
why
is there team viewer software for ubuntu so that you can check my pc directly
if so where to download
please give your instant chat id can we have live chating via ubuntu
which software to use.
thanks
thanks
Revision history for this message
|
#26 |
In the future, please do not post with previous messages included--it makes it very difficult for people who are using the web interface (https:/
For screenshots, please put them on the web and post a link here. You can use http://
This problem will probably not become easier to fix by splitting the discussion about it into multiple channels, or by using methods that exclude every other potential contributor besides myself from helping. Therefore, let's keep using https:/
Please open a new Terminal window and run these 10 commands:
cat /etc/apt/
ls -l /etc/apt/
apt-cache policy odbcinst odbcinst1debian2 unixodbc gsfonts-x11
df -h
cd /var/cache/
ls -lh
sudo file *
sudo md5sum *
sudo dpkg --configure -a
sudo apt-get -f install
Then copy all the text from the Terminal (Edit > Select All; Edit > Copy) and paste it here. This should help to reveal the cause of your recent errors.
Revision history for this message
|
#27 |
I follow above instruction it give this report
zacharia@
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://
# deb-src http://
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb http://
deb-src http://
zacharia@
zacharia@
total 0
zacharia@
zacharia@
unixodbc:
Installed: (none)
Candidate: (none)
Version table:
gsfonts-x11:
Installed: (none)
Candidate: (none)
Version table:
N: Unable to locate package odbcinst
N: Unable to locate package odbcinst1debian2
zacharia@
zacharia@
Filesystem Size Used Avail Use% Mounted on
/dev/sdb8 4.7G 2.1G 2.4G 48% /
none 432M 276K 432M 1% /dev
none 438M 112K 438M 1% /dev/shm
none 438M 80K 438M 1% /var/run
none 438M 0 438M 0% /var/lock
/dev/sdb9 9.2G 159M 8.6G 2% /home
/dev/sdb6 20G 112K 20G 1% /media/B809-330A
/dev/sda8 6.2G 5.8G 405M 94% /media/
zacharia@
zacharia@
zacharia@
zacharia@
total 47M
-rw-r--r-- 1 root root 11K 2011-02-07 10:18 gsfonts-
-rw-r----- 1 root root 0 2010-10-07 21:28 lock
-rw-r--r-- 1 root root 53K 2011-02-07 10:16 odbcinst1debian
-rw-r--r-- 1 root root 19K 2011-02-07 10:15 odbcinst_
drwxr-xr-x 2 root root 4.0K 2010-10-07 21:46 partial
-rw------- 1 root root 15M 2006-01-01 05:23 sun-java6-
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:20 sun-java6-
-rw------- 1 root root 12M 2006-01-01 05:24 sun-java6-
drwxr-xr-x 5 root root 4.0K 2011-02-08 14:20 sun-java6-
-rw------- 1 root root 1.9K 2011-02-08 08:10 sun-java6-
-rw------- 1 root root 10 2011-01-30 06:25 sun-java6-
-rw------- 1 root root 9.0M 2006-01-01 05:06 sun-java6-
drwxr-xr-x 5 root root 4.0K 2011-02-08 14:20 sun-java6-
-rw------- 1 root root 6.2M 2011-02-08 08:23 sun-java6-
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:18 sun-java6-
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:19 sun-java6-
-rw------- 1 root root 1.9K 2011-02-08 08:09 sun-java6-
-rw------- 1 root root 5.2M 2006-01-01 05:21 sun-java6-
-rw-r--r-- 1 root root 228K 2011-02-07 10:17 unixodbc_
zacharia@
zacharia@
[sudo] password for zacharia:
gsfonts-
lock: empty
odbcinst1debian
odbcinst_
partial: directory
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
unixodbc_
zacharia@
Revision history for this message
|
#28 |
You didn't run the last three commands:
sudo md5sum *
sudo dpkg --configure -a
sudo apt-get -f install
Please do that, and paste the resulting text. If you have already exited that Terminal window, then run this command first in the new Terminal window (and then those commands):
cd /var/cache/
Revision history for this message
|
#29 |
hai,
this is the report
zacharia@
zacharia@
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://
# deb-src http://
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb http://
deb-src http://
zacharia@
zacharia@
total 0
zacharia@
zacharia@
unixodbc:
Installed: (none)
Candidate: (none)
Version table:
gsfonts-x11:
Installed: (none)
Candidate: (none)
Version table:
N: Unable to locate package odbcinst
N: Unable to locate package odbcinst1debian2
zacharia@
zacharia@
Filesystem Size Used Avail Use% Mounted on
/dev/sdb8 4.7G 2.1G 2.4G 48% /
none 432M 276K 432M 1% /dev
none 438M 164K 438M 1% /dev/shm
none 438M 80K 438M 1% /var/run
none 438M 0 438M 0% /var/lock
/dev/sdb9 9.2G 162M 8.6G 2% /home
/dev/sda8 6.2G 5.8G 405M 94% /media/
zacharia@
zacharia@
zacharia@
zacharia@
total 47M
-rw-r--r-- 1 root root 11K 2011-02-07 10:18 gsfonts-
-rw-r----- 1 root root 0 2010-10-07 21:28 lock
-rw-r--r-- 1 root root 53K 2011-02-07 10:16 odbcinst1debian
-rw-r--r-- 1 root root 19K 2011-02-07 10:15 odbcinst_
drwxr-xr-x 2 root root 4.0K 2010-10-07 21:46 partial
-rw------- 1 root root 15M 2006-01-01 05:23 sun-java6-
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:20 sun-java6-
-rw------- 1 root root 12M 2006-01-01 05:24 sun-java6-
drwxr-xr-x 5 root root 4.0K 2011-02-08 14:20 sun-java6-
-rw------- 1 root root 1.9K 2011-02-08 08:10 sun-java6-
-rw------- 1 root root 10 2011-01-30 06:25 sun-java6-
-rw------- 1 root root 9.0M 2006-01-01 05:06 sun-java6-
drwxr-xr-x 5 root root 4.0K 2011-02-08 14:20 sun-java6-
-rw------- 1 root root 6.2M 2011-02-08 08:23 sun-java6-
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:18 sun-java6-
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:19 sun-java6-
-rw------- 1 root root 1.9K 2011-02-08 08:09 sun-java6-
-rw------- 1 root root 5.2M 2006-01-01 05:21 sun-java6-
-rw-r--r-- 1 root root 228K 2011-02-07 10:17 unixodbc_
zacharia@
zacharia@
gsfonts-
lock: empty
odbcinst1debian
odbcinst_
partial: directory
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
unixodbc_
zacharia@
zacharia@
cfdd70d87039169
d41d8cd98f00b20
c0997d62598eaf4
c5d2bfec0a05bb9
md5sum: partial: Is a directory
de19407c328336f
md5sum: sun-java6-
14ec5ce29fdcada
md5sum: sun-java6-
9d5b2e8e90a598b
3e2b31c72181b87
978564560117a81
md5sum: sun-java6-
b8dd429cf6aed0c
md5sum: sun-java6-
md5sum: sun-java6-
db1e79e7dd0f9cb
8d8dba370eb65d5
f1452e0b0136063
zacharia@
zacharia@
zacharia@
zacharia@
Reading package lists... 7%
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 101 not upgraded.
zacharia@
zacharia@
zacharia@
Revision history for this message
|
#30 |
That information reveals that the downloads of the following four files did not complete successfully:
https:/
https:/
https:/
https:/
When you redownload those files, I recommend you check their final sizes. If they're smaller than the sizes specified for them at https:/
After redownloading those files, bring them home to your computer, and replace the current files in /var/cache/
It appears that there may also be a problem with your package manager recognizing that those files are the correct ones to use for installing the packages you're requesting to install (in your "apt-get install" commands). So run this command (which spans multiple lines, but you can paste the whole thing in and press enter):
sudo echo deb http://
/etc/
sudo cp /etc/apt/
/etc/
Then connect to the Internet, and run this command (which will not download a large amount of data; it will only update your package manager's information about what packages exist and how they depend on one another):
sudo apt-get update
Then disconnect from the Internet (in case this next command doesn't work as desired, and attempts to access the Internet to download large files, which we don't want). Now run the command:
sudo apt-get install sun-java6-plugin
If that works, then you finally have a full Java Runtime Environment installed, so now install the Java Development Kit as well:
sudo apt-get install sun-java6-jdk
As before, if you have any problems, please post again, including all the text from the Terminal.
Revision history for this message
|
#31 |
i have copied the four file and paste to /var/cache/
i typed this
acharia@
> /etc/apt/
> sudo cp /etc/apt/
> /etc/apt/
bash: /etc/apt/
cp: cannot stat `/etc/apt/
zacharia@
then i type this
zacharia@
Get:1 http://
Ign http://
Hit http://
Get:2 http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:3 http://
Ign http://
Hit http://
Hit http://
Ign http://
Get:4 http://
Ign http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Ign http://
Get:9 http://
Get:10 http://
Ign http://
Get:11 http://
Ign http://
Ign http://
Ign http://
Get:12 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:13 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Get:14 http://
Hit http://
Get:15 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Fetched 3,349kB in 12min 6s (4,608B/s)
Reading package lists... Done
zacharia@
then i type this
zacharia@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-plugin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'sun-java6-plugin' has no installation candidate
zacharia@
then i type this
zacharia@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'sun-java6-jdk' has no installation candidate
zacharia@
what shall i do now
Revision history for this message
|
#32 |
I apologize, there was an mistake in the instructions I gave you. The mistake was harmless, but it did prevent things from working, and has further prolonged the process of getting Java running on your system (by requiring you to run commands that did not work, instead of the right commands). I am sorry.
Run this big long command (paste it in all at once and press enter, like before):
echo deb http://
~/maverick-
sudo cp ~/maverick-
/etc/
sudo cp ~/maverick-
/etc/
rm ~/maverick-
That should enable the software source that provides the packages you're about to install, so that your "apt-get install" commands will recognize that the .deb files you manually obtained are the packages you're telling it to install. That's what I had intended for the first big long command I gave you to do. (That command actually did nothing.)
Then follow my previous instructions, starting with "Then connect to the Internet..."
Though it is impossible to know for sure, it appears that the only problem was my bad instructions (sorry!)...so hopefully this will just work. If not, please post again, including all the text from the Terminal as before.
Revision history for this message
|
#33 |
i follow the same
now this appear
Configuring sun-java6-jre
shall i close the windows
i have conected to net
i am online now
Revision history for this message
|
#34 |
when i try to close the terminal windows it say
There is still a process running in this terminal. Closing the terminal will kill it
what to do
Revision history for this message
|
#35 |
i wait conected for 1 hour nothing happen then i restart the pc
i run this command
zacharia@
[sudo] password for zacharia:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
zacharia@
Setting up java-common (0.38) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 31 changed 2 added doc-base file(s)...
Registering documents with scrollkeeper...
zacharia@
zacharia@
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
sun-java6-jdk : Depends: sun-java6-bin (>= 6.22-0ubuntu1~
sun-java6-jre : Depends: sun-java6-bin (>= 6.22-0ubuntu1~
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
zacharia@
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
zacharia@
y: command not found
zacharia@
n: command not found
zacharia@
is asking i am in root
what shall i do
Revision history for this message
|
#36 |
Prefixing a command with sudo makes it run as root. root is the name of the superuser--the user with nearly unlimited power whose identity you take on to perform administrative tasks.
Run:
sudo apt-get -f install
Then post the output.
Revision history for this message
|
#37 |
By the way, you might want to be disconnected from the Internet when you run that. The cause of the stalling before had nothing to do with your being connected to the Internet (downloading does not occur during "Configuring" operations). But this time, when you run "sudo apt-get -f install", it's possible that the package manager could make a silly choice that would involve downloading something big, which you don't want.
Revision history for this message
|
#38 |
hai this is the report
zacharia@
[sudo] password for zacharia:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
zacharia@
zacharia@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
sun-java6-plugin
0 upgraded, 1 newly installed, 0 to remove and 273 not upgraded.
Need to get 0B/1,864B of archives.
After this operation, 61.4kB of additional disk space will be used.
Selecting previously deselected package sun-java6-plugin.
(Reading database ... 123718 files and directories currently installed.)
Unpacking sun-java6-plugin (from .../sun-
Setting up sun-java6-plugin (6.22-0ubuntu1~
zacharia@
zacharia@
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-jdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
zacharia@
zacharia@
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-bin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
zacharia@
zacharia@
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-plugin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
zacharia@
zacharia@
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main
restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://
# deb-src http://
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb http://
deb-src http://
zacharia@
total 8
-rw-r--r-- 1 root root 57 2011-02-11 13:00 maverick-
-rw-r--r-- 1 root root 57 2011-02-11 13:00 maverick-
zacharia@
gsfonts-x11:
Installed: (none)
Candidate: 0.21
Version table:
0.21 0
500 http://
odbcinst1debian2:
Installed: 2.2.14p2-1ubuntu1
Candidate: 2.2.14p2-1ubuntu1
Version table:
*** 2.2.14p2-1ubuntu1 0
500 http://
100 /var/lib/
unixodbc:
Installed: 2.2.14p2-1ubuntu1
Candidate: 2.2.14p2-1ubuntu1
Version table:
*** 2.2.14p2-1ubuntu1 0
500 http://
100 /var/lib/
odbcinst:
Installed: 2.2.14p2-1ubuntu1
Candidate: 2.2.14p2-1ubuntu1
Version table:
*** 2.2.14p2-1ubuntu1 0
500 http://
100 /var/lib/
zacharia@
Filesystem Size Used Avail Use% Mounted on
/dev/sdb8 4.7G 2.5G 2.0G 57% /
none 432M 292K 432M 1% /dev
none 438M 176K 438M 1% /dev/shm
none 438M 92K 438M 1% /var/run
none 438M 4.0K 438M 1% /var/lock
/dev/sdb9 9.2G 182M 8.6G 3% /home
/dev/sda8 6.2G 5.8G 404M 94% /media/
zacharia@
zacharia@
total 93M
-rw-r--r-- 1 root root 11K 2011-02-07 10:18 gsfonts-
-rw-r--r-- 1 root root 65K 2010-07-05 13:35 java-common_
-rw-r--r-- 1 root root 213K 2011-01-22 05:35 libc-dev-
-rw-r----- 1 root root 0 2010-10-07 21:28 lock
-rw-r--r-- 1 root root 53K 2011-02-07 10:16 odbcinst1debian
-rw-r--r-- 1 root root 19K 2011-02-07 10:15 odbcinst_
drwxr-xr-x 2 root root 4.0K 2011-02-12 07:39 partial
-rw-r--r-- 1 root root 29M 2011-02-10 21:16 sun-java6-
-rw------- 1 root root 12M 2006-01-01 05:24 sun-java6-
-rw------- 1 root root 1.9K 2011-02-08 08:10 sun-java6-
-rw-r--r-- 1 root root 9.8M 2011-02-10 21:29 sun-java6-
-rw-r--r-- 1 root root 19M 2011-02-10 22:11 sun-java6-
-rw------- 1 root root 6.2M 2011-02-08 08:23 sun-java6-
-rw------- 1 root root 1.9K 2011-02-08 08:09 sun-java6-
-rw-r--r-- 1 root root 18M 2011-02-10 21:45 sun-java6-
-rw-r--r-- 1 root root 228K 2011-02-07 10:17 unixodbc_
zacharia@
gsfonts-
java-common_
libc-dev-
lock: empty
odbcinst1debian
odbcinst_
partial: directory
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
sun-java6-
unixodbc_
zacharia@
cfdd70d87039169
a1a0aa36e915f39
7b288a5722179e3
d41d8cd98f00b20
c0997d62598eaf4
c5d2bfec0a05bb9
md5sum: partial: Is a directory
7590f470947e50e
14ec5ce29fdcada
9d5b2e8e90a598b
38079439c78eda3
7c927c62de91fbb
b8dd429cf6aed0c
db1e79e7dd0f9cb
31d3c9db2ff97d2
f1452e0b0136063
zacharia@
zacharia@
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
zacharia@
zacharia@
zacharia@
zacharia@
zacharia@
it show this java icon in
desktop/
i found that old .deb file which i copied was corrupt, after this 2nd copy only work
is it alright know, my son say it work.
thank for all help
now where is the link for download
1. umbrello
2. accumalated ubuntu.10.10 update
3. uml
please give the link so that i can copy from internet cafe and copy the same to hard disk
thanks
Revision history for this message
|
#39 |
I'm glad Java is finally working. You'll have to manually update it as new releases come out (same as what you just finished doing, but with the newer package versions as they are released, and hopefully without the various problems you experienced along the way). Many if not most Java releases fix security bugs; installing those updates is important. If you don't know how to keep apprised of security updates in Java, please post again and I'll give you some information about that.
Java might work better with gsfonts-x11 installed. That's one of the packages you downloaded, and ordinarily it's installed when you install Java, but that did not happen in this case, since "apt-get install -f" will not typically install packages automatically when they are only "recommended" (rather than being declared as strict dependencies). So I suggest installing it (you shouldn't need an Internet connection for this, as you've already got the .deb file):
sudo apt-get install gsfonts-x11
Revision history for this message
|
#40 |
For me to tell you what files you need for umbrello, uml-utilities, and to install all available updates for currently installed packages, you would need to run this command and post the output:
apt-get -s upgrade; apt-get -s install umbrello uml-utilities
(That assumes that when you say you want uml, you mean uml-utilities. UML is a language, and not an application; there are many different applications available for modeling in UML, and many of those are available on Ubuntu.)
However, this would involve you downloading a large number of .deb files manually (at least 273 of them, and that's without factoring in umbrello or uml-utilities). For installing just a few packages, as you did to get Java working, the techniques we've been using so far make sense. But for the much greater task of installing all available upgrades and installing Umbrello (which will pull in numerous packages from KDE), especially if you intend to keep your system up to date or install software regularly over the course of using your Ubuntu system, it would be a good idea to start using one of the applications that is available to automate the grunt work of researching what packages are needed, downloading them off-site, and then installing them on your local machine. I recommend Keryx (http://
If you need help with either of these options, I'd be pleased to provide it. If you want to continue the manual process you've been using so far, I would be pleased to help you with that as well (though is *highly* recommend against this, since Keryx and apt-offline are both far better solutions for updating an entire system, as you want to do). If you want to continue doing this manually, then rather than providing you with links, I'll explain in detail how I find them. That way, whichever of these three alternatives you choose, you'll be able to use it self-sufficiently.
Whatever you choose, this question has gotten rather long, and your original problem appears completely solved. If it gets much longer, it will be harder for other people to use for reference. So: If you have further Java problems please continue using this question. Otherwise, please mark it as Solved, and open a new question regarding installing updates and umbrello and uml-utilities using Keryx/apt-offline (or the painstaking manual technique we've been using). After marking this question as Solved, please add a comment here with a link to the new question, to ensure that I'll see it.
Revision history for this message
|
#41 |
Thanks Eliah Kagan, that solved my question.