geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bevon <>
Subject Re: jaxws/wsgen fails with "Missing C:\Program Files\Java\lib....."
Date Sun, 06 Dec 2009 13:45:15 GMT

Hi Kevan,
Thanks for the reply.  Yes, you're right, I only had the JRE installed. 
After installing the JDK and setting JAVA_HOME, I can run wsgen.

Unfortunately, once I run wsgen, I'm seeing a NullPointerException with no
other messages to help diagnose the problem.  Should I make a new posting to
deal with this or is it fine to continue with the current posting?

Thanks again,

kevan wrote:
> 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�
> or
> set JAVA_HOME=c:\jdk6_06�
> --kevan

View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message