Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-10-2008, 12:04 PM
Member
 
Join Date: May 2008
Posts: 2
tobalajia is on a distinguished road
Getting error using XMLBeans to create jar file
When using xmlbeans to create the jar file from xsd file i am getting error like this

C:\PIE\Documents\Granite>scomp -out asf.jar msg.xsd
Time to build schema type system: 0.579 seconds
Time to generate code: 0.11 seconds
java.io.IOException: Cannot run program "C:\PIE\Documents\Granite\javac": Create
Process error=2, The system cannot find the file specified
java.io.IOException: CreateProcess error=2, The system cannot find the file spec
ified
java.io.IOException: Cannot run program "C:\PIE\Documents\Granite\javac": Create
Process error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at org.apache.xmlbeans.impl.tool.CodeGenUtil.external Compile(CodeGenUtil
.java:231)
at org.apache.xmlbeans.impl.tool.SchemaCompiler.compi le(SchemaCompiler.j
ava:1154)
at org.apache.xmlbeans.impl.tool.SchemaCompiler.main( SchemaCompiler.java
:373)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 6 more
BUILD FAILED

Can you help how to resolve this error to create jar
How to use Ant here?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
reading from a zip file, error Mr tuition AWT / Swing 1 01-16-2008 01:39 AM
File Write Error vikain Advanced Java 5 01-02-2008 05:38 AM
can java.io.File create a list of all files and folders. MattStone New To Java 20 12-17-2007 04:20 PM
How to create a xml file from oracle sql query boy22 XML 1 07-24-2007 01:15 AM
How to create a file Alpha New To Java 2 05-25-2007 09:44 PM


All times are GMT +3. The time now is 11:24 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org