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)
-> + SS crashes on load (2)
-> + Can't find file ... then does,... (2)
-> + Diff folders not working (4)
-> + last node in preceding-sibling (3)
-> + SQLXML and Subquery (2)
-> + Xquery - No ReleationalDB opti... (3)
-> + Is a default adapter - not Tid... (8)
-> + Need actual (18)
-> + include path for external enti... (2)
-> + xpath query in SQL server (4)
-> + XPATH Query that works in 2006... (4)
-> + Need help with XML Assignment (3)
-> - Java Compiler in Windows Vista... (6)
-> ->Java Compiler in Windows ...
-> ->Java Compiler in Windows ...
-> ->Java Compiler in Windows ...
-> ->Java Compiler in Windows ...
-> ->Java Compiler in Windows ...
-> + Sense:X Only Shows One Enumera... (3)
-> + adding tables and relationship... (6)
-> + preview automatically starts a... (12)
-> + French date in excel 97 using ... (2)
-> + How to maintain large XSL (2)
-> + French date in excel 97 using ... (2)
-> + How to pass EDIFACT as paramet... (3)
-- Previous [1681-1700] [1701-1720] [1721-1740] 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
Paul MartinSubject: Java Compiler in Windows Vista....
Author: Paul Martin
Date: 01 Apr 2007 11:26 PM
I have recently upgraded to vista on my machine....

Now when I try and compile any java source from SS2007 nothing compiles.....

I loaded the sample applications and tried to compile the SampleVideo XSL transform..... Here is what I get in the output window:

Compiler Classpath:;"C:\PROGRA~1\STYLUS~1\bin\CustomFileSystem.jar";"C:\PROGRA~1\STYLUS~1\examples\javaExtension";"C:\PROGRA~1\STYLUS~1\examples\Adapters";"C:\Program Files\Stylus Studio 2007 XML Enterprise Suite\sources";"C:\Program Files\Stylus Studio 2007 XML Enterprise Suite\bin\saxon.jar"
Compiling...
sampleVideo.java

The javac window does not popup and nothing is generated in the output directory.....

What am I doing wrong???

Postnext
Ivan PedruzziSubject: Java Compiler in Windows Vista....
Author: Ivan Pedruzzi
Date: 01 Apr 2007 11:39 PM

Hi Paul,

Which Stylus Studio build are you running?

Which JDK version do you see configured under
Tools->Options->Java Virtual Machine?



Thank you
Ivan Pedruzzi
Stylus Studio Team

Postnext
Paul MartinSubject: Java Compiler in Windows Vista....
Author: Paul Martin
Date: 01 Apr 2007 11:45 PM
Build 735f

JVM: 1.6.0-b105 Java HotSpot(TM) Client VM Sun Microsystems Inc.
debug mode port:8001

Postnext
Paul MartinSubject: Java Compiler in Windows Vista....
Author: Paul Martin
Date: 01 Apr 2007 11:46 PM
C:\j2sdk1.4.2_14
C:\j2sdk1.4.2_14\bin\javac.exe

Postnext
Ivan PedruzziSubject: Java Compiler in Windows Vista....
Author: Ivan Pedruzzi
Date: 01 Apr 2007 11:52 PM

Could you please configure JRE and JAVAC to use the same version?


Thanks
Ivan Pedruzzi
Stylus Studio Team

Posttop
Paul MartinSubject: Java Compiler in Windows Vista....
Author: Paul Martin
Date: 02 Apr 2007 12:13 AM
I changed the JRE and JAVAC to the same version....

And for some reason Vista marked the Stylus Studio 2007 IDE to run as administrator....It prompted me via UAC everytime I loaded up the IDE....

Strange Side effect when you do that.....java JRE uses the
C:\Users\devuser\AppData\Local\VirtualStore\Program Files\Stylus Studio 2007 XML Enterprise Suite\sources

But Stylus Studio & and Javac.exe JAVAC uses:
c:\Program Files\Stylus Studio 2007 XML Enterprise Suite\sources

So the compiler puts it in one directory and Java.exe tries to run it from the VirtualStore......

So once I removed the "Run As Administrator" check box off the Shortcut....everything worked again......

Thanks!!!

   
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.