New Installation of 10.10 has no adobe flash or java working
I have recently installed Ubuntu 10.10 when trying to go to fl-i enable sites the browser hangs.
Also when going to java sites I am told that I need to install java.
I have gone to the java site and tried to download and install java for my 64-bit system. [I have a 64-bit intel icore 3 with 4 gigs of ram and 500gb hard drive space.
Since I used wobie to install inside of windows 7 I am not clear on whether it installed a 64 bit version of ubuntu.
Anyway when I downloaded the 64-bit version of java for linux from the java.com site. [jre-6u24-
So at this time I am not sure what to do. Especially since I am trying to take an online course for Linux. [I am a newbie]
Could someone help me please?
Jim
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu firefox Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I forgot to say that a browser test was done by the people I am taking the course with and they said it showed that flash was now working but java was not installed.
Jim
Revision history for this message
|
#2 |
Please open a terminal: ctrl+alt+t
## Java
Type:
sudo apt-get install openjdk-6-jre
Revision history for this message
|
#4 |
Sam:
Thanks for the quick response. I ran the script and restarted firefox but it gave me this message.
This courseware requires Java to be installed and enabled in your browser.
Please enable it, or if you need to install it, you can install the Sun JRE by clicking here.
Sit seems that this did not install properly. It may have been fault though. I ran the script while firefox was open! Mybad.
here is a copy of the script from the terminal for you to check.
jhlap@ubuntu:
[sudo] password for jhlap:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
ca-certificat
libaccess-
ttf-dejavu-extra tzdata-java
Suggested packages:
default-jre equivs icedtea6-plugin sun-java6-fonts ttf-sazanami-gothic
ttf-kochi-gothic ttf-sazanami-mincho ttf-kochi-mincho ttf-telugu-fonts
ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
The following NEW packages will be installed:
ca-certificat
libaccess-
openjdk-6-jre-lib ttf-dejavu-extra tzdata-java
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/36.4MB of archives.
After this operation, 96.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package openjdk-6-jre-lib.
(Reading database ... 146748 files and directories currently installed.)
Unpacking openjdk-6-jre-lib (from .../openjdk-
Selecting previously deselected package tzdata-java.
Unpacking tzdata-java (from .../tzdata-
Selecting previously deselected package java-common.
Unpacking java-common (from .../java-
Selecting previously deselected package openjdk-
Unpacking openjdk-
Selecting previously deselected package ca-certificates
Unpacking ca-certificates
Selecting previously deselected package libgif4.
Unpacking libgif4 (from .../libgif4_
Selecting previously deselected package libaccess-
Unpacking libaccess-
Selecting previously deselected package openjdk-6-jre.
Unpacking openjdk-6-jre (from .../openjdk-
Selecting previously deselected package libaccess-
Unpacking libaccess-
Selecting previously deselected package ttf-dejavu-extra.
Unpacking ttf-dejavu-extra (from .../ttf-
Selecting previously deselected package icedtea-
Unpacking icedtea-6-jre-cacao (from .../icedtea-
Processing triggers for doc-base ...
Processing 2 added doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/
Processing triggers for hicolor-icon-theme ...
Processing triggers for fontconfig ...
Processing triggers for python-support ...
Setting up tzdata-java (2011d-
Setting up java-common (0.38) ...
Setting up libgif4 (4.1.6-9) ...
Setting up ttf-dejavu-extra (2.31-1) ...
Setting up openjdk-6-jre-lib (6b20-1.
Setting up openjdk-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
Setting up libaccess-
Setting up libaccess-
Setting up icedtea-6-jre-cacao (6b20-1.
Setting up ca-certificates
Setting up openjdk-6-jre (6b20-1.
update-
update-
update-
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Is there something I can do to correct this error?
Jim
Revision history for this message
|
#5 |
Verify which versions are installed, just in case there're more than one.
sudo update-
https:/
Log out-in and test again.
You should see the applet there if it's correctly installed. (javascript needs to be enabled in browser)
http://
Revision history for this message
|
#6 |
Try going to EDIT/PREFERENCE
Revision history for this message
|
#8 |
Sam and Andrew:
Thank you for your helpfulness you guys are the best!
Sam:
I ran your command and got the following:
jhlap@ubuntu:~$ sudo update-
java-6-openjdk 1061 /usr/lib/
From the reference article you sent I also ran this command which showed alot of errors.
jhlap@ubuntu:~$ sudo update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
Also Sam I logged out and back in but did not see the applet on the bar at the top of the destop or in the applications or system menu.
Andrew:
The box is checked in firefox EDIT/PREFERENCE
It seems like the system has openjdk showing installed but it is not fully installed. Is that the right interpretation of the terminal read out I just included above?
Thanks again in advance for you patience and helpfulness!!!!
Jim
Revision history for this message
|
#9 |
Sam:
I did the verify test at java.com and it confirmed that something was still wrong.
I seem to need to remove the java alternative on my system and then reinstall java.
Is there a way to confirm what version I need? I have a 64-bit system with and intel core I3 processor and 4 gigs of ram.
I think that wobie installed a 64-bit version of Ubuntu but I am not sure.
Could someone help me test what version was installed?
Then I will know which java version I need to install.
Thanks
Jim
Revision history for this message
|
#10 |
I have found out that in my previous post
java-6-openjdk is a directory.
I need to remove it but I have a problem doing that. The problem is that although I can login to Ubuntu, when I try to use the su command I get the following error:
jhlap@ubuntu:
Password:
su: Authentication failure
This may be related to a problem I have had since Ubuntu was installed.
When I try to install/uninstall software the authentication window comes up and I enter my password but it never fully verifies. The window stays open until I manually close it! As long as I have typed in the right password, when it closes the install/uninstall takes place.
In the same way, I can't use su but I have been able to use the sudu command previously posted in your responses earlier.
Is this a glich that can be fixed? I have already reinstalled using wobie twice and the problem remains.
Please help me as I am really enjoying Ubuntu except for the two problems I have.
1. Getting java to work
2. The authentication problem
This seems to be a great operating system that I would continue to use.
Thanks for you help in advance
Jim
Revision history for this message
|
#11 |
Sam:
Thank you so much for sticking with me. I really appreciate you kindness!
Here is the result of the command.
jhlap@ubuntu:
[sudo] password for jhlap:
Reading package lists... Done
Building dependency tree
Reading state information... Done
openjdk-6-jre is already the newest version.
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
That looks like it installed the linux headers. But sad to say it does not seem to have corrected the problem.
I went to java.com and did the verify test again and it still showed a problem and I still can't open my java dependent course.
Please don't give up on me
Jim
Revision history for this message
|
#12 |
> From the reference article you sent I also ran this command which showed alot of errors.
> jhlap@ubuntu:~$ sudo update-
You were trying to set (that is what -s means) an alternative java version, the errors are normal since there is no alternative installed. There is one version installed and that is the one you've installed recently.
> think that wobie installed a 64-bit version of Ubuntu but I am not sure
The version openjdk-6-jre is for and working on 64bit. I'm on 64bit with the same version and able to view applets.
> jhlap@ubuntu:~/java
Just review your posts. The whole time your procedures where made unnecessarily in 'java' directory. (Don't know from where you got the idea anyway.)
When you just simply open a terminal: ctrl+alt+t
it opens usually in the users 'home' directory, which can be viewed by cmd:
pwd
If your username is jhlap, result should be no more, no less:
/home/jhlap
From there a user which is in admin group can administrate the system with 'sudo'.
There is no need to change the directory in order to attempt an installation procedure.
> I can't use su but I have been able to use the sudo command
The 'su' cmd is unnecessary while installing or whatever. For a user which is in admin group it's sufficient to use 'sudo'.
With 'su', e.g. one may attempt to use root environment, login as another user using it's password.
However, using root environment and to forget 'exit' leaves the session open.
Playing with root environment without knowing what you're doing may leave your system unbootable.
Reference.
https:/
http://
https:/
https:/
http://
> That looks like it installed the linux headers
Again review your posts, the autoremove option was there all along.
During installation attempts in a terminal it shows the user which packages can safely be removed, just as an information reminder saying like: Hey, you have older kernel entries installed, if you'd like to remove them try autoremove.
Kernel images don't get removed automatically in case a new installed kernel isn't working one can boot with the previous version.
On the other hand, sometimes users complain about less disk space or they're not able to install anything anymore because due to huge collection of kernel images in /boot.
The version 2.6.35-22 is an older one, current is 2.6.35-28.
In between you should have 2.6.35-25 and 2.6.35-27.
To view versions via terminal e.g.:
dpkg -l linux-image* |grep ii
Autoremoving headers doesn't remove kernel images though.
One can purge older images (leaving at least two and not removing the one currently booted) via terminal e.g.:
sudo purge linux-image-
Or in Synaptic, which has a user status menu showing packages which can safely be removed and search for linux-image will list currently installed kernel images. ( I think the default color for installed apps is green).
Reference.
https:/
https:/
Close Firefox and all other GUIs (Synaptic, Update Manager, Software Center) while working in a terminal, purge openjdk-6-jre, clean package cache and reinstall.
sudo purge openjdk-6-jre
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install openjdk-6-jre
If applets still don't show up in Firefox, consider to rename mozilla directory. Firefox will then start with a standard configuration. Bookmarks and else can be successive moved back into the new one.
## Change the ending to whatever you like.
mv ~/.mozilla mozilla-backup
> have already reinstalled using wobie twice and the problem remains.
Reinstalling usually doesn't learn a user what the issue was and how to solve it.
Your online course will note somewhere that this isn't considered a 'linux method'.
btw. you've mentioned all along 'wobie', if it's supposed to mean 'Wubi'
https:/
rather consider dual-boot.
https:/
Revision history for this message
|
#13 |
Reference about removing kernel images.
Text.
http://
Images.
http://
Revision history for this message
|
#14 |
Sam:
First of all let me thank you again. You really know how to help people like me.
I will read all the article you mentioned.
In reference to this section of your reply:
Close Firefox and all other GUIs (Synaptic, Update Manager, Software Center) while working in a terminal, purge openjdk-6-jre, clean package cache and reinstall.
sudo purge openjdk-6-jre
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install openjdk-6-jre
I closed all GUIs and here were the results:
jhlap@ubuntu:~$ sudo purge openjdk-6-jre
sudo: purge: command not found
jhlap@ubuntu:~$ sudo apt-get clean
jhlap@ubuntu:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
jhlap@ubuntu:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
0 upgraded, 0 newly installed, 2 to remove and 8 not upgraded.
After this operation, 90.3MB disk space will be freed.
Do you want to continue [Y/n]? Y
Abort.
So the packages were not removed and the purge command did not work although I was in the home directory.
I did not want to reinstall until I was sure that was what I should do.
Jim
Revision history for this message
|
#15 |
Sorry my bad.
Correction:
sudo apt-get purge openjdk-6-jre
Revision history for this message
|
#16 |
Sam:
That command worked now. However, after running the other commands you sent. I noticed that the linux headers were not removed. Should I still try to reinstall?
Here is the terminal readout:
jhlap@ubuntu:~$ sudo apt-get purge openjdk-6-jre
[sudo] password for jhlap:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
default-jre default-
The following NEW packages will be installed:
default-jre default-
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,310B of archives.
After this operation, 77.8kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://
Get:2 http://
Fetched 8,310B in 0s (16.0kB/s)
Selecting previously deselected package default-
(Reading database ... 147571 files and directories currently installed.)
Unpacking default-
Selecting previously deselected package default-jre.
Unpacking default-jre (from .../default-
Setting up default-
Setting up default-jre (1.6-38) ...
jhlap@ubuntu:~$ sudo apt-get clean
jhlap@ubuntu:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
jhlap@ubuntu:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 90.3MB disk space will be freed.
Do you want to continue [Y/n]? Y
Abort.
Jim
Revision history for this message
|
#17 |
> Should I still try to reinstall
Yep.
sudo apt-get install openjdk-6-jre
When it purged openjdk-6-jre, it installed standard java 'default-jre' which points to dependency openjdk-6-jre.
http://
Revision history for this message
|
#18 |
Sam:
Dude, your patience is remarkable!!! I really appreciate you trying to stay with me and help.
I ran the install command and got this output:
jhlap@ubuntu:~$ sudo apt-get install openjdk-6-jre
[sudo] password for jhlap:
Reading package lists... Done
Building dependency tree
Reading state information... Done
openjdk-6-jre is already the newest version.
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
It seems that according to the last line it did not install because I have the "newest version".
I ran this while no GUIs were open! Only the terminal was open.
I opened firefox and looked for the add-in and nothing!
Still can't get to my course either.
Sorry for the bad news! I know this is frustrating.
Jim
Revision history for this message
|
#19 |
Try this.
Reminder, close Firefox.
CLI:
sudo apt-get install icedtea6-plugin
Which is the browser plugin. After installation you'd find it in tools -> addons -> plugins
In case you didn't bookmark the testpage I post the link again.
http://
Revision history for this message
|
#20 |
The plugin was mentioned in the output of your post from 2011-03-31 among suggested packages.
>> Suggested packages:
>> default-jre equivs icedtea6-plugin
View the blue icon there.
http://
Revision history for this message
|
#21 |
> appreciate you trying to stay
Thank you. May I give it back since your cooperation is motivating, such as giving terminal outputs, providing the steps and interest of learning *nix environment.
btw. in the early days of Ubuntu there was an interesting thread about 'sudo vs. su'.
https:/
Can you help with this problem?
Provide an answer of your own, or ask Jim Huse for more information if necessary.