Problem description:
Strange issues with WTP and myeclipse in eclipse
Write code (namely, scriptlet code) between <% and %> On the JSP page in WTP or myeclipse)
As long as you enter the. Number, the entire IDE gets stuck, for example: Out. This will be coming out later and will be stuck for a while.
The following prompt is displayed when you force close:
JVM terminated. Exit code = 1073807364
C:/Windows/system32/javaw.exe
-Xms40m
-Xmx256m
-Jar F:/Eclipse/startup. Jar
-OS Win32
-Ws Win32
-Arch x86
-Launcher F:/Eclipse/eclipse.exe
-Name eclipse
-Showsplash 600
-Exitdata f24_7c
-Vm c:/Windows/system32/javaw.exe
-Vmargs
-Xms40m
-Xmx256m
-Jar F:/Eclipse/startup. Jar
This problem has depressed me for several days. Although the scriptlet script in JSP is taboo, sometimes it will be used occasionally for convenience of testing the code effect.
After summary
Solution: (thanks to some friends of the matrix forum for their help)
1: ①:
Under eclipse -- window -- preferences -- Java -- installed jres
After adding the JDK path of 1.5 + on your machine, remove the old version so that you don't have to change it once and for all for the next new project!
Or:
②:
Remove the JRE 1.42 package of the new web project, and create a JRE package under the JDK directory of 1.5 + on your machine.
The JRE paths to be imported include:
D:/program files/Java/jdk1.5.0 _ 06/*. Jar under JRE/LIB; and
D:/program files/Java/jdk1.5.0 _ 06/JRE/lib/EXT *. jar.
(This problem can be solved only in this step. Thank you for reminding me)
2: Use editplus to edit the eclipse. ini file in the eclipse installation directory and change the parameters:
-Vm = D:/program files/Java/jdk1.5.0 _ 06/bin/javaw.exe # depending on your JDK path
-Vmargs # The following parameters determine the proper size based on the memory size.
-Xms128m
-Xmx512m
-XX: permsize = 64 m
-XX: maxpermsize = 128 m
3: it is best for people who have installed orcale to reset the environment variable: Set Path = D:/program files/Java/jdk1.5.0 _ 06/bin
Reposted from: Feiyang tribe programming warehouse
: Http://www.busfly.net/csdn/