Re: The JVM library could not be found. SOLVED

2010-02-15 Thread Claude Schnéegans

 and you wouldn't want all of them to set global environment variables.

Well, actually I don't care, all I want is that a piece of soft I do not 
want installs itself correctly if it is needed by some other soft I want.

The problem was also (as very often) that the error message was 
inappropriate:
The SVM file WAS FOUND, it is the rest of the Java library needed by the 
SVM which was not.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330736
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: The JVM library could not be found.

2010-02-14 Thread Claude Schnéegans

 Check your system's PATH environment variable.

Ok, but were is it, and what should it contain?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330711
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: The JVM library could not be found.

2010-02-14 Thread Claude Schnéegans

Ok, I uninstalled Java, reinstalled it under C:\Java, set the Java 
Virtual Machine Path in the CF Administrator, ... and still the same 
problem :-(

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330712
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: The JVM library could not be found.

2010-02-14 Thread Leigh

I think Dave meant to also check the windows _environment_ variable named PATH.

-Leigh


  

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330713
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: The JVM library could not be found.

2010-02-14 Thread Claude Schnéegans

 I think Dave meant to also check the windows _environment_ variable 
named PATH.

Ok, I did, but what should be in there?
Here is what I have on my production server wher the JVM is not found:
C:\Program Files\Mail 
Enable\BIN;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

And here is what I have on my desktop where the JVM works:
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program 
Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program 
Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft 
Visual Studio\VC98\bin

I don't see anything related to CF or Java anyway.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330715
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: The JVM library could not be found.

2010-02-14 Thread Leigh

  I think Dave meant to also check the windows
 _environment_ variable 
 named PATH.
 
 Ok, I did, but what should be in there?

I am really not sure for win 2003/CF5. (I have never used CF5) What do you see 
if you check PATH and JAVA_HOME from the command line? I do not know that the 
results will be the same, but on my XP desktop I get 

c:\ ECHO %PATH%
... C:\Program Files\Java\jdk1.6.0_13\bin; 

c:\ ECHO %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_13

-Leigh



  

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330716
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: The JVM library could not be found.

2010-02-14 Thread Leigh

 CF5) What do you see if you check PATH and JAVA_HOME from
 the command line? 

BTW: Though you probably did this, I meant to say make sure you are checking 
the System PATH variable. It believe it is possible to have user variables by 
the same name. (Need more coffee..)

-Leigh 


  

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330718
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: The JVM library could not be found. SOLVED

2010-02-14 Thread Claude Schnéegans

Ok, I checked the path variable using the ECHO command line, and it 
showed many paths that were not shown in the Windows computer management 
properties.
This time, I see many paths to java versions used by Oracle, MySQL, etc. 
This is why it works on my destop.

So I added paths to my new installation of Java on my production server, 
and now IT WORKS!
It's a shame the JAVA installer does not set this variable, if it is 
necessary in order applications can work.

THANKS A LOT all of you for your support.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330719
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: The JVM library could not be found. SOLVED

2010-02-14 Thread Dave Watts

 It's a shame the JAVA installer does not set this variable, if it is
 necessary in order applications can work.

Sometimes it will, but you have to be careful about this, as it's
fairly common to have multiple JVMs installed, and you wouldn't want
all of them to set global environment variables.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330729
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


The JVM library could not be found.

2010-02-13 Thread Claude Schnéegans

Hi,

I've lost my whole day on that problem.
I have a CF5 server on my developping WIndows XP desktop, using some 
Java CFX. Since it was compiled using Java 1.4 I upgraded my Java to 
version 1.6, everything works fine.
Now I'm trying to install the same thing on my Win 3000 server, same 
copy of CF 5. I installed the same version of Java, set exactly the same 
values in the Administrator for the virtual machine.
To be sure I put the right path, I copied it from the property of the 
jvm.dll : C:\Program Files\Java\jre6\bin\client\jvm.dll
But when I restart the CF server I keep getting in the server log :
The JVM library could not be found. Please check if the file specified 
in the ColdFusion Administrator actually exists.

I've checked about 50 times, and the file does exist!
I also checked in the registry and the path to the file is correctly set.
I even copied the path from there, and pasted it in an hexadecimal 
editor, and it did opened the file.

Any idea what could make the CF sever not able to find the JVM library ?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330702
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: The JVM library could not be found.

2010-02-13 Thread Kevin Pepperman

Wow.. Windows 3000. We are getting emails from the future. Does it still
support IE6? God I hope not.

Joking aside, I'll assume 2003 server.

Did you try putting the jvm in a place with no spaces in the name? Maybe
that is causing issues?


-- 
/Kevin Pepperman


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330706
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: The JVM library could not be found.

2010-02-13 Thread Claude Schnéegans

 Joking aside, I'll assume 2003 server.

He he yeah, 2003 of course ;-)

 Did you try putting the jvm in a place with no spaces in the name? Maybe
that is causing issues?

Hmmm, if this was an issue, it could not be from CF5 since the same copy 
of CF5 has no problem with the same name under Win XP, and if the 
problem was with Win 2003, how could it work with all its applications 
under such a directory, including the CF server ?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330708
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: The JVM library could not be found.

2010-02-13 Thread Kevin Pepperman

Not sure why, but I would try it first. Its the first thing I would look at.
Then maybe verify the jvm versions, maybe one is from the SDK and the other
is not?

There are differences between XP and 2003 server.

If it says it cant find the path, and you know it exists, and it still cant
find it that way--

It is possible that the XP box is using an environmental/system variable to
resolve the path, but your 2003 server install is looking for the variable
in an internal hard coded path.



-- 
/Kevin Pepperman


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330709
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: The JVM library could not be found.

2010-02-13 Thread Dave Watts

 Hmmm, if this was an issue, it could not be from CF5 since the same copy
 of CF5 has no problem with the same name under Win XP, and if the
 problem was with Win 2003, how could it work with all its applications
 under such a directory, including the CF server ?

Check your system's PATH environment variable.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330710
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4