Hi

I am struggling to run java inside CFSCRIPT on openbd

I am googled and checked previous posts, but so far have not been able to 
find a solution yet. I am trying to run the examples off of the 
www.openbd.org website.
<cfscript language="java">
  import java.util.*;

  // Creating an array in Java, and then setting it for the CFML
  List fromJava = Arrays.asList(new String[] { "aa", "bb", "cc", "dd" });
  cf.set( "abc", fromJava );
</cfscript>

I get the following error, on all examples:

TypeTemplateMessageInvalid AttributeTagCFSCRIPTJAVAPositionLine=1; Column=1
DetailSCRIPT: Cannot find the system Java compiler. Check that your class 
path includes tools.jar


I have installed the JRE and JDK and have tried putting tools.jar in 
multiple directories. I have also tried manually loading it in 
catalina.properties with restarts of the tomcat service at each attempt.

-bash-4.2$ locate tools.jar
/usr/java/jdk1.7.0_79/db/lib/derbytools.jar
/usr/java/jdk1.7.0_79/lib/tools.jar
/usr/java/jdk1.7.0_79/lib/visualvm/visualvm/modules/com-sun-tools-visualvm-tools.jar
/usr/share/tomcat/bin/tools.jar
/var/lib/tomcat/webapps/openbd/WEB-INF/lib/tools.jar


I am not sure what else I can do what else I can try right now.

Here is more info:
CentOS Linux release 7.0.1406 (Core)

-bash-4.2$ rpm -qa | grep java
java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64
tzdata-java-2015a-1.el7_0.noarch
java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el7_1.x86_64
javamail-1.4.6-8.el7.noarch
python-javapackages-3.4.1-6.el7_0.noarch
java-1.8.0-openjdk-1.8.0.45-30.b13.el7_1.x86_64
java-1.8.0-openjdk-headless-1.8.0.45-30.b13.el7_1.x86_64
java-1.7.0-openjdk-headless-1.7.0.75-2.5.4.2.el7_0.x86_64
javapackages-tools-3.4.1-6.el7_0.noarch


Has anyone been able to resolve this issue? 
Any other alternatives?





-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to