有什么办法增加一个JAR到icCube安装到其提供给MDX Java集成,JDBC数据源,等...?
Answer 1:
你必须将JAR添加到icCube lib目录下,并可能牛逼相应地更新CLASSPATH:
视窗(.EXE)
- copy the JAR into C:\Program Files\icCube\5.1\lib
- restart icCube
视窗(.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
苹果系统
- 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
文章来源: How to install a new JAR into icCube