Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts

How to remove Quarantine from file permissions in OS X

Posted on by Kim

sudo xattr -r -d com.apple.quarantine ~/opt/jdk-13.0.2+8

Simple fix to missing tools.jar in JDK on Mac OS X

Posted on by Kim

THANKS to David B. Knickerbocker for this

Simple fix to missing tools.jar in JDK on Mac OS X

Today I ran into a situation where a 3rd-party pom.xml had a dependency on tools.jar.  I'm stuck using Java 6, due to project requirements, which means I have to use the Apple supplied JDK.  The problem is Apple bundled all the classes normally found in tools.tar into classes.jar.  Since I couldn't modify the pom file, I simply creating a symbolic link to classes.jar.

 $> sudo ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/tools.jar  
 $> sudo ln -s /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/lib  

Enable java in browser

Posted on by Kim


Enable in Java Preferences

Run in terminal:/Applications/Utilities/Java\ Preferences.app/Contents/MacOS/Java\ Preferences


Android Compatibility JAR not found

Posted on by Kim


cd [eclipse install dir]/Eclipse.app/Contents/MacOS/
ln -s [android sdk install dir]/extras/android/support/v4
ln -s [android sdk install dir]/extras/android/support/v13