Advertisements

Category Archives: Java

how to get Eclipse and Java to play on Yosemite

eclipse_by_a4size_ska-d2dvgyj

If you’re trying to launch the Eclipse IDE with Apple’s old 1.6 JDK installed and find that you’re having trouble updating your Java installation, try the following procedure.

1. Remove Apple’s JRE
First up, let’s get rid of the end user plug in. In Terminal, do

sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

2. Remove Apple’s JDK
Next, we need to uninstall the Java Development Kit. Do not mess about in the System’s Frameworks/JavaVM.framework folders. You’ll need those. Rather, in Terminal do

sudo rm -rf /System/Library/Java/JavaVirtualMachines/1.6.0.jdk

If you’ve got later versions of the JDK (like 1.7), change the file name in the above command appropriately.

3. Install Oracle’s JDK for Mac
Next go to the Oracle Java page and look for the latest JDK. It’s important that you get the JDK for developers and NOT the JRE for end-users if you want to use Eclipse.

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Download and run the installer. You should now be able to launch Eclipse without problems. đŸ™‚





Picture: Eclipse by A4size-ska

Advertisements

uninstall flashback trojan

Among all the confusing posts and scare stories on offer this week about the flashback trojan, a lot of people seem to have missed the instructions for dealing with it.

Here’s F-Secure’s removal procedure:

uninstall trojan downloader

Here’s Rich Mogull’s general advice for securing your mac in light of this new threat:

What you need to know about the flashback trojan

It’s also worth emphasizing that, for technical reasons, if your mac has Microsoft Office 2008 or 2011 or Apple’s XCode installed, this particular trojan will not have been able to infect your computer.

java not working on Lion




Unlike previous OS X iterations, Java does not come installed by default on Lion OS X. Instead, you need to download it and enable it.

First, check to see whether Java is installed by running this command in Terminal.app

java -version

If you don’t get a version number back, then you need to go here first and download the Java update from Apple: http://support.apple.com/kb/DL1515

Once Java is installed, then you need to enable it. In your Applications > Utilities folder, you should find the Java Preferences.app. Double click on that, and in the ‘General’ tab, click the enable checkbox at the top (see screenshot above).

Java working! đŸ™‚

%d bloggers like this: