|
|
Re: eclipse reinstallation error [message #871329 is a reply to message #870999] |
Sat, 12 May 2012 03:28 |
Sachin Gole Messages: 2 Registered: May 2012 |
Junior Member |
|
|
This problem resolved. following is process.
1. First verify JDE, if not install it, process is given below.
2. Go to help
Install New Software: Add Name: Indigo Location: "download.eclipse.org/releases/indigo"
Select 'WST Server Adapters' under 'Web, XML, Java,..." (last name in list)
Accept licensing agreement
Restart Eclipse
Resume procedure to install ADT
It worked for me, hope it does for you too.
JDE installation process :-
Download Latest JRE
Get the right file from the Java website: www.java.com
Download Latest Self Extracting file which ends with .bin.
Install JRE (32-bit)
1. Go to the folder opt, with the following command:
Applications - Accessories - Terminal
cd /opt
Press Enter.
2. Create a new subfolder, with the following command line.
sudo mkdir java
Press Enter.
Type your password. You won't see anything, not even dots, this is normal.
Press Enter.
3. Go to the new folder, with the following command.
cd java
Press Enter.
4. Create a new subfolder, with the following command.
sudo mkdir 32
Press Enter.
5. Move the JRE file that you just downloaded, into this newest folder, with the following command.
sudo mv ~/jre-6u21-linux-i586.bin /opt/java/32
Press Enter.
6. Make the file executable, with the following command.
sudo chmod 755 /opt/java/32/jre-6u21-linux-i586.bin
Press Enter.
Now you're going to install JRE, by executing this file.
7. First, go to the new folder, with the following command.
cd /opt/java/32
Press Enter.
8. Execute the file, with the following command.
sudo ./jre-6u21-linux-i586.bin
Press Enter.
Now the license agreement appears.
Press as many times on the space bar, until you see the following text:
Do you agree to the above license terms? [yes or no]
Type:
yes
Press Enter.
Note: it's possible that you won't see a license agreement. For example because you've already accepted it previously, during the installation of an older version of JRE from the repositories.
Inform the system and make the new JRE the default
9. Now you'll want to tell the system, that there's a new Java version available.
sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/32/jre1.6.0_21/bin/java" 1
Press Enter.
Note: are you updating from a previous Java version, which you have removed manually? Then you'll need to execute the above command twice, because you'll get an error message the first time.
10. Tell the system, that the new Java must be the default:
sudo update-alternatives --set java /opt/java/32/jre1.6.0_21/bin/java
Press Enter.
Install the Firefox plugin
11. Installing the Firefox plugin is simple. First execute the following command, in order to create a certain folder (if it doesn't exist already).
mkdir ~/.mozilla/plugins
Press Enter.
If it exists already, you'll see a notification of that.
12. Now remove the IcedTea plugin, if it has been installed.
sudo apt-get remove icedtea6-plugin
Press Enter.
13. Remove a former version of the Java plugin.
rm ~/.mozilla/plugins/libjavaplugin_oji.so
Press Enter.
And then type
rm ~/.mozilla/plugins/libnpjp2.so
Press Enter.
14. Now you can install the plugin, by creating a symbolic link (you tell Firefox, where the plugin is located).
ln -s /opt/java/32/jre1.6.0_21/lib/i386/libnpjp2.so ~/.mozilla/plugins/
Press Enter.
Final check
Now close and restart Firefox. Check if everything has succeeded. Type in the url bar of Firefox (not in the terminal!):
about:plugins
Press Enter.
And scroll down, until you see something approximately similar to this:
Java(TM) Plug-in 1.6.0_21
Other user accounts: repeat two commands
Are there any other user accounts on the computer? Then repeat the following three commands in each user account:
rm ~/.mozilla/plugins/libjavaplugin_oji.so
and then:
rm ~/.mozilla/plugins/libnpjp2.so
and then:
ln -s /opt/java/32/jre1.6.0_21/lib/i386/libnpjp2.so ~/.mozilla/plugins/
Thanks,
Sachin
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08155 seconds