如何在icCube中安装新的JAR [英] How to install a new JAR into icCube

查看:87
本文介绍了如何在icCube中安装新的JAR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将任何JAR添加到icCube安装中,以使其可用于MDX JAVA集成,JDBC数据源等?

Is there any way to add a JAR to icCube install to make it available to MDX JAVA integration, JDBC data source, etc...?

推荐答案

您必须将JAR添加到icCube lib目录中,并可能需要相应地更新CLASSPATH:

You'll have to add the JAR into the icCube lib directory and possibly t update accordingly the CLASSPATH:

Windows(.exe)

Windows (.exe)

- copy the JAR into C:\Program Files\icCube\5.1\lib
- restart icCube

Windows(.bat)

Windows (.bat)

- copy the JAR into C:\Program Files\icCube\5.1\lib
- edit the C:\Program Files\icCube\5.1\bin\icCube.bat file to add the JAR to the CLASSPATH (e.g., SET CLASSPATH=%CLASSPATH%;../lib/new-jar.jar)
- restart icCube

Linux

- copy the JAR into /opt/icCube/lib
- edit the file /opt/icCube/bin/icCube.sh to add the JAR to the CLASSPATH (e.g., CLASSPATH="$CLASSPATH:$ICCUBE/lib/new-jar.jar" )
- restart icCube

MacOS

- copy the JAR into the icCube.app package Contents / Java / lib
- edit the file Contents / Info.plist to add the new JAR to the <key>JVMClassPath</key>
- restart icCube

这篇关于如何在icCube中安装新的JAR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆