ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Generating an XML Document with JAXB
Subject:   Java classes are not getting created
Date:   2008-03-04 12:14:48
From:   Niveditha Chandrashekar
setenv in C:\Sun\jwsdp-1.6\jwsdp-shared\bin looks like this
REM Copyright 2004 Sun Microsystems, Inc. All rights reserved.
REM SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.

rem ---------------------------------------------------------------------------
rem User configurable settings
rem Set configurable environment variables. By default, they are just unset.
rem These values must be set in this file as they are not inherited from the
rem shell.
rem Note for Win98 and WinME users:
rem All paths must be use the short path name only i.e. the "8.3" format of
rem for the path. The long path name may cause unexpected results.
rem $Id: setenv.bat,v 1.14 2004/03/30 23:27:52 ofung Exp $
rem ---------------------------------------------------------------------------

rem Warning: Donot change value of JWSDP_HOME property. Specially donot update that
rem to have value with quotes (")

set JAVA_HOME=C:\j2sdk1.4.2_12
set ANT_HOME=C:\Sun\jwsdp-1.6\apache-ant
set ANT_OPTS=-Djava.endorsed.dirs=C:\Sun\jwsdp-1.6\jaxp\lib\endorsed;C:\Sun\jwsdp-1.6\jaxp\lib
set JWSDP_HOME=C:\Sun\jwsdp-1.6

i am setting the PATH and the JAVA_HOME variable
set JAVA_HOME=C:\j2sdk1.4.2_12

set path=%JAXB_HOME%\bin; %JWSDP_HOME%\jwsdp-shared\bin;

I have placed myxsd.xsd in C:\Sun\jwsdp-1.6\jaxb\bin.
On the commandline from the above diretory when i give xjc myxsd.xsd command
Nothing is displayed on the command prompt.
And no java files are generated.
Please help.

1 to 1 of 1
  1. Java classes are not getting created
    2008-03-06 10:45:54  Niveditha Chandrashekar [View]

    • Java classes are not getting created
      2009-09-17 22:21:10  sumapuji [View]

1 to 1 of 1