db2 setup for Mac

送分小仙女□ 提交于 2020-01-05 08:03:13

问题


I am trying to install db2 for my mac.

I downloaded the package. When I run the script db2setup I get a blank setup wizard.

It says

/Users/sanjanaagarwal/Downloads/expc/db2/macos/install/db2setup: 

line 606: /tmp/db2.tmp.26264/db2/macos/install/../java/jre/bin/java: No such file or directory

When I check the log it shows

Operating system information: Darwin Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~.13.0.0 
ERROR: The user name specified is invalid.

HELP.


回答1:


DB2 Express-C 10.1 for Mac was released in 2012, well before Mavericks. It's doubtful that IBM has done any testing with Express-C on Mavericks. It does not appear that the JRE you can get from Apple for Mavericks works with the installer. I do not know if installing a JRE from Oracle will work better.

In brief testing I find that it appears to work, but you may find it easier to install using the text-based db2_install command rather than the java-based db2setup. This will require some additional steps to manually create a DB2 instance (create user, execute /opt/IBM/db2/V10.1/instance/db2icrt, etc.), but once you've done this you should be OK.



来源:https://stackoverflow.com/questions/19919819/db2-setup-for-mac

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