How to install a new JAR into icCube

一个人想着一个人 提交于 2019-12-11 08:59:22

问题


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


回答1:


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

Windows (.exe)

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

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


来源:https://stackoverflow.com/questions/30375238/how-to-install-a-new-jar-into-iccube

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!