First, Eclipse 3 has the function of automatically searches the JRE (Java Run Environment), which will use this JRE as the environment of Eclipse 3 to start and run the program. Note that it is not necessarily what we want. We can modify it as follows, add a new JRE environment. {Julysea}
From the Window menu, open the Java option in the left box, select Installed Jres, you will see the JRE installed in the right box (select) installed. We can choose it for edit; or add a new JRE. We can also delete unwanted JREs; note that when there is only one JRE, it cannot be deleted. {Julysea}
com.sysdeo.eclipse.tomcat_3.0.0 is a plugin Tomcat on Eclipse, which has always used it to use it to start development platform under the EclPise. Today, when configuring the Eclipse 3 environment, there is a problem: written JSP cannot be displayed normally (JSP has no problem), the newspaper error:
UNABLE to FIND A JAVAC Compiler;
com.sun.tools.javac.main is not on the classpath.
Perhaps java_home does not point to the jdk
Moreover, the JSP example of Tomcat also has the same error. {Julysea}
After exploring the discovery problem, on the classpath when Tomcat is launched, Tools.jar is on Tomcat, but now can't find (in fact, the system variable ClassPath has indicated Tools.jar), the system is to jre LIB Lower, but this package should be under [JDK] LIB (Note: Using JDK Build 1.4.2_03-B02), the problem is simple, as long as copy [jdk] .jar to [jre] . Of course, I also want to modify the Eclipse system variable to point to JDK's lib, but it has not been successful. {Julysea}