Cannot install ibm db2 express-c V10.1 on mac - xcode

I am new to db2 10.1, i have used an older version of it before so, i am unfamiliar with the installation.
I searched online how to install it and followed this site http://programmingzen.com/files/db2onmac.pdf
but when i try to run 'db2setup' inside expc i get these errors.(i uploaded it to google drive so it would be easier to download and view externally)
https://drive.google.com/file/d/0BxdZNdArow5yRkhlMzlIdTFsemc/view?usp=sharing
I noticed that all these errors are from Xcode; i have Xcode installed and updated to the latest version , and yes i have also tried to use 'db2_install', it gave me the same errors but after them it installed normally in '/opt/IBM/db2/V10.1', i also used sudo before each one of them, so when i gave up i searched the internet, but i couldn't find an answer, then i tried to delete it using 'db2_deinstall' but it didn't work at all, so i don't know how to reinstall.
Right now i have 'IBM' folder, but i don't even know how to start it to see if it works or not, and i don't know how to open 'db2 first steps' or where is it.
Thank you in advance.
Edit: i am trying to install db2 express-c and the only version available for mac is 10.1 .

If you are trying DB2-Express-C V10.1 on a Mac, then why not try instead
the "DB2 Developer Community Edition" which is supported on "Mac OS: 10.12 (Sierra) +", a free download. It contains DB2 V11.1.2.2 at today's date.
If you need V10.1 for some reason, check out the IBM express-c forum which also has some troubleshooting questions regarding Mac support.

Related

How to install SQL Developer on macOS Catalina 10.15?

I've downloaded and unpacked Oracle's SQL Developer 19.4 on macOS 10.15 Catalina. During the first start up, the usual warning appears, which I clicked away as I do since a number of years:
SQL Developer starts ok. When creating a new connection to an Oracle database, I enter all the detail and it works fine (the 'Test' button says it's ok), but I cannot save the connection.
JeffSmith said in a comment that SQL Developer needs JCE jars, which are not in older JDKs, version jkd8u200+ should be fine. To get a newer JDK, I tried homebrew (as this was the only way I could get sqlplus to work on catalina):
brew tap adoptopenjdk/openjdk
brew cask install adoptopenjdk8
This works, /usr/libexec/java_home -V shows now /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home, and I can create and save connections (Yeah!). However, on start up, SQL Developer complains that JavaFX is missing:
So I've followed the instructions on Using Java SE on macOS Catalina, which installs a JRE in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home!
Pointing .sqldeveloper/19.4.0/product.conf to that JRE causes SQL Developer not starting up at all.
I'm pretty sure that this is not the fault of the SQL Developer team, rather a fight between Apple and Oracle, but why on earth is this such a mess?
Can anybody help here with a clean install instruction?
To summarize the comments, both Oracle JDK 8 and Amazon Corretto 8 seem to work. Corretto is easier to install, but not supported. Oracle's JDK is a bit more difficult to install, but there is a page explaining how to do it.
I couldn't get SQL Developer to pick up the right Java version, but an entry in .sqldeveloper/19.4.0/product.conf got everything working
SetJavaHome /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home
Thanks for the help!

Glassfish v4.0 cannot work on Mac OSX 10.6.8 + JDK 7.0 U40

I had been using 2010 Macbook Pro for a while and had updated the Mac OSX to the latest version, and I had been suffering the slow speed for a long time. So last night I googled and do some cleanup , such as fix disk permissions, but the Mac was still slow. And someone suggest to re-install MacOSX.
I was thinking it was the new version of Mac OSX's problem, I had the same kind of problems happen on the 1st version IPad either.
After I reinstalled, the computer became much more faster. But I encountered the following problems:
JDK 7 DMG does not support OSX 10.6.8, but ONLY OSX 10.7+
Github official client does not support OSX 10.7+
Gooooooogled again and again, to solve the 1st problem, there are mainly to suggestions:
A. Using PackageMaker to remove the OSX version condition.
B. Using a tool Pacifist to open the pkg file inside the DMG file downloaded from official.
Since I have PackageMaker installed on Mac OSX, so I choosed A.
Open it with PackageMaker, remove the limitation, and build it again, I installed with the new pkg file successfully at:
/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home
And then set JAVA_HOME on ~/.bash_profile.
Then I download the glassfish 4.0 multi-language version, unzipped, and start-domain successfully. and finally the problem killed me for now.
After glassfish v4 started, I try to login into web console at:
http://localhost:4848
then glassfish server instance "dies", the java process of glassfish is still there, but without any response, the web console starting icon keeps rolling all the time. And there are no error logs created, and the "generated" directory is not generated.
2013-10-15 14:05:20.928 java[797:903] * NSInvocation: warning: object 0x1083c8390 of class 'ThreadUtilities' does not implement methodSignatureForSelector: -- trouble ahead
2013-10-15 14:05:20.930 java[797:903] * NSInvocation: warning: object 0x1083c8390 of class 'ThreadUtilities' does not implement doesNotRecognizeSelector: -- abort
Command start-domain failed.
That is the 1st problem.
The 2nd problem is about github. Since github official does not support OSX 10.6.8, I found an old installer with version 1.0.3. I installed this version, with one ONLY problem for now, I cannot login into github with username and password,no error responses, just no responding, I suffered this once I was on Windows. But I can work with clicking the "Clone into Desktop" button on github.com.
Can someone help me out? I am working on JDK7 based projects.
Why everybody is leaving Snow Leopard, and does not support it anymore, but old Mac computers should be die without working software after 2~3 years, just 2~3 years. And OS upgrade to nex t level will DOWNGrade the performance. Why this things happen?
Is it the oracle from god?
I had the same error (NSInvocation...), on my 2006 Macbook Pro (OS X 10.6.8), onto which I had installed JDK7 to develop a Java/GWT application in Eclipse Kepler. After searching around, I learned that one possible solution was to downgrade to JDK 1.7.0u25 (instead of update 40 or higher), so I installed that version alongside 1.7.0u45 (which I already had), and that fixed the problem. So I would recommend installing that version of the JDK and see if that fixes your problem.

../include/wx/mac/carbon/private.h:1459: error: ‘Cursor’ does not name a type

I have been using RapidSVN on a Linux machine for the past few years - it has become an excellent tool for managing my source.
Yesterday my trusty Linux laptop had a couple of strokes so I decided it was time to replace it. Today I went out and purchased a new Mac Book Pro with the flashy display and solid state drives.
Then I went hunting for an SVN tool to run on Mac. I found that RapidSVN will run on a Mac as it was developed using wxWidgets (cross platform windowing).
So, I needed to install wxWidgets, however this doesn't come as an executable so I had to download the tar ball. To compile I realised I don't have a compiler installed yet... so, install Xcode 4.4, then learn that doesn't install a compiler either... find the Xcode preference to install the command line tools (compiler).
So, now I have Xcode installed, a gcc compiler, and tracking back up it comes to wxWidgets. It takes a little working out but I manage to extract the files into a directory in my home folder, (following instructions of course), and from the 'build' folder I run the ../configure command (which seems to work) and then the 'make' command which fails:
In file included from ../include/wx/mac/private.h:4,
from ../src/common/dynlib.cpp:48:
../include/wx/mac/carbon/private.h:1459: error: ‘Cursor’ does not name a type
../include/wx/mac/carbon/private.h:1488: error: ‘ClassicCursor’ does not name a type
make: *** [baselib_dynlib.o] Error 1
So I go hunting for a solution only to find this bug: http://trac.wxwidgets.org/ticket/14536 which unfortunately indicates this is not going to be fixed.
Changed 10 months ago by csomor
* status changed from new to closed
* resolution set to wontfix
A dismal day in the land of computers. I am now stuck for the next 5-6 years on a computer that will never be able to compile anything using wxWidgets - I rather feel like taking it back to Apple and getting my money back.
So where to from here? Is there a binary version of wxWidgets available? Is there a binary version of RapidSVN available? Should I downgrade to OSX 10.x something less than I am currently on? Should I upgrade to unstable wxWidgets?
This is an interesting but not very understandable read. What exactly are you trying to achieve? If you're looking to use the best available version of wxWidgets under OS X, get 2.9.4 or the current svn version and build it using the Xcode version you have already with Cocoa support. If you absolutely need to continue to use Carbon (why?), either install Xcode 3, available from Apple, or get 10.6 (or 10.5) SDK in some other way and pass it as the SDK to use to configure using --with-macosx-sdk option as explained in the documentation.
VZ is right. If you need to use wxWidgets 2.8 on OS X (and there are legitimate reasons for needing to do so), get the 10.6 SDK. Copy it alongside the already installed 10.7 and/or 10.8 , and select it in the project/target's build settings.
From here I have given up trying to compile anything on my current OSX. I am not going to downgrade or install multiple versions of different libraries in order to satisfy the lack of support for the latest current stable versions.
From here I will download and install binaries only.
I have Mac OSX Lion and just did this:
brew install wxmac
and was able to get through the install with no issues.

Can't install subversion on Mountain Lion OSX

I downloaded the subversion installer in the "Community Binaries" at collabnet:
http://www.collab.net/downloads/subversion#tab-3. When I try to install it, I go through Introduction, Read Me, and License. When I get to Destination Select, "Install for all users of this computer" is greyed out. I can not proceed during this point. Does anyone know why?
Mountain Lion does have Subversion version 1.6.18 available from Apple. However, it's a bit convoluted to get it:
Download Xcode from the Mac OS X App Store (Free program)
Select the Menu item Xcode->Preferences...
Select the "Downloads" section.
Choose Command Line Tools and click on the Install button.
After that, the Subversion command line client will be available. The svnserve server is also included. Unfortunately, the mod_dav.so and mod_dav_svn.so files needed for running Subversion server via Apache https are no longer included. I think they might be included in Mac OS X Server, but that's a $20 purchase.
Hope this helps. It's not version 1.7.x, but it's much easier to get working than the old community binary version which I don't believe works in Mountain Lion (and is also version 1.6.18)
If you don't need Xcode, you can download the Developer Command Line Tools from https://developer.apple.com/downloads/index.action directly, saving yourself a tonne of disk space and time...
Apparently it's not been updated is the message on open.Collab.net...
Date 2011-12-20 04:44:22 PST
Message The community volunteer who provides the binary on our site has not updated it for Lion or SVN 1.7. All of the Mac packaging tools, like MacPorts and HomeBrew have updated and you can get it there. There is also a listing of places to get them here: http://subversion.ap​ache.org/packages.ht​ml#osx

Oracle 10g on MacOS Snow Leopard

I've found this helpful tutorial on web
http://blog.rayapps.com/2009/09/14/how-to-install-oracle-database-10g-on-mac-os-x-snow-leopard/
I've followed all steps, but, I've a problem with netca run. When I'll start it, crash with this error:
Invalid memory access of location 00000014 eip=11069523
/opt/oracle/product/10.2.0/db_1/jdk/jre/bin/java: line 2: 10323 Bus error /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java -d32 -Xbootclasspath/a:/opt/oracle/product/10.2.0/db_1/jdk/jre/lib/ext:/opt/oracle/product/10.2.0/db_1/jdk/lib/ext $*
and the error message on popup show that the problem is with libnjni10.jnilib plugin. On snow leopard there is only Java 1.6 but I've installed also JDK1.5 and I've changed the symbolic link for 1.4.2 to run the 1.5
Any idea?
thanks a lot!
Andrea
Alex Gorbachev's install guide suggests a couple of different ways of resolving this problem - editing runinstaller or installing JDK 1.4.2. Check it out.
Try Using VMWare
Is this for development purposes? I've been happy with installing Oracle on a VMWare Linux instance. One nice feature is that I can prep my database as I like, take a VMWare snapshot, and roll back to the saved snapshot as necessary.

Resources