Trying to use the portal103_generic.jar installer on Mac OS X 10.11.1 gives this error even though you have plenty of free space:
A quick Google turns up this question and answer. Quick fix, run passing this option: -Dos.name=unix, so:
java -Dos.name=unix -jar portal103_generic.jar
Although others reported this avoided the issue, I then got this issue instead:
Exception in thread "chmodFile" java.lang.Error: Unix is not a supported OS platform.
Following additional suggestion here, using -Dspace.detection=false instead avoided the issue.
Microsoft really want you to upgrade. Not content with ‘accidentally‘ forcing upgrades on some Windows 7 and 8 users that hadn’t upgraded yet, apparently they have an old equipment trade in program if you buy a new PC running Windows 10. You can get upto $200 for an old laptop, but for a MacBook you can get $300. Really? Microsoft values old Macs more than old PCs. You’d have to give me far more than $300 to trade in even an older MacBook. How about buy me a new MacBook Pro, throw in the Windows Sourface for free, and then when I’m convinced I really don’t like Windows then I still have a new MBP. That sounds like an awesome deal.
After upgrading to El Capitan (10.11) last night, I lost my XCode command line build tools. You can reinstall by doing:
and then following the prompts to download and install.
More info here.
Apparently it’s been a while since I started up mysqld on my Mac for development (as I’ve been using MongoDB for a lot of my local dev). Anyway, apparently also I had already written a short article over a year ago to remind myself that the default location for the Mac install of MySQL is to /usr/local/.
Reminder to self again: remember to search your previous posts to remind yourself where MySQL is installed.
Parallels has a neat feature to allow you to create a VM from a bare metal install of Windows in the Bootcamp partition (rather than having it installed to a file representing a virtual disk on the host). This allows you to either natively boot straight from the Bootcamp partition, or boot in a VM running on a Mac OS X host.
For Windows 8.x, this worked fine even though Windows Activation saw the bare metal install and when running in the VM as two different installs. Previously one would activate as normal, and the other would require a call to the Microsoft number to get a new activation code. Once you had activated both, then you could boot either and both would be activated from one license.
On Windows 10 however, it looks like which ever you boot second, it sees the activation code already used on one of your Windows 10 devices, and then refuses to activate. This is discussed in this Parallels forum post here. So far it seems if you leave Windows 10 booted for ‘long enough’ eventually it will activate itself? I’m having this issue, so leaving my unactivated native boot up and running for a while to see whether it activates or not.
I wanted to check some files on an SD Card formatted in ext that I had used on my Pi and wanted to check if I had left some files in the home dir before I reimaged it. OS X doesn’t support ext formatted drives by default, but you add support using OSXFuse.
I’m not sure if it’s best practice on the Mac to mount with sudo, but this worked for me for what I needed to do. Fuse mounts on ext are r/o by default, but there is experimental r/w support that can be enabled, check the docs.
Ars Technica has a fantastically detailed review (25 pages) of the latest OS X release, Yosemite. I’m browsing though the article as my 5.1GB download is slowly coming across the tubes. Maybe sometime tonight it will have completed and I’ll be ready to install
In the meantime, I’m wondering whether I like the ‘flat’ UI look, and prefer the 3d style icons and shadows in my dock, but I’m sure I’ll get used to it.
Somewhere between Java 6 and 7 it seems I lost track of where your JDK gets installed on Mac OS X. Prior to Java 7, it seems it was installed to:
with symlinks pointing to the exact locations.
I was just setting up a new Eclipse install and was looking for where my 8 was installed – it was clearly installed as ‘java -version’ was telling me I was running 8, but it was no longer in the above location.
/usr/libexec/java_home (which I’ve mentioned before here) was telling me the following:
Hmm, so there you go. Looking in /Library/Java/JavaVirtualMachines/ I had multiple versions of 7 and 8. If you need to point Eclipse to a JRE location for your installed JREs, then from 7 onwards I think this is what you need.
I rarely use Final Cut Express, usually iMovie does everything I need. Whenever I come back to FCE though, I always forget how to do some of the simplest tasks. A few reminders for myself:
- To add a transition between clips you need in and out points set first to define where the transition should start/end (on both of the clips between which you are adding the transition)
- Double-click a clip in the timeline to load it into the viewer to edit it’s properties
- Overlay videos by dragging each clip to a track in the timeline. You can resize, move and clip each overlaid video in the ‘Motion’ properties tab in the viewer
- To use the Chroma Key effect to overlay a video, drag the Chroma settings tab out of the viewer, then use the ‘dropper’ to select the background color in the video clip
Great tip here on how to show hidden files in Finder:
To show, enter this command in a Terminal window:
defaults write com.apple.Finder AppleShowAllFiles YES
defaults write com.apple.Finder AppleShowAllFiles NO