wget -O jre-6u13.rpm.bin http://javadl.sun.com/webapps/download/AutoDL?BundleId=29209
sudo bash jre-6u13.rpm.binIt is now installed, but the system is not aware of it yet. The following commands take care of that, just paste them into the terminal with Ctrl+Shift+V. You will have to paste a whole block at once, because the \ at the end of a line means it is continued at the next line.
sudo update-alternatives --install \
/usr/bin/java java /usr/java/latest/bin/java 20000
sudo update-alternatives --install \
/usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so \
/usr/java/latest/plugin/i386/ns7/libjavaplugin_oji.so 20000
sudo update-alternatives --auto java
sudo update-alternatives --auto libjavaplugin.soSun Java is now the default Java. You can also switch between all installed Java versions at any time using the commands below.
sudo update-alternatives --config java
sudo update-alternatives --config libjavaplugin.soOr remove IcedTea completely.
sudo yum remove java-1.7.0-icedtea\*To see if it actually worked visit this site, it should report Java 6 Update 13 as the installed version. You will have to restart Firefox first.


rpm -qa | grep java
rpm -qa | grep jre
sudo update-alternatives --display java
sudo update-alternatives --display libjavaplugin.so
java-1.5.0-gcj-1.5.0.0-17.fc8
java-1.7.0-icedtea-1.7.0.0-0.19.b21.snapshot.fc8
tzdata-java-2007h-1.fc8
java-1.7.0-icedtea-plugin-1.7.0.0-0.19.b21.snapshot.fc8
java_cup-0.10-0.k.6jpp.1
Second:
jre-1.6.0_07-fcs (is the last isn't it?)
I checked /usr/java BEFORE installing anything and found the following:
ls /usr/java
default jre1.6.0_07 latest
So on my machine sun java (at least the JRE) is already installed.
Could you please introduce a good and light remote desktop server that can be installed on AAO so I can control AAO via another machine and using remote desktop.
Thanks so much.
Strange. Sun's applet test page works but reports that I am using a version of the JRE not yet released for general consumer use.Sun Java 1.7.0 on Linux.
My previous experience with iced tea was very bad. I doubt that it could run open office so I was not surprised to see Sun Java installed on the AA1. It seems to be some sort of custom installation since the applet test page cannot recognize it.
Jon
Could it be that both Sun Java and IcedTea are available. but that libjavaplugin.so is setup to be provided by IcedTea. I tried installing the Sun RPM, but it said it was already installed. Then I did your sudo update-alternatives commands and this got the Sun version of libjavaplugin.so working.
By the way the Sun dancing Duke looks much better with the IcedTea version, but IcedTea won't run some other applets I tried.
Jon
ie javac
However, I understand that some pieces of software, once upgraded or replaced, cannot be removed, due to dependencies- libraries, etc.
Would you perhaps be inclined to create and host or seed an .iso (er... or however it'll have to work via flash media) with these things slipstreamed, and with the dependencies fixed/redirected?
I'm sure it'd be a lot of work, but by the look of the site, that doesnt' seem to be much of an obstacle to you.
This has been my first experience with Linux and I was sooo close to taking my A110 back to the shop because Linux has been difficult for me - but now that I have managed to get this working now I will be persevering with my machine.
Many many many thanks. :-)
Keep up the good work..I for one have got you bookmarked !
sudo update-alternatives --config libjavaplugin.so
and made sure that it is not icedtea that is selected
I am also trying to upload photos to facebook, and it said Loading Applet, then Done, but still a grey box...
Do I need to uninstall IcedTea?
There are 3 programs which provide 'java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java
2 /usr/lib/jvm/jre-1.7.0-icedtea/bin/java
*+ 3 /usr/java/latest/bin/java
i have installed also the adobe flash player...
anyways youtube site says me that probably i have the java script disable!!
HELP
fabius
if you have an sd card pluged in then it wont work because the file paths are different. all you have to do
is remove the card and plug the sd into your other card reader and copy the rpm from the download folder on the sd to the download folder on the acers drive if it works when you copy the commands again you should see the sun micro systems terms and conditions hit enter till you get to the end and it will ask you if you agree to the terms type yes and you can the past the rest of the commands.
update-alternatives: command not found
thanks anyways
I hope you can help. I have and Acer Aspire One and I am brand new to Linux. I love the aspire but I am having trouble with playing runescape. I would like to sort it and I understand that I have to do some Java stuff. I have read the above stuff but I am afraid that I don't really follow. I am really sorry to ask but could someone post me with a blow by blow of what I need to do? I noticed a lot of people talking about going into the "terminal" but I am not sure how to do this. Sorry that I am so new at this, just write as if you are explaining it to a 10 year old! Any advice would be great.
Thanks very much.
Can you also post an step by step procedure on how to install JAVA JDK, i want to use aspire one for java programming.
Thank you!
Sorry to bother you, but I seem to have a small problem, I have done everything that you have written in the start of this message, and end up with removing IcedTea completely.
When I test it at java.com it saids that i'm using ver. 6.10, and thats ok.. I guess.
Now when I log on to my bank, firefox stall totally, I need to reboot My machine to get firefox working again.
Do you have any ideas what can cause the problem, if you do i will more than happy.
You can test it on www.danskebank.dk and then click log on (upper right corner) and use Netbank (ActivCard)
Thanks, best regards
Søren - Dk
I updated firefox to a ver 3. and now it is working
Best regards
Søren Panduro
If you need to see what I've downloaded you'll need to give me direction as I'm very new to Linux.
I managed to download firefox 3 using this method but no idea what I've done wrong.
great work you have done there for newbies like me, a 1st time linux user. Initially i installed java updated it to the latest version and everything etc but the java applet in my internet banking page displayed it as "applet started" but i couldn't get it to work (it keep displaying "wait for java applet to load"). Nearly gave up after trying for 2-3 weeks. i even installed firefox 3.0.5 hoping it will work. Till i saw this post and i believe the last few command lines works wonders for me.
sudo update-alternatives --config java
sudo update-alternatives --config libjavaplugin.so
Thanks and keep and the good work. Hope to see more post from you!
sudo update-alternatives --config java
sudo update-alternatives --config libjavaplugin.so
nd i have also uninstalled ice java thing??
plz can u help my firefox 2 recognize the java??
This may be freely redistributed under the terms of the GNU Public License.
usage: alternatives --install link name path priority
[--initscript service]
[--slave link name path]*
alternatives --remove name path
alternatives --auto name
alternatives --config name
alternatives --display name
alternatives --set name path
common options: --verbose --test --help --usage --version
--altdir directory --admindir directory
wat shud i do now
Happy new year!
May I point out that I think this is a great blog and really useful. I have followed everything that has been said but I'm still having problems with installing JRE on my acer aspire one. I installed the lateste Java and teh version you specified but my broweser is still telling me that I'm missing JRE. Please please can you help.
Thanks,
Yoni
Just installed firefox 3 and java following your blog. 10/10 - no hitches - just follow your instructions. Thanks
Thank you the guide worked very well and I have now installed Java but it says it isn't the latest version of Java, please could you let me know how to update to the latest version?
Also do you know any good sites where I could learn more about Linux, in particular Linpus as I am pretty new to this?
Many thanks for your time.
I used this post to get my facebook photo app working (like some earlier posters)
and it worked like a charm!
My problem now is that sidebar which shows the systems files (where you would browse for your photo files) isn't showing any photo folders nor are there any photo files coming up on the main viewing screen.
Any ideas on this little snag?
NeeNee
I too had a problem trying to install the JDK or even finding someone to help out so I managed to install it myself after some effort and mostly bordom sat in my Java Programming lecture at University.
In the terminal:
Copy all of the following 5 lines (as I don't know how do overflow in the command line)
wget -O jdk-6u7-linux-i586-rpm.bin http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u7-linux-i586-rpm.bin?BundledLineItemUUID=tHpIBe.mLDAAAAEfLfVX2APt&OrderID=n.VIBe.mk5sAAAEfEPVX2APt&ProductID=XzBIBe.oxM4AAAEaVJcGcbZW&FileName=/jdk-6u7-linux-i586-rpm.bin
Then after the rpm.bin has downloaded install using the following:
sudo bash jdk-6u7-linux-i586-rpm.bin
Press enter to scroll through all of the agreement and then at the end type "yes" to confirm. This will then install the JDK and when unpacked everything will work find (or so I've found so far)
Enjoy!
default jre1.6.0_07 jre1.6.0_10 latest
Thanks so much
e.g. the following command uninstalls Java 6 Update 10,
sudo rpm -e jre-1.6.0_10-fcs
Thank you, macles* for sharing your valuable expertise.
i would like some assistance please because when i try running runescape it is saying it is done although it comes up with a black screen (on preferences and content i have enabled java and javascript) could someone please help me thanks a lot ill be back in touch =]
jre-6u12-linux-i586-rpm.bin?e=1234923184856&h=ee9bc596d03e53623dc34309185fa644%2F&filename=jre-6u12-linux-i586-rpm
it's easyer just to delet all the other crap and just have jre.6u12-linux-i586-rpm.bin
im new to linux to, but this is simply logic. try to understand...
hey people please could somebody give me all the exact instructions from scratch to download and install java onto my Linpus Linux Lite v1.0.9.E so i can play runescape!!!
thanks if anybody does so ill be back in touch and plzzz give me all the exact directions to put into terminal and how to open terminal!
thing is i whent to the java page to test if it works and it says java is not working/installed on your computerand when i go to play runescape it says that i dont have java or that its disabled but ive checked and it is all enabled ive even got the java icon on xfce menu
I have installed vlc using all of these instructions, but I've made a mistake somewhere down the line and have no idea how to detect it. Like many others I have sound but no video and I have followed all the instructions to fill in missing dependencies. I would like to remove VLC and start again. Could you tell me how to completely uninstall the programme?
Thanks very much.
Alex.
[root@localhost user]# sudo update-alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
+ 1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java
* 2 /usr/lib/jvm/jre-1.7.0-icedtea/bin/java
Enter to keep the current selection[+], or type selection number:
[root@localhost user]# sudo update-alternatives --config libjavaplugin.so
There is 1 program that provides 'libjavaplugin.so'.
Selection Command
-----------------------------------------------
*+ 1 /usr/lib/jvm/jre-1.7.0-icedtea/lib/i386/gcjwebplugin.so
Enter to keep the current selection[+], or type selection number:
I do not dare to remove Iced Tea before I know for certain that Sun Java works!
thanks for the instructions above, when checking on java using the above isn't the most up to date version so java.com tells me
is there any chance you can tell me how to update java when it has been installed
thanks as usual for ur help