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
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext 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

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
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.