jamvm 1.5.4在ubuntu 10.10编译通过。

预备
sudo apt-get install libgtk2.0-dev
sudo apt-get install gconf2
sudo apt-get install libgconf2-dev
sudo apt-get install gcj-4.3

classpath-98安装
./configure --with-classpath-install-dir=/home/xiao/classpath-0.98/install --disable-int-inlining --disable-tls
make
make install

环境设置
export CLASSPATH=.:/home/xiao/classpath-0.98/install/share/classpath/glibj.zip:$CLASSPATH
export LD_LIBRARY_PATH=.:/home/xiao/classpath-0.98/install/lib/classpath

jamvm安装
./configure --disable-plugin --disable-tools  --disable-Werror --prefix=/home/xiao/classpath-0.98/install

测试
jamvm -verbose -cp /home/xiao/classpath-0.98/install/share/classpath/examples/examples.zip gnu.classpath.examples.swing.Demo

作者: 杂草丛   发布时间: 2011-06-09