getting started

Rolf Schumacher <[email protected]>
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <[email protected]>
tried to use scomp.

xmlbeans-4.0.0\bin is on the path as well as jdk-11.0.8\bin.

when starting scomp from the commandline it cannot find javac:


C:\Users\rschumacher\eclipse-jee-workspace\manager>scomp -out 
target\ManagerConfiguration.jar src\main\xsd\ManagerConfiguration.xsd
Time to build schema type system: 0.412 seconds
Time to generate code: 0.351 seconds
java.io.IOException: Cannot run program 
"C:\Users\rschumacher\eclipse-jee-workspace\manager\javac": 
CreateProcess error=2, The system cannot find the file specified
java.io.IOException: CreateProcess error=2, The system cannot find the 
file specified
java.io.IOException: Cannot run program 
"C:\Users\rschumacher\eclipse-jee-workspace\manager\javac": 
CreateProcess 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.externalCompile(CodeGenUtil.java:195)
         at 
org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(CodeGenUtil.java:93)
         at 
org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:1000)
         at 
org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:333)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot 
find the file specified
         at java.lang.ProcessImpl.create(Native Method)
         at java.lang.ProcessImpl.<init>(Unknown Source)
         at java.lang.ProcessImpl.start(Unknown Source)
         ... 7 more
BUILD FAILED


What may have cause this?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.