users@jax-rpc.java.net

RE: wscompile error

From: Kevin Jones <kevinj_at_develop.com>
Date: Thu, 19 Aug 2004 19:28:22 +0100

I now get a ClassFormatError com.sun.tools.javac.main.Main

(BTW I assume you meant the wscompile task, although setting fork="true" on
the javac task did fix another problem),

Kevin Jones
http://kevinj.develop.com

> -----Original Message-----
> From: Marc Hadley [mailto:Marc.Hadley_at_Sun.COM]
> Sent: 19 August 2004 17:36
> To: users_at_jax-rpc.dev.java.net
> Subject: Re: wscompile error
>
> Try setting fork="true" on the javac task.
>
> Marc.
>
> On Aug 19, 2004, at 12:11 PM, Kevin Jones wrote:
>
> > As an addition, if I take the command line that Ant spits
> out and run
> > it everything works fine. Is this an Ant classloader problem?
> >
> > Kevin Jones
> > http://kevinj.develop.com
> >
> >> -----Original Message-----
> >> From: Kevin Jones [mailto:kevinj_at_develop.com]
> >> Sent: 19 August 2004 17:01
> >> To: users_at_jax-rpc.dev.java.net
> >> Subject: wscompile error
> >>
> >> I have a weird error. I'm trying to run wscompile from
> within Ant on
> >> Linux with JDK 1.5 and I'm seeing a
> >>
> >> com.sun.tools.javac.Main is not available in the classpath.
> >>
> >> error.
> >>
> >> I've added ${env.JAVA_HOME}/lib to the classpath (using an Ant
> >> fileset so it picks up all the jar files in there), and if
> I look at
> >> the command line that wscompile is using then
> >> /usr/java/jdk1.5.0/lib/tools.jar is there, amongst many others!
> >>
> >> I've used wscompile with JDK 1.5 before, and this same buildfile
> >> works fine on Windows. Oh and the same ant build file
> works fine with
> >> Eclipse (Eclipse has a global entry for
> >> /usr/java/jdk1.5.0/lib/tools.jar
> >>
> >> Am I doing something stupid?
> >>
> >> Kevin Jones
> >> http://kevinj.develop.com
> >>
> >>
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> >> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
> >>
> >>
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> > For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
> >
> >
> ---
> Marc Hadley <marc.hadley at sun.com>
> Web Products, Technologies and Standards, Sun Microsystems.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net