After getting my new used Toshiba Satellite A100, I downloaded Ubuntu 8.10.
Something I liked when installing the new ubuntu is its ability to be installed within Windows. So, u don't have to bother about restarting, disk formats..bla..bla..bla.
I checked the new OS installation on my laptop. Well, I am impressed, everything seemed to be working smoothly.
My next step was to run the JikesRVM on eclipse to start some development.
in order to achieve this:
if you run
$ dpkg --get-selections | egrep '32|gcc'
u will get a list of the libraries you have on your system.
While for the jikes compilation u will need gcc multilib and g++ multilib
so, you should get the g++-multilib by running
$ sudo apt-get install g++-multilibYou will also need Bison
$ sudo apt-get install bisonget ant
$ sudo apt-get install antget your Java packages by running..
$ sudo apt-get update
$ sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin
In case you have other java installations ..Run this command to fix configurations.
$ sudo update-java-alternatives -s java-6-sunSet your $JAVA_HOME variable
$ sudo gedit /etc/environmentand add JAVA_HOME = "/usr/lib/jvm/java-sun-6"
Re-login
Download eclipse from its official site.
$ sudo apt-get install subversionImport the project into workspace.
$ svn co https://jikesrvm.svn.sf.net/svnroot/jikesrvm/rvmroot/trunk jikesrvm
$ cd jikesrvm
jikesrvm$ bin/buildit --eclipse localhost -j $JAVA_HOME
I found some errors in the source code after getting the project into eclipse.
My friend Morshedy advised that it may be a common problem with the eclipse, so I run the
jikesrvm$ find -wholename *.java -exec touch {} \;but didn't solve it.
So, I guess I will wait for an update on the SVN.
Update: it was not my lucky day when I was building jikes..I tried to build it many times on that day. but I got errors when openening in eclipse...
So, I retired again a day later by :
jikesrvm$ rm rf componentsand then rebuild..it worked fine this time
jikesrvm$ ant very-clean
1 comment:
7amdella 3ala el salama to the FOSS world :)
Post a Comment