Skip navigation

Java Developer and update 2012-006

770 Views 7 Replies Latest reply: Dec 4, 2012 12:43 AM by baltwo RSS
luisgon Calculating status...
Currently Being Moderated
Nov 7, 2012 9:27 AM

Hi all,

 

I'm not sure if this is the right forum to ask these questions. It its not, please point me to the right one.

 

I'm a software developer and I need to validate a swing application - that runs on a applet - on mac osx (Lion). More specifically I need to make that validation using JRE 6.

 

With the update 2012-006 we are forced to install JRE 7. Fortunatelly we still can use the Apple-provided Java SE applet plug-in by following the steps mention in here.

 

The problem is that this update also removes the Java Preferences application from the Utilities menu which I really need.

 

So, is there any way I can access to that Java Preferences application after this update? How can I set Runtime Parameters for example if I cannot access to the Java Preferences?

 

If there is no way to access to the preferences, where can I find a Apple-provided Java SE version - prior to this update - so I can install it and have the Java Preferences back?

 

At this moment I erased the hard drive so I have the Java Preferences back. The problem is if I try to open it I get a dialog saying "To open 'Java Preferences' you need a Java SE 6 runtime. Would you like to install one now?" and of course, if I reply install, I will get the update 2012-006 back.

 

Any clue of how can I solve this?

 

Thanks in advance

Mac mini, Mac OS X (10.7.5)
  • macjack Level 9 Level 9 (50,445 points)
    Currently Being Moderated
    Nov 7, 2012 9:37 AM (in response to luisgon)

    If you installed Java 7 the preferences should be in your System Preferences under "Other" category.

     

    The last Java update disabled Java plug-in and removed Java Preferences.app from your Utilities folder.

    You can re-enable Java by following this support article

    http://support.apple.com/kb/HT5559

    Or, you can update to Oracle's Java 7 here

    http://www.java.com/en/download/mac_download.jsp?locale=en

  • macjack Level 9 Level 9 (50,445 points)
    Currently Being Moderated
    Nov 8, 2012 5:46 AM (in response to luisgon)

    Yes, it seems that others have run into the same issue. See this thread for possible workarounds on page 3.

    https://discussions.apple.com/thread/4444438.

  • baltwo Level 9 Level 9 (59,180 points)
    Currently Being Moderated
    Nov 8, 2012 5:32 PM (in response to luisgon)

    Check out the Java for Mac FAQs. IIRC, you have to install the SDK.

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.2), G4 450 MP w/Leopard, 9.2.2
  • heilei Level 1 Level 1 (10 points)
    Currently Being Moderated
    Dec 4, 2012 12:29 AM (in response to luisgon)

    Here's another way to re-install just the Java Preferences application, if you happen to have the original Mountain Lion installer app still available:

     

    - right-click "Install OS X Mountain Lion" app in /Applications, and "Show Package Contents"

    - go to Contents/SharedSupport

    - copy "InstallESD.dmg" to a suitable place (f.ex. your Downloads folder)

    - mount the copied disk image; the mounted disk will be "Mac OS X Install ESD"

    - on this disk, go to "Packages"

    - copy "JavaEssentials.pkg" to a suitable place (f.ex. your Downloads folder)

    - use Pacifist or some other similar tool to open and browse JavaEssentials.pkg

    - locate "Java Preferences.app" in /Applications/Utilities and extract it to your local disk

     

    YMMV, but this worked for me.

  • baltwo Level 9 Level 9 (59,180 points)
    Currently Being Moderated
    Dec 4, 2012 12:43 AM (in response to heilei)

    thumbsup.gif

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.2), G4 450 MP w/Leopard, 9.2.2

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.