You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/07/01 18:11:38 UTC

DO NOT REPLY [Bug 21236] New: - javah task doesn't work with j2sdk1.4.2

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21236>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21236

javah task doesn't work with j2sdk1.4.2

           Summary: javah task doesn't work with j2sdk1.4.2
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: miguel.mulero@telvent.abengoa.com


javah task doesn't work with j2sdk1.4.2 .Doesn't found a method:
java.lang.NoSuchMethodError: com.sun.tools.javah.Main.<init>
([Ljava/lang/String;)V
        at org.apache.tools.ant.taskdefs.optional.Javah.doClassicCompile
(Javah.java:350)
        at org.apache.tools.ant.taskdefs.optional.Javah.execute(Javah.java:320)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
com.sun.tools.javah.Main.<init>([Ljava/lang/String;)V

In the new j2sdk1.4.2 it must call a static method call main.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org