geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: jaxws/wsgen fails with "Missing C:\Program Files\Java\lib....."
Date Sun, 06 Dec 2009 04:26:52 GMT

On Dec 4, 2009, at 11:38 PM, Bevon wrote:

> 
> Greetings,
> I am trying to generate a WSDL for a simple POJO, but I cannot seem to get
> wsgen working.  All attempts to use jaxws/wsgen fail with "[JAXWSTools]
> Missing C:\Program Files\Java\lib. This may be r
> equired for wsgen to run."

Do you have a JDK installed on your system? wsgen utilities require a JDK, not a JRE. Specifically,
jaxws tools require $JAVA_HOME/lib/tools.jar. Or (I think) $JRE_HOME/../lib/tools.jar

The commands work fine for me with either of the following settings:

set JRE_HOME=c:\jdk6_06\jre
Mime
View raw message