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)
+ Website Feedback (249)
- XSLT Help and Discussion (7625)
-> + Use of before and after string (3) Sticky Topic
-> - How do I substitute element ty... (1)
-> + How does one add working days ... (4)
-> - Help, I have existing XLT and... (1)
-> + Need help on XSLT issue - (2)
-> + EDI to XML Conversion (7)
-> - XML To JSON Conversion using X... (1)
-> + Formatting Paragraphs to same ... (2)
-> - Grouping of records (1)
-> + Problems with xsd 1.1 (4)
-> + XML to HL7 mapping (3)
-> + XSLT 3 and Iterate (2)
-> + XSL-FO to PDF preview (3)
-> + java.lang.RuntimeException: Er... (2)
-> + Create Acroforms with Stylus X... (2)
-> + How to change XSLT parameter s... (3)
-> + how to change format of the da... (2)
-> + Search "Next 8 Results " doesn... (2)
-> - Support for Git (1)
-> + newbee (8)
-- [1-20] [21-40] [41-60] Next
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Mark MillerSubject: 'JVM could not be loaded' when calling function
Author: Mark Miller
Date: 19 Sep 2001 12:10 PM
I get the error message:
"You have attempted to use an XSL feature that requires Java, but the JVM could not be loaded. Java runtime library could not be found:"

I am calling the XSLT format-number function like this:


Is this a bug? Or am I missing a component? If I'm missing something where can I get it.
I am using Stylus Studio 3.1 beta 3 running in W2k pro sp2.

Postnext
Mark MillerSubject: 'JVM could not be loaded' when calling function
Author: Mark Miller
Date: 19 Sep 2001 12:16 PM
Sorry, here's the function call: (wasn't html encoded on first post) <xsl:value-of select="format-number(@TeamScore, '#,##0')" />

Postnext
Minollo I.Subject: Re: 'JVM could not be loaded' when calling function
Author: Minollo I.
Date: 19 Sep 2001 12:26 PM

>I get the error message:
>"You have attempted to use an XSL feature that requires Java, but the JVM
>could not be loaded. Java runtime library could not be found:"
>
>I am calling the XSLT format-number function like this:
>
>
>Is this a bug? Or am I missing a component? If I'm missing something where
>can I get it.
>I am using Stylus Studio 3.1 beta 3 running in W2k pro sp2.

Stylus Studio needs access to a JVM 1.2.2 or later to process the
"format-number" XPath function or to process any Java extension function
you may be using in your stylesheet.
You can download JRE 1.3.1 from http://java.sun.com/j2se/

Hope this helps,
Minollo

Postnext
Ivan PedruzziSubject: RE: 'JVM could not be loaded' when calling function
Author: Ivan Pedruzzi
Date: 19 Sep 2001 12:28 PM
You need to install Sun JVM 1.2.2 or later if you want to use
format-number function
After the installation, go to Tools -> Options -> Java Virtual Machine
-> and click on "Auto detect"


Ivan

> -----Original Message-----
> From: stylus-studio-xslt Listmanager [mailto:listmanager]
> Sent: Wednesday, September 19, 2001 12:17 PM
> To: Recipients of 'stylus-studio-xslt' suppressed
> Subject: 'JVM could not be loaded' when calling function
>
>
> From: "Mark Miller"
>
> I get the error message:
> "You have attempted to use an XSL feature that requires Java,
> but the JVM could not be loaded. Java runtime library could
> not be found:"
>
> I am calling the XSLT format-number function like this:
>
>
> Is this a bug? Or am I missing a component? If I'm missing
> something where can I get it. I am using Stylus Studio 3.1
> beta 3 running in W2k pro sp2.
>
>
>
> To reply: mailto:stylus-studio-xslt.3733@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-xslt@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN
>
>

Postnext
David SampsonSubject: RE: 'JVM could not be loaded' when calling function
Author: David Sampson
Date: 20 Sep 2004 05:46 PM
Is the requirement for Java a function of Stylus or of XSL?? Does this mean that everyone who uses my xml/xsl files are required to have Java installed???!!!!

David

>You need to install Sun JVM
>1.2.2 or later if you want to
>use
format-number
>function
After the
>installation, go to Tools ->
>Options -> Java Virtual
>Machine
-> and click on "Auto
>detect"


Ivan

>
>-----Original Message-----
>
>From: stylus-studio-xslt
>Listmanager
>[mailto:listmanager]
> Sent:
>Wednesday, September 19, 2001
>12:17 PM
> To: Recipients of
>'stylus-studio-xslt'
>suppressed
> Subject: 'JVM
>could not be loaded' when
>calling function
>
>
> From:
>"Mark Miller"
>
> I get the
>error message:
> "You have
>attempted to use an XSL
>feature that requires Java,
>
>but the JVM could not be
>loaded. Java runtime library
>could
> not be found:"
>
> I
>am calling the XSLT
>format-number function like
>this:
>
>
> Is this a bug?
>Or am I missing a component?
>If I'm missing
> something
>where can I get it. I am using
>Stylus Studio 3.1
> beta 3
>running in W2k pro sp2.
>
>
>
>
> To reply:
>mailto:stylus-studio-xslt.3733
>@edn.exceloncorp.com
> To
>start a new topic:
>mailto:stylus-studio-xslt@edn.
>exceloncorp.com
> To login:
>http://edn.exceloncorp.com/~SS
>DN
>
>

Postnext
Ivan PedruzziSubject: RE: 'JVM could not be loaded' when calling function
Author: Ivan Pedruzzi
Date: 21 Sep 2004 07:13 AM
Hi David,

It depends on which XSLT processor you are using.

The Stylus Studio processor relays on the Java Virtual Machine
to implement format-number.

Other processors like Xalan or Saxon are written in Java.

Microsoft MSXML or .NET XslTransform do not have any JVM dependency.

Ivan


Postnext
David SampsonSubject: RE: 'JVM could not be loaded' when calling function
Author: David Sampson
Date: 21 Sep 2004 08:27 AM
Thanks Ivan

How do I affect which processor is being used. After I complete the XSL files and pass them onto my users I will need to configure their machines.

They're all using Windows 2000/XP... does the MSXML processor come standard? If not, is it just something I download from Microsoft and install?


David


>Hi David,
>
>It depends on which XSLT
>processor you are using.
>
>The Stylus Studio processor
>relays on the Java Virtual
>Machine
>to implement format-number.
>
>Other processors like Xalan or
>Saxon are written in Java.
>
>Microsoft MSXML or .NET
>XslTransform do not have any
>JVM dependency.
>
>Ivan
>
>

Posttop
Ivan PedruzziSubject: RE: 'JVM could not be loaded' when calling function
Author: Ivan Pedruzzi
Date: 21 Sep 2004 08:46 AM
David

MSXML 3 is part of IE that is part of 2000/XP.

I suggest to use MSXML 4 available for free here
http://msdn.microsoft.com/XML/XMLDownloads/default.aspx
You will gain in performance and better XSLT implementation

Ivan

   
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.