预备
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 --disable-plugin --disable-tools --disable-Werror --prefix=/home/xiao/classpath-0.98/install

make -i
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 --with-classpath-install-dir=/home/xiao/classpath-0.98/install --disable-int-inlining --disable-tls

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

posted on 2011-06-09 18:39  杂草丛  阅读(871)  评论(0编辑  收藏  举报