Jikes is a faster-than-javac Java compiler, an open source project for IBM
in some application server run, we will choose to precompile the JSP file to improve the speed of the operation, but if the project is larger, for all JSP compilation will take a long time, so this time need to select a fast Java compiler, It is said that Symantec's SJ is the fastest, but at present it seems not to continue to develop, jdk1.4 is not supported, so we chose a slightly second jides compiler, but Jikes did not provide support for the encoding properties of the Win32 platform, which was plagued by the problem when we used it, which can be viewed by running jikes help. Later through the reference sourceforge in the relevant articles, only to be completed, the original address http://jikes.sourceforge.net/faq/dev-win32.shtml.
here to talk about some of the problems encountered in the process
Operation Steps
1. First download Jikes's original code file, the latest seems to be 1. 22, but using the latest compiled results still can not use, has not found the problem, and later use the 1.18 version of the results of the compiler OK, download the address http://sourceforge.net/project/showfiles.php?group_id= 128803, download the source name extension tar.bz2 file, save the path C:\temp
2. Download the compilation environment, use Mingw+msys to simulate the compilation environment, download the latest MinGW and Msys packages, download the address http://sourceforge.net/project/showfiles.php?group_id= 2435, the download completes first installs MinGW, then installs Msys, in installs the process will eject the Terminal window request to specify Gcc.exe (in MINGGW's Bin directory) the path, if your installation path is C:\MinGWStudio\MinGW\bin, Follow the on-screen input for UNIX format C:/mingwstudio/mingw to complete the binding of Msys environment and compilation tool GCC. When you are done, you can run the Msys shortcut on the desktop directly into the simulation platform.
3. To compile Jides first to compile libiconv, download source libiconv-1.8.tar.gz, if the save path is C:\Temp,
compiles the Libiconv in the Msys environment according to the following procedure
$ tar xvzf/c/temp/libiconv-1.8.tar.gz$ mkdir libiconv-build$ cd libiconv-build$. /libiconv-1.8/configure--enable-extra-encodings \--enable-static--disable-shared$ make$ CD.
4. Compile Jikes source code, assume just under the source code under C:\Temp, use the following command to compile
$ tar xvjf/c/temp/jikes-1.18.tar.bz2$ mkdir jikes-build$ cd jikes-build$. /jikes-1.18/configure \cppflags=-i/c/temp/libiconv-build/include \ldflags=-l/c/temp/libiconv-build/lib/.libs$ Make
The Cppflags,ldflags property in the source text is modified to ensure the correct compilation path. After performing the play make, you have a jikes.exe of your own, including the encoding attribute, which can be obtained from the JIKES-BUILD/SRC and wish you good luck.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.