Try setting your LD_LIBRARY_PATH to the following:
LD_LIBRARY_PATH=$CFHOME/lib:/lib:/usr/java/jre1.3.1/lib/i386/classic:
/usr/java/jre1.3.1/lib:/usr/java/jre1.3.1/lib/i386/native_threads:/usr/java/
jre1.3.1/lib/i386
(remember, it ALL has to be on ONE line. The above line was wrapped by our
mail clients)
========================
Jesse Noller
Macromedia Server Development
[EMAIL PROTECTED]
/whois john@galt
-----Original Message-----
From: Saidi; Marwan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 5:07 PM
To: CF-Talk
Subject: CF, Java, and Linux (really, this time!)
Now that I have trimmed the fat from my fingers....
I have searched the cfforums, to no avail:
If I try to run a Java CFX tag I get the following, apparently common,
error:
The JVM library could not be found. Please check if the file specified in
the ColdFusion Administrator actually exists.
Like I said, many threads but no fixes on CF Forums. Any ideas? Here are
some particulars:
RedHat Linux 7.1
CF 5 Pro
Sun JRE 1.3.1 - Default install
CF Administrator JVM Settings:
JVM Path: /usr/java/jre1.3.1/lib/i386/classic/libjvm.so
Heap Size: 4096K
Max Heap: 16384K
Class Path: /opt/coldfusion/Java/classes
System Options: java.compiler=NONE
CFX Jar Path: /opt/coldfusion/Java/classes
Dynamic Class Load Path: /opt/coldfusion/Java/classes
I have modified the start script as follows:
UW PICO(tm) 4.0 File: /opt/coldfusion/bin/start
##### edited by marwan 7/25/01, replaced:
#LD_LIBRARY_PATH=$CFHOME/lib:/opt/coldfusion/jre/lib/i386/classic:/opt/coldf
usi$
##### with:
JAVAPATH=/usr/java/jre1.3.1
LD_LIBRARY_PATH=\
$CFHOME/lib:\
$JAVAPATH/lib:\
$JAVAPATH/lib/i386:\
$JAVAPATH/lib/i386/hotspot:\
$JAVAPATH/lib/i386/native_threads:\
$JAVAPATH/lib/i386/classic
CLASSPATH=/opt/coldfusion/Java/classes
I am now at a loss. Has _anyone_ been able to get the linux CF and Java to
play nice? If so, any other tips? This is woefully undocumented, even for
Windows users. Anyone with any help is greatly appreciated. Or if I should
just give up, let me know!
Thanks,
Marwan Saidi
Webmaster
CED - Concord IS
[EMAIL PROTECTED]
407.741.8645
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists