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 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
David KarrSubject: Running XSLT won't work with JDK 1.4.2.
Author: David Karr
Date: 15 Nov 2005 01:50 PM
At this point in time, all the stylesheets I'm going to be developing
will be running in WebLogic 8.1, which is using JDK 1.4.2. I need to
make sure that what I develop in StylusStudio will work in that
environment. I can get close to that, having it use Xalan 2.5.2 for
debugging, and perhaps set up Xalan 2.7.0 as a "custom" processor, but I
now see that I can't even run stylesheets in SS with JDK 1.4.2. It will
only work with JDK 5. Is that a known problem? Is there any way to
work around this?

Postnext
(Deleted User) Subject: Running XSLT won't work with JDK 1.4.2.
Author: (Deleted User)
Date: 15 Nov 2005 02:23 PM
David,
Stylus Studio is supposed to work with either JDK 1.4.2 or 1.5. Some of us developers use 1.4 as our environment and some of us use 1.5.
Unless you tell us more specifically what your error is, it is hard to help you figure out what is wrong, but here is something to try.

From the Stylus Tools-Options dialog, select Java Virtual Machine.
Make sure you have the same version of Java in the Enable JVM box, the JDK box, and the External JVM box.

Does Java 1.4.2 work on your machine for other applications or classes? Perhaps it is not installed properly.

Remember, that if you use Java 1.5 to create .class files, they may not work in a 1.4 JVM.

Clyde Kessel

Postnext
David KarrSubject: RE: Running XSLT won't work with JDK 1.4.2.
Author: David Karr
Date: 15 Nov 2005 03:30 PM
Sorry, I should have been more clear. Unfortunately, SS isn't very
clear. It just says "Unable to connect to JVM".

> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:stylus-studio-tech.listmanager@stylusstudio.com]
> Sent: Tuesday, November 15, 2005 11:26 AM
> Subject: Running XSLT won't work with JDK 1.4.2.
>
> From: "Clyde Kessel"
>
> David,
> Stylus Studio is supposed to work with either JDK 1.4.2 or
> 1.5. Some of us developers use 1.4 as our environment and
> some of us use 1.5. Unless you tell us more specifically what
> your error is, it is hard to help you figure out what is
> wrong, but here is something to try.
>
> From the Stylus Tools-Options dialog, select Java Virtual
> Machine. Make sure you have the same version of Java in the
> Enable JVM box, the JDK box, and the External JVM box.
>
> Does Java 1.4.2 work on your machine for other applications
> or classes? Perhaps it is not installed properly.
>
> Remember, that if you use Java 1.5 to create .class files,
> they may not work in a 1.4 JVM.
>
> Clyde Kessel
>
>
> --
> To reply: mailto:stylus-studio-tech.12588@stylusstudio.com
> To start a new topic: mailto:stylus-studio-tech@stylusstudio.com
> To login: http://www.stylusstudio.com/SSDN/
> To (un)subscribe:
> mailto:stylus-studio-tech.list-request@stylusstudio.com
>
>

Postnext
(Deleted User) Subject: RE: Running XSLT won't work with JDK 1.4.2.
Author: (Deleted User)
Date: 15 Nov 2005 04:20 PM
David, Can you please start Stylus using JDK 1.4.2, and open the Help-About Stylus Studio menu. What does it say next to: Java Virtual Machine?

Then open the Tools-Options menu and click on Java Virtual Machine.
What does it have in the fields
Runtime library:
JDK Home directory:
JDK Java compiler:
External JVM Command line:

Are you able to compile and run .java files using 1.4.2 outside of Stylus?

Thanks
Clyde

Postnext
(Deleted User) Subject: RE: Running XSLT won't work with JDK 1.4.2.
Author: (Deleted User)
Date: 15 Nov 2005 05:08 PM
David,

Here is another thing to check. Look at the registry key
HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Runtime Environment
It should contain several subkeys, one for each installed JDK. They will have names like 1.4.2_07, 1.5.0_01, etc. If you open those subkeys, you should see pathnames to various directories containing the versions of java.

Now, make sure the key
HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Runtime Environment/Current Version
contains one of those names: the one you want to be running.


Clyde

Postnext
David KarrSubject: RE: Running XSLT won't work with JDK 1.4.2.
Author: David Karr
Date: 15 Nov 2005 06:50 PM
This was helpful. I've managed to get through this. The original error
happened because the JDK that was pointed to by the "CurrentVersion"
property was a copy that I deleted because I didn't think I was using it
for anything. Then, since the JDK that I am using didn't go through an
installer (it's just a subdirectory of WebLogic), I had to manually
create the key and the subkeys to correspond with that distribution.

> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:stylus-studio-tech.listmanager@stylusstudio.com]
> Sent: Tuesday, November 15, 2005 2:11 PM
> Subject: RE: Running XSLT won't work with JDK 1.4.2.
>
>
> From: "Clyde Kessel"
>
> David,
>
> Here is another thing to check. Look at the registry key
> HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Runtime Environment
> It should contain several subkeys, one for each installed
> JDK. They will have names like 1.4.2_07, 1.5.0_01, etc. If
> you open those subkeys, you should see pathnames to various
> directories containing the versions of java.
>
> Now, make sure the key
> HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Runtime
> Environment/Current Version contains one of those names: the
> one you want to be running.
>
>
> Clyde
>
>
> --
> To reply: mailto:stylus-studio-tech.12598@stylusstudio.com
> To start a new topic: mailto:stylus-studio-tech@stylusstudio.com
> To login: http://www.stylusstudio.com/SSDN/
> To (un)subscribe:
> mailto:stylus-studio-tech.list-request@stylusstudio.com
>
>

Postnext
David KarrSubject: RE: Running XSLT won't work with JDK 1.4.2.
Author: David Karr
Date: 15 Nov 2005 05:49 PM
By "start Stylus using JDK 1.4.2", do you mean to set the JVM "Runtime
library" field to point to the JDK 1.4.2 jre/bin/client/jvm.dll?

If so, that field in "Help About" says: Java Runtime Environment
initialization failed

In the Options dialog:

Runtime library: C:\bea\jdk142_05\jre\bin\client\jvm.dll
Home Directory: C:\bea\jdk142_05
Java compiler: C:\bea\jdk142_05\bin\javac.exe
Command line: C:\bea\jdk142_05\bin\java.exe

I'm attempting to set SS to use the same JDK 1.4.2 instance that I'm
using for all my work with WebLogic, which is working fine.

> -----Original Message-----
> From: "Clyde Kessel"
>
> David, Can you please start Stylus using JDK 1.4.2, and open
> the Help-About Stylus Studio menu. What does it say next to:
> Java Virtual Machine?
>
> Then open the Tools-Options menu and click on Java Virtual
> Machine. What does it have in the fields Runtime library: JDK
> Home directory: JDK Java compiler: External JVM Command line:
>
> Are you able to compile and run .java files using 1.4.2
> outside of Stylus?
>
> Thanks
> Clyde
>
>
> --
> To reply: mailto:stylus-studio-tech.12596@stylusstudio.com
> To start a new topic: mailto:stylus-studio-tech@stylusstudio.com
> To login: http://www.stylusstudio.com/SSDN/
> To (un)subscribe:
> mailto:stylus-studio-tech.list-request@stylusstudio.com
>
>

Posttop
Ivan PedruzziSubject: RE: Running XSLT won't work with JDK 1.4.2.
Author: Ivan Pedruzzi
Date: 15 Nov 2005 06:11 PM
In our experience the JVM fails to initialize when there are multiple JVM in the PATH.

What happens for instance if you try to type java -version in newly created DOS console?

hope this helps
Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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.