Java Preferences won't launch.

After installing java 6, I can no longer run JavaPreferences, it fails to launch with the message
"A static initializer of the main class threw an exception: java.lang.NullPointerException..
my JAVA_HOME is 1.5.0.. the symlinks appear ok (but i'm no expert there)..
I'm stumped, any help greatly appreciated

OK, after panicking a bit I have found the solution to this.
Go to /System/Library/Frameworks/JavaVM.framework/Versions/ and delete 1.6.0 folder and 1.6.
Then download this file:
http://www.cs.washington.edu/homes/isdal/snowleopardworkaround/java.1.5.0-leopard.tar.gz
Decompress the file and you should have a folder named 1.5.0.
Copy that folder to the /System/Library/Frameworks/JavaVM.framework/Versions/ replacing the old one. A window will pop up for version authentication. Click "Authenticate" and replace the old folder with the one from the java.1.5.0-leopard.tar.gz.
Run Java Preferences from Utilities and you are good to go.

Similar Messages

  • Java apps won't run, Java preferences won't launch

    Since the flurry of 2012 updates, Java is completely broken on my Mac Pro.  Java dependent apps don't start and Apple Support says to enable the apps in Java Preferences.
    Nice idea, but Java Preferences WILL NOT LAUNCH either.
    There were plenty of tools to address flashback and they DID NOT break normal day to day operations. 
    I downloaded the package from support to try a reinstallation, but it says "A newer version of Java is already installed" and offers me the option to Close.  No reinstall, nothing.
    Apple support is at it's usual level of service on this issue, completely INVISIBLE.
    What has happened to the Apple I used to know?  If any of the smart folks on this forum have a working solution, please share.  Deleting preferences doesn't do squat btw.
    Thank you.
    Ross

    If you want uninstall latest Java to install a previous version, open Terminal and issue this command
    sudo /usr/libexec/java_home –uninstall

  • Java preferences fails to launch

    I can no longer run JavaPreferences, it fails to launch with the message
    "A static initializer of the main class threw an exception: java.lang.NullPointerException..
    a while ago
    StergUK   gave this anwer, :
    OK, after panicking a bit I have found the solution to this.
    Go to /System/Library/Frameworks/JavaVM.framework/Versions/ and delete 1.6.0 folder and 1.6.
    Then download this file:
    http://www.cs.washington.edu/homes/isdal/snowleopardworkaround/java.1.5.0-leopard.tar.gz
    Decompress the file and you should have a folder named 1.5.0.
    Copy that folder to the /System/Library/Frameworks/JavaVM.framework/Versions/ replacing the old one. A window will pop up for version authentication. Click "Authenticate" and replace the old folder with the one from the java.1.5.0-leopard.tar.gz.
    Run Java Preferences from Utilities and you are good to go.
    I have tried, but I still cannot run Java preference and get the same answer : "A static initializer of the main class threw an exception: java.lang.NullPointerException..
    can anyone help?

    Did you try deleting the .plist file yet?
    Go to ~/Library/Preferences
    Move the com.apple.java.JavaPreferences.plist from the Preferences folder to the Trash.
    Restart your Mac.
    See if you can open Java Prefs.

  • HT200100 Just upgraded to 7.4 and system preferences won't launch. Any suggestions?

    I've just upgraded to Lion 7.4 and the individual system preferences panes won't launch. Any suggestions?

    I am having the same issue. Users folder also seems to be locked.

  • System Preferences Won't Launch, console "bus error"

    This isn't a case of the System Preference not being found, being moved out of the Applications Folder, or anything trivial like that. System Preferences will not launch. This is a clean install of Leopard, and updated to 10.5.8. The error message in console is:
    9/1/10 3:11:45 PM com.apple.launchd74 (0x0-0x18018.com.apple.systempreferences212) Exited abnormally: Bus error
    "The application System Preferences quit unexpectedly." Relaunch doesn't work.

    I have exactly the same problem after having installed 10.5.8.
    I had to do this after not being able to start the machine at all because of (what I believe to be) a bug with Security Update 2010-005. The Archive and Install process did not work.
    This thread should be in "Using Mac OS X Leopard". I found it Googling "Exited abnormally: Bus error".

  • System preferences won't launch

    Hi,
    2011 Core i7 iMac with Lion. Noticed yesterday that system prefs won't launch. No spinning beachball, does absolutely nothing including no launch animation. Read some suggestions on these forums and tried resetting the SMC, followed by booting into disk utilities and doing repair permissions. Then did a reinstall of Lion, again from the disk utilities boot. Not sure if I was at 10.7.3 or 10.7.4 before all this, but reinstall got me back to 10.7.3, updated to 10.7.4, problem persists with both.
    I just noticed this is only with the main admin account. There is one secondary account on the computer that my kids use - if I switch to it I am able to access system prefs.
    Any suggestions? Do I have to archive and install now?

    Have same problem, plus other issues too....
    Have tried doing the restart in safe mode and then go to SysPrefs to Users & Groups, etc...but I can't open the SysPrefs window and when I try to select Users & Groups from the pull-down menu, nothing happens.....
    Also, when I try to search for 'com.apple.systempreferences.plist' file to delete, search does not respond, ie, I don't see that it is searching for anything...
    What started this for me, was when I came back to my MacBook which is hooked up to an external 24" LCD monitor, and tried to wake up the display/MacBook and saw the message on the external monitor "No HDMI Input". So, was trying to figure out why all of a sudden the monitor wouldn't work and went to check SysPrefs....which of course, wouldn't open....
    This is very odd....and frustrating too....
    Any suggestions????
    Thanks for any and all help!

  • System Preferences won't launch from Apple menu in Mac OS X 10.5.8

    Hello there,
    I recently upgraded to 10.6 and then went back to 10.5.5 in a few hours.
    When doing so, I chose to save a folder called "Previous System", as the Installer gave me this option.
    I've upgraded to 10.5.8 via Software Update, after prior 10.5.5 installation through the DVD.
    At some point, I tried to launch the System Preferences through Apple menu and got the familiar message: "The application quit unexpectedly, etc.". Since then it's a recurrent problem. It's been 3 days.
    However, it does open from the dock icon.
    I still have the "Previous System" folder on my disk. I've moved a few things from it to my Library (i.e. some minor applications like Skype, some Desktop items like documents and folders, some photos, music, etc.). I've pretty much started from scratch with everything else - Finder preferences, Wacom tablet driver, etc.
    Any clues? I've seen someone had the same problem with a downgrade from 10.5.8 to 10.4, but it's still a mystery as well.
    Thanks in advance!
    --

    iyacyas wrote:
    Try repairing permissions from Disk utilities...
    Hey iyacyas, thanks for suggesting the disk permissions repair. I tried this, but it didn't work out.
    I'm far from understanding any of this, but I tried to figure somethings out from the Report the crash sends to Apple and I noticed that it's trying to launch the "System Preferences" from the folder "Previous Systems"… gee!
    Here it goes, in their own words:
    Path: /Previous Systems.localized/2010-01-17_1147/Applications/SystemPreferences.app/Contents/M acOS/System Preferences
    Anyone has any ideas how could I fix this? I mean, "tell" the Apple Menu to search for the System Preferences inside my ACTUAL Applications folder?
    Thanks!
    --

  • Java 6u24 won't launch signed JNLP app with classes compiled with JDK 1.4.2

    Anyone else having a problem launching a JNLP app compiled with Java 1.4 using Java 6u24 on the client? Anyone have a Java 1.4-compiled app that does launch with Java 6u24?
    I am, and I have isolated the problem to some change in 6u24's java web start launching logic. The splash screen appears and then javaws just quits with no error. Trace shows it is not getting past checking of the first .jar. My JNLP app, fully signed with CA-issued certificate, when compiled with Java 1.4.2 will not launch on JRE 6u24 (or 6u25-b03). The same exact app launches perfectly fine when it is compiled with JDK 1.5 or 1.6. It is not a signing problem, though it is related to certificate checking logic or a concurrency flaw in javaws' AppPolicy and TrustDecider classes. It is not a host server or network problem as those have been varied with same results. It is not a specific .jar problem as I have varied what is the first .jar with same results. I have eliminated all other variables to find the only difference is what Java version the app is compiled with. Well, all but one other variable - I have not tried with apps other than mine.
    My app is compiled with JDK 1.4.2 so I can still support older platforms. That requirement is going away soon but this is still a regression from 6u23 that is causing a big problem for at least this developer.

    You can try to use the version of the jarsigner JDK 1.5 or later.
    Has changed the management of files in META-INF.
    So compile with 1.4 but sign with 1.5 or later

  • The java preferences won't open Help needed

    Hello im a new mac user and there is a problem with it every time I try to go in to Java Prefrences it starts bouncing but it won't open. Please help.

    yeah but nw the java is Oreacle (don't know if spelled right) but apparently it was mincraft bugging me (I think)
    cause right when id downloaded it it had problems
    thanks for the reply though and the info

  • Software Update + System Preferences won't launch from menu bar

    For some reason, I cannot launch Software Update or System Preferences from the apple menu bar. This happened after I quit Parallels. I can open System Preferences from Applications. I tried launching Software Update from About this Mac, and that didn't work either. Is there something I can do in Terminal?
    Thanks in advance,
    Eric

    Hi Eric, I doubt Terminal would be the way to go.
    Have you done Disk Maintenance with Disk Utility lately?
    Using Disk Utility in Mac OS X 10.4.3 or later to verify or repair disks...
    http://docs.info.apple.com/article.html?artnum=302672
    About Disk Utility's Repair Disk Permissions feature...
    http://docs.info.apple.com/article.html?artnum=25751

  • System Preferences won't launch from Apple Menu

    When I try to launch System Preferences from the Apple Menu, the menubar blinks with a new menu as if launching and then reverts, without completing the launch.
    I can launch System Preferences from the Applications folder.
    I believe this behavior began after I had to force a shutdown. I have fixed preferences and checked the drive with Disk Utility (passed).
    I am guessing that a preference somewhere is corrupted.
    Ideas??

    Although the problem is not the same, please follow the instructions in this support article to reset the Launch Services database. If you don't already have a current backup, back up all data before proceeding. You may have to log out or restart to see a change.

  • When trying to launch a Java preferences get this message:  Cannot launch Java application A static initializer of the main class threw an exception: java.lang.NullPointerException"

    I have an IMac 10.5.8 and I am having problems with Java. I have tried todownload Java for Mac OS X 10.5 Update 4 and it looks as if it is doingsuccessfully, but I cannot see where it has put it and get this message when trying to launch Java preferences:
    Cannotlaunch Java application
    A static initializer of the main class threw an exception:java.lang.NullPointerException"
    Couldyou please help?

    Hmm, only way I know would be a relatively painless Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space and no Disk corruption, and is relatively quick & painless...
    http://docs.info.apple.com/article.html?artnum=107120
    Just be sure to select Preserve Users & Settings.

  • Recently upgraded my Java to Java SE 6 1.6.0_33; now Final Cut Server won't launch due to security restrictions. Help!

    Running OSX 10.6.8, and I received a Software Update notification this morning stating that Java has a security update available. So, being the dilligent updater that I am, I updated to Java SE 6 1.6.0_33. Now Final Cut Server will not launch, stating "Unsigned application requesting unrestricted access to system"
    Is there an exception list somewhere for the Java client to which I can add FCS? (Sorry, I'm not very familiar with Java)
    Here is the launch file and exception info:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
      spec="1.0+"
      codebase="http://192.168.1.103" href="/FinalCutServer/FinalCutServer_mac.jnlp">
      <information>
        <icon kind="default" href="~fcsvr/webstart/FinalCutServer.icns"/>
        <icon kind="shortcut" href="~fcsvr/webstart/FinalCutServer.icns"/>
        <icon kind="splash" href="~fcsvr/webstart/FinalCutServer.png"/>
        <title>Final Cut Server</title>
        <vendor>Apple Inc.</vendor>
        <homepage href="/FinalCutServer"/>
        <description>Final Cut Server</description>
        <description kind="short">Final Cut Server</description>
        <shortcut online="true">
          <desktop/>
          <menu submenu="Apple"/>
        </shortcut>
      </information>
      <security>
          <all-permissions/>
      </security>
      <resources>
        <jar href="/~fcsvr/webstart/FinalCutServer.jar"/>
        <j2se version="1.5*" initial-heap-size="64m" max-heap-size="300m" java-vm-args="-Dapple.awt.graphics.UseQuartz=false"/>
        <j2se version="1.6*" initial-heap-size="64m" max-heap-size="300m" java-vm-args="-Dapple.awt.graphics.UseQuartz=false -d32"/>
        <property name="apple.awt.graphics.UseQuartz" value="false"/>
        <property name="file.encoding" value="UTF-8"/>
      </resources>
      <resources os="Mac OS X" arch="i386">
        <nativelib href="/~fcsvr/webstart/FinalCutServer_MacOSX.jar"/>
      </resources>
      <resources os="Mac OS X" arch="ppc">
        <nativelib href="/~fcsvr/webstart/FinalCutServer_MacOSX.jar"/>
      </resources>
      <application-desc main-class="com.apple.FinalCutServer.javaui.FinalCutServer">
      </application-desc>
    </jnlp>
    JNLPException[category: Security Error : Exception: null : LaunchDesc:
    <jnlp spec="1.0+" codebase="http://192.168.1.103/" href="http://192.168.1.103/FinalCutServer/FinalCutServer_mac.jnlp">
      <information>
        <title>Final Cut Server</title>
        <vendor>Apple Inc.</vendor>
        <homepage href="http://192.168.1.103/FinalCutServer"/>
        <description>Final Cut Server</description>
        <description kind="short">Final Cut Server</description>
        <icon href="http://192.168.1.103/~fcsvr/webstart/FinalCutServer.icns" kind="default"/>
        <icon href="http://192.168.1.103/~fcsvr/webstart/FinalCutServer.icns" kind="shortcut"/>
        <icon href="http://192.168.1.103/~fcsvr/webstart/FinalCutServer.png" kind="splash"/>
        <shortcut online="true">
          <desktop/>
          <menu submenu="Apple"/>
        </shortcut>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="timeout" policy="always"/>
      <resources>
        <jar href="http://192.168.1.103/~fcsvr/webstart/FinalCutServer.jar" download="eager" main="false"/>
        <java initial-heap-size="67108864" max-heap-size="314572800" java-vm-args="-Dapple.awt.graphics.UseQuartz=false" version="1.5*"/>
        <java initial-heap-size="67108864" max-heap-size="314572800" java-vm-args="-Dapple.awt.graphics.UseQuartz=false -d32" version="1.6*"/>
        <property name="apple.awt.graphics.UseQuartz" value="false"/>
        <property name="file.encoding" value="UTF-8"/>
        <nativelib href="http://192.168.1.103/~fcsvr/webstart/FinalCutServer_MacOSX.jar" download="eager" main="false"/>
      </resources>
      <application-desc main-class="com.apple.FinalCutServer.javaui.FinalCutServer"/>
    </jnlp> ]
        at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:16 91)
        at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1507)
        at com.sun.javaws.Launcher.prepareResources(Launcher.java:1281)
        at com.sun.javaws.Launcher.prepareAllResources(Launcher.java:634)
        at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:336)
        at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:208)
        at com.sun.javaws.Launcher.launch(Launcher.java:125)
        at com.sun.javaws.Main.launchApp(Main.java:451)
        at com.sun.javaws.Main.continueInSecureThread(Main.java:283)
        at com.sun.javaws.Main$1.run(Main.java:116)
        at java.lang.Thread.run(Thread.java:680)

    Aha! I was able to solve the problem thanks to the help of another editor.
    Open Java Preferences (Applications > Utilities)
    Click the check box on the first page to allow web applets
    Under the security tab, there will be an existing Security Certificate (signed by Apple Inc.) that is likely for FCSvr. Delete the certificate.
    Open FCSvr again, and Java will prompt you as to allow it or not. Click Allow and tell it to remember for future use.
    Badabing, badaboom! FCSvr is back up and running!
    (Note this is for client-side only)

  • Help - Safari won't open it just bounces, installed Java 2012-04 but java preferences is not picking it up

    I''m new to the MacBook, I've got a late 2007 model running Lion 10.7.  I installed iLife and removed some junk (software installed from previous user that was not properly licensed) then tried to open Safari.  The icon just bounced and I got the error Safari quit unexpectedly.  I downloaded the new Java that should fix the Flashback Malware issue (I did this because in the log it stated that garbage collection was turned off) onto my thumb drive, installed it on the Mac, opened Java Preferences and it only lists the 32 and 64 bit Java SE6.  So now what???

    Right or control click the Safari app in the Applications folder then click Get Info.
    For Version. If you see 5.1.6 or 5.1.7 updating to Safari 6 may help. Apple has not posted a standalone Safari 6 intaller but there is a workaround.
    Click here >  Safari Quits Every Time Opened: Apple Support Communities
    Then click the link posted by:  gregoryfromcork
    That will automatically download this file >  Safari6Lion.pkg.download
    Now quit Safari.
    Go to your Downloads folder and double click that file and follow the instructions for installing.
    Then restart your Mac, try Safari.

  • ICloud preference pane won't launch

    The skinny:
    MacBook Air (circa 2011) running OS X 10.7.5 – can not get iCloud preference pane to launch; results in endless spinning beach ball and eventual forced quit. Also notice that Mail preferences hangs (this, after trying to access the Accounts tab). Both System Pref. and Mail will launch and run after forced quit, but will again hang.
    Everything seems to function o.k., but I notice that my iCal events are not syncing to iPhone, iPad, or other laptop (MacBook Pro running 10.8). Haven't changed settings on MacBook Air.
    Any leads welcome!

    One thought that I have is that you need to repair your "login Keychain" using the Keychain Access application (/Applications/Utilities/Keychain Access).
    If you don't know, the Mac "Keychain" is responsible for securely storing all sorts of credentials and passwords for you such as your iCloud login, Mail accounts, and WiFi passwords to name a few.  It does this behind the scenes on your behalf so that you don't need to reenter your passwords ever time you open Mail for example.  If, for some reason your login keychain becomes corrupted, then connections and logins to all sorts of things stop working.
    Apple provides an easy way to check your keychain for corruption and repair it if necessary.  It's called Keychain First Aid.  Try this:
    Open "Applications "> "Utilities" > "Keychain Access"
    Click the "Keychain Access" menu > "Keychain First Aid"
    Type in your password
    Select the "Repair" toggle option
    Click the "Start" button
    When it's done, note the result.  If it ends with:  "No problems found ... Verification completed" then it didn't find any problems.  If is says otherwise, then post back here.  If is says that it repaired anything, then try the preference panes again and see if there is any improvement.

Maybe you are looking for