查看方法:
ipkg list |grep jamvm
安裝
ipkg install jikes classpath jamvm
然後bin下面會有 jamvm
ln -s /opt/bin/jamvm /opt/bin/java
java -> /opt/bin/jamvm
===================
/opt/bin # java -version
java version "1.5.0"
JamVM version 1.5.4
Copyright (C) 2003-2010 Robert Lougher <rob@jamvm.org.uk>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2,
or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Build information:
Execution Engine: inline-threaded interpreter with stack-caching
Compiled with: gcc 4.2.3
Boot Library Path: /opt/lib/classpath
Boot Class Path: /opt/share/jamvm/classes.zip:/opt/share/classpath/glibj.zip
===================
java命令可用,同樣在找 tomcat的方法,看過壹個帖子寫的
tomcat需要修改conf文件,使用jikes解析class文件
實在看不下去到處貼 win環境的玩意的,先分享壹部分經驗吧~