In order to run the full complement of Eclipse (OpenRTM Eclipse tools), the JDK from Sun is required, rather than the Ubuntu standard Open JDK.
In order to install JDK sun-java6-jdk from Sun, the apt repository must first be added and then the package list must be obtained.
% sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" % sudo apt-get update
% sudo apt-get install sun-java6-jdk Upgrades: 0; new installation: 8, deletions: 0; retentions: 0. An archive of 57.0 MB must be acquired; 168 MB of additional disk space will be used up following this operation.
Once the installation is complete, set java in the default setting to sun-java6.
% sudo update-alternatives --config java
There is only one alternative in link group java: /usr/lib/jvm/java-6-sun/jre/bin/java Nothing to configure.
There are 3 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status -------------------------------------------------------- 0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode * 1 /usr/bin/gij-4.4 1044 manual mode 2 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode 3 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode Press enter to keep the current choice[*], or type selection number:
Download Full complement package for Linux from OpenRTM Eclipse tools 1.0-RELEASE and implement it under workspace in the home directory (for example).
% cd workspace % wget http://www.openrtm.org/pub/OpenRTM-aist/tools/1.0.0/eclipse342_rtmtools100release_linux_ja.tar.gz % tar xzf eclipse342_rtmtools100release_linux_ja.tar.gz % cd eclipse
% ./eclipse -clean -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2.13/xulrunner
On RT System Editor of Eclipse, Name Server View may not become effective.
It is avoidable by commenting out the IPv6 item of /etc/hosts.
% sudo gedit /etc/hosts
Example: /etc/hosts
127.0.0.1 localhost
127.0.1.1 yourservername # (note: your host name)