Scout not working even though Java Runtime is installed on Mac - macos

Today my Compass/Sass stopped compiling and i was unable to get it working again. So i installed Scout. But Scout wouldn’t run until i installed Java Runtime for Mac. So I downloaded and installed Java Runtime for Mac. But when running Scout I am still prompted as if Java Runtime was never installed. I see the Java Runtime in my System Preferences so I assume it’s working?
I’m running Mac OS 10.10.1 Yosemite
Anyone know what the problem might be?

I found the solution. You need to run a legacy version of Java for some applications to still work. Here's the download link and info from Apple:
https://support.apple.com/kb/DL1572?locale=en_US
Java for OS X 2015-001 installs the legacy Java 6 runtime for OS X
10.11 El Capitan, OS X 10.10 Yosemite, OS X 10.9 Mavericks, OS X 10.8 Mountain Lion, and OS X 10.7 Lion.
This package is exclusively intended for support of legacy software
and installs the same deprecated version of Java 6 included in the
2014-001 and 2013-005 releases.
Quit any Java applications before installing this update.

I don't know Scout but you might need the older JNI (Java Native Interface) version of Java (1.6) that Apple deprecated a long time ago but is still available if you know now to find it.
The easiest way to install it is to use this command in Terminal:
/usr/libexec/java_home --task JNI --request
and follow the prompts (it will pop up a dialog box offering to install the requested version). OS X can host multiple versions of Java a once so installing this older version shouldn't affect your existing installation.

Related

How to install a library with homebrew to use older Xcode SDK on OSX

I use Xcode 7.2 on OS X 10.11.
However, I must build using older Xcode SDK (10.8) to support older platform.
I have a problem when I link to libpng installed using homebrew.
A bunch of warnings like following pop up:
Object file
(/usr/local/Cellar/libpng/1.6.21/lib/libpng.16.a(pngwutil.o)) was
built for newer OSX version (10.11) than being linked (10.8)
The problem would be obviously solved if I could force homebrew to compile recipe using older Xcode SDK (10.8) but haven't find a way to accomplish this.
Any suggestion is welcome.

Is building on XCode 2.5, OS X 10.4 possible with a OS X 10.11.3

I couldn't find anything in the search so here this goes:
I am looking to build an XCode Mac OS X app, and it is required to be compatible with XCode 2.5, which is for OS X 10.4. I have an OS X 10.11.3 with a XCode 7.3.1.
I tried downloading XCode 2.5 and installing it, but the setup said I needed to have OS X 10.4 to install. When running XCode 7.3.1 on the OS X 10.11.3, I can get the compiler settings to compile and run with the minimum deploy OS X version as 10.4, but I am not sure how to convert the project to XCode 2.5.
I was thinking about running VMWare or something, but I'm not really sure how to get a 10.4 Mac OS X image. Can someone help me figure out what I can do? Would I have to compile projects manually through an older version of compilers? Thanks guys!
You don't need Xcode 2.5 to build binaries for 10.4. What you need is:
The Mac OS X 10.4 SDK
A compatible compiler: GCC 4.0 is recommended, but GCC 4.2 works as well. Things get a bit more complicated if you need C++11 support as well.
A solution is to install the compilers and SDKs you need using the XcodeLegacy script. It extracts these from older Xcode distributions.
You should then be able to select the older Mac OS X SDK and compiler in the Xcode version you have installed. Read carefully the XcodeLegacy documentation.

Pycharm 4.5 CE crashes on launch on OS X 10.8.5

I upgraded from Pycharm 4.0 (which worked fine) to 4.5 community edition on Mac OS 10.8.5.
It crashes on launch after bouncing a bit in the dock.
The log files, console, all show nothing.
I'm running java 1.6.0_65, and have Python 2.7, Jython, PyPy via Macports.
Any ideas?
Make sure you've installed Apple's Java for OS X 2014-001 (at least).
Try to delete ~/Library/Java/Extensions, see the issue IDEA-137147.
Similar to the answer for IntelliJ IDEA, if you can't delete ~/Library/Java/Extensions, i.e., because you need it's contents (likely JAI jars) as part of other applications, you can create a file, pycharm.vmoptions in ~/Library/Preferences/PyCharm40 with contents:
-Djava.ext.dirs=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext
to override OSX Java 6's default behavior of checking the user's ~/Library/Java/Extensions directory in addition to the system's extensions on application start up; but only for PyCharm.

Where is the download for mac osx on couchdb.org?

I upgraded my OSX to Lion. As I went to install couchdb locally I found that the installer link for mac on http://couchdb.apache.org was gone and replaced with "Mac OS X binaries coming soon". I haven't used couchdb before but I know it was there at one point.
A friend sent me a copy zipped up which he installed on his Snow Leopard OSX. This installed and I could access the Admin Console, but I was unable to access futon.
Is there a reason the button is missing, or is there another way to install it?
My guess is that the site is detecting my operating system and they just aren't ready for 10.7.5 yet. But How do I go about installing a local version?
To install I followed the steps in this post Couch DB installation not working on Mac OSx Lion.
It worked like a charm step by step.
The new version 1.2.1 has recently been released and packed for Mac OSX. You can download it from http://couchdb.apache.org/#download or from http://www.apache.org/dyn/closer.cgi?path=/couchdb/packages/mac/1.2.1/Apache-CouchDB-1.2.1.zip

Autodetect JRE Version and Install the required Version on MAC OS X before launching an application

Autodetect JRE Version and Install the required Version on MAC OS X before launching an application.How?
Have you looked at Launch4J ? It allows you to package your Java solution with an installer that can detect JREs and launch an installer for that particular JRE if necessary.
Note that the website says Launch4J is for Windows, but the changelog indicates that a Mac OS X version has been available for some time (and available in the downloads)

Resources