Hi,
i recently installed jdk1.5 on my machine and configured myeclipse according to that, i modify changes in
windows>preferences>java>compiler
also
updated tomcat’s jre to 5.0
problem is this when i create webproject and try to run it it creates an folowing error, so far i know error is that default added .jar files are of jdk1.4.2 cuz unable to update
preferences>Myeclipse>J2EE Project>LibrarySet
thats why while create new project it set default jre to 1.4.2 and could not have option for jdk1.5
help me out plz
—————————————————————————————————-
E:\Tomcat5.0\work\Catalina\localhost\Test\org\apache\jsp\MyJsp_jsp.java:8: cannot access java.lang.Object
bad class file: E:\Program Files\Java\jdk1.5.0_09\jre\lib\rt.jar(java/lang/Object.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
public final class MyJsp_jsp extends org.apache.jasper.runtime.HttpJspBase
—————————————————————————————————-