XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> - Stylus Studio - Registrar en o... (1)
-> + Stylus Studio - Registrar en o... (2)
-> + Can a pipeline send a file by ... (2)
-> + After Updateing WIN10 to WIN11... (12)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Gary FisherSubject: Error when compling java code
Author: Gary Fisher
Date: 02 Dec 2005 11:36 AM
I am having problems with compling java code generated from multiplication xquery in the xquery samples. I have gone to the options and under the java virtual machine pressed the auto detect button. I also add to my classpath the following:
* This class requires the following items in the classpath.
* C:\Program Files\Stylus Studio 2006 XML Enterprise Edition\sources
* C:\Program Files\Stylus Studio 2006 XML Enterprise Edition\bin\CustomFileSystem.jar
* C:\Program Files\Stylus Studio 2006 XML Enterprise Edition\bin\saxon8sa.jar
* C:\Program Files\Stylus Studio 2006 XML Enterprise Edition\bin\xml-apis-xerces-2.7.1.jar

when I try to compling the program I get 3 error messages. I am attaching
the output from the log. Can anyone tell how to correct this problem?
Thanks

Gary Fisher


Unknownjavacompliererror.txt

Postnext
Minollo I.Subject: Error when compling java code
Author: Minollo I.
Date: 02 Dec 2005 11:58 AM
Gary,
I can see a couple of problems:

#1: you have javac.exe in your CLASSPATH, which triggers the first error "error reading C:\PROGRA~1\Java\JDK15~1.0_0\bin\javac.exe; java.util.zip.ZipException: error in opening zip file"

#2: you have some saxon.jar file in your default CLASSPATH that is probably an older version than what the generated code relies on ("C:\saxon\..."). That's probably causing the compilation errors. To fix that, I would suggest that you bring up the Java Virtual Machine Options page (Tools>Options), and change the classpath setting to ignore the default classpath; the easiest way to do that is renaming ${Classpath} into ${Classpath_}. Once you do that, Stylus Studio will rely exclusively on the project level CLASSPATH settings that the Java code generator should have set to already include the required entries, and you shouldn't get any further error.

Hope this helps,
Minollo

Posttop
Gary FisherSubject: Error when compling java code
Author: Gary Fisher
Date: 02 Dec 2005 05:04 PM
Cleaningup up my classpath worked.
Thanks
Gary Fisher

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.