<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Recently I am doing some experiment with the c++ interpreter. </DIV>
<DIV>I bulid hotspot on Windows 32-bit, use VS2008 as the compiler. Before 
starting to make, I add "/D CC_INTERP" to CPP_FLAGS which locates at 
hotspot\make\windows\makefiles\compile.make. After setting the environment as 
follows:</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>-----------------------------------------------------------------------------------</DIV>
<DIV>set 
PATH=C:\Progra~1\MSVC9\VC\bin;c:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem<BR>set 
ANT_Home=C:/Progra~1/apache-ant-1.7.1<BR>set 
ALT_BOOTDIR=C:/Progra~1/Java/jdk1.6.0<BR>set 
ALT_BINARY_PLUGS_PATH=C:/Progra~1/JDK7/Plug/openjdk-binary-plugs<BR>set 
ALT_DXSDK_PATH=C:/Progra~1/DXSDK</DIV>
<DIV>set VC=C:/Progra~1/MSVC9<BR>set ALT_COMPILER_PATH=%VC%/VC/bin<BR>set 
ALT_MSDEVTOOLS_PATH=C:/PROGRA~1/MI2578~1/Windows/v6.0A/bin<BR>set 
ALT_MSVCR90_DLL_PATH=%VC%/VC/redist/x86/Microsoft.VC90.CRT<BR>set 
ALT_MSVCRNN_DLL_PATH=%VC%/VC/redist/x86/Microsoft.VC90.CRT</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>set ALT_FREETYPE_LIB_PATH=C:/Progra~1/Freetype/lib<BR>set 
ALT_FREETYPE_HEADERS_PATH=C:/Progra~1/Freetype/include</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>call C:\Progra~1\MSVC9\Common7\Tools\vsvars32.bat</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>bash</DIV>
<DIV>
<DIV>-----------------------------------------------------------------------------------</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>I start the make. Nearly 40 minutes later, hotspot was successfully 
built. Then I 
copy hotspot\build\windows\export-windows-i586\jre\bin\client\jvm.dll to 
openjdk\build\windows-i586\j2sdk-image\jre\bin\client, and start the java 
-version, the following error occurs:</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>---------------------------------------------------------------------</DIV>
<DIV>E:\openjdk\build\windows-i586\j2sdk-image\jre\bin>java -version<BR>Error 
occurred during initialization of 
VM<BR>java.lang.ExceptionInInitializerError<BR>        
at java.lang.System.initializeSystemClass(System.java:1107)<BR>Caused by: 
java.lang.ArrayIndexOutOfBoundsException: 
85<BR>        at 
java.util.Properties.<clinit>(Properties.java:1109)<BR>        
at java.lang.System.initializeSystemClass(System.java:1107)</DIV>
<DIV>---------------------------------------------------------------------</DIV>
<DIV><FONT size=2></FONT> </DIV></DIV>
<DIV>So, I want to know that is it possible to use c++ interpreter on IA32? If 
so, what else to be done?</DIV>
<DIV>If not, where is the bytecode interpreted in template interpreter, I know 
in c++ interpreter, bytecode is executed in bytecodeInterpreter::run().</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks a lot.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Best regards</FONT></DIV>
<DIV><FONT size=2>Lianshun 
Liu</FONT></DIV></FONT></DIV></FONT></DIV></BODY></HTML>