Sunday, July 20, 2014

"RPM should not be used directly install rpm packages" Solution

Scenario:
In Ubuntu Linux, I tried to install rpm packages with command:
$ sudo rpm -ivh *.rpm

However, the installation is not successful and there is warning message:
RPM should not be used directly install rpm packages.

Friday, July 18, 2014

“Unable to locate package” errors for all software

Scenario:
In Ubuntu Linux, I am not able to install any program. When I install programs with apt-get,  it always shows the same error: "unable to locate package". For example when I try to install rpm, here is what it shows:
$ sudo apt-get install rpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rpm

Thursday, July 17, 2014

Solution to Access Restriction error on class Due to Restriction on Required Library

"Access restriction: The method encode(byte[]) from the type CharacterEncoder is not accessible due to restriction on required library /home/MyEclipse Professional 2014/binary/com.sun.java.jdk7.linux.x86_64_1.7.0.u45/jre/lib/rt.jar"

After search, here is a solution works good for me:

How to uninstall a plugin in MyEclipse 2014

To uninstall a plugin in MyEclipse 2014, follow the steps below:

1. Go to Help
2. Open About MyEclipse Enterprise Workbench
3. Click on Installation Details.
4. In the opened window, you can see all softwares installed.
5. Select and Uninstall the plugin

How to install Subclipse in MyEclipse 2014

Subclipse is a plugin to be used in Eclipse/MyEclipse for SVN access. MyEclipse 2014 is different from previous versions. However, to install Subclipse in MyEclipse 2014, it is still very easy.

Simply follow the following steps: