如何在icCube中安装新的JAR

时间:2015-05-21 13:30:24

标签: jdbc iccube

有没有办法将JAR添加到icCube安装,以使其可用于MDX JAVA集成,JDBC数据源等......?

1 个答案:

答案 0 :(得分:1)

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

Windows(.exe)

- 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

Windows(.bat)

- 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

Linux的

- 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

的MacOS

spark-submit