While you are creating jikes, you can either build it with ant, or using the command you use. If the JAVA_HOME problem causes problems using
bin/buildit localhost production -j"path to your jvm directory"
-This is present in " /usr/bin/jvm
".
Another method: there is bin / buildit.base_config, which specifically specifies the path for JAVA_HOME. Therefore, in the " # Default JAVA_HOME values
" section, you can change the corresponding location, for example,
global.javahome.ppc32-linux=/usr/lib/jvm/java-6-sun-1.6.0.26 global.javahome.ppc64-linux=/usr/lib/jvm/java-6-sun-1.6.0.26 global.javahome.ia32-linux=/usr/lib/jvm/java-6-sun-1.6.0.26 global.javahome.x86_64-linux=/usr/lib/jvm/java-6-sun-1.6.0.26
You can choose which one you want to use. If you are not familiar with your architecture, change everything and now you can build without worrying about your java path being explicitly specified. Check out this blog for more details.
I also wrote a short article on how to start playing with Jikes
source share