Migration issue from JDK 1.4.2 to JDK1.5

Hi ,

While compling my source code in jdk1.5.0_11, i am getting the following error.

No suchmethod "main" found error.

The class name i used is :

classname="com.sun.org.apache.xalan.internal.xsltc.cmdline.Compile

But the above class is available on jdk1.5 rt. jar

Can anyone tell me about how to resolve this JDK compatibility issue..

Thanks

[391 byte] By [Muthu.KVa] at [2007-11-26 18:24:29]
# 1

You are relying on implementation details of the JDK. The class you are referring to has "internal" in its name and thus you should not use it.

This really has nothing to do with generic types which is the topic of this forum (sigh). It would probably be better to go to http://forum.java.sun.com/forum.jspa?forumID=34

PeterAhea at 2007-7-9 5:58:33 > top of Java-index,Core,Core APIs...
# 2
Maybe you should change the announcement to:"READ THIS BEFORE POSTING! THIS FORUM NOT ABOUT GENERAL JAVA QUESTIONS!"Although, ...
stefan.schulza at 2007-7-9 5:58:33 > top of Java-index,Core,Core APIs...