AquaLookAndFeel is failing after last Java update ?

After the last Java security update our programs failed during getting the
available Look & Feels:
Example program:
package tw.test.laf;
import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
public class LafTest {
public static void main(String[] args) {
LookAndFeelInfo[] laf = UIManager.getInstalledLookAndFeels();
Exeption:
Exception in thread "main" java.lang.NoClassDefFoundError: apple/laf/CoreUIControl
at com.apple.laf.AquaLookAndFeel$1.run(AquaLookAndFeel.java:123)
at java.security.AccessController.doPrivileged(Native Method)*
at com.apple.laf.AquaLookAndFeel.initialize(AquaLookAndFeel.java:120)*
at javax.swing.UIManager.setLookAndFeel(UIManager.java:544)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:589)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1351)
at javax.swing.UIManager.initialize(UIManager.java:1440)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1428)
at javax.swing.UIManager.getInstalledLookAndFeels(UIManager.java:429)
at tw.test.laf.LafTest.main(LafTest.java:9)
(Running from Eclipse)
Any tip why this happens ?
Should I submit a bug ?

Greg Brown was sending me also a workaround:
Original messages follows:
OK, I found a workaround:
- Create a new 1.6.0 JVM in Eclipse (I called it "1.6.0x")
- Delete the old 1.6.0 JVM
- Re-create the 1.6.0 JVM as a copy of 1.6.0x
- Delete the 1.6.0x JVM
These steps worked for me. I tried to post this as a reply to your discussion thread, but for some reason I can't create an account on discussions.apple.com (even though I already have a valid Apple ID).
Good luck,
Greg
Thanks to all folks for solving this,
bye,
Thomas

Similar Messages

  • JFileChooser stop working after last Java update

    I actually program using JDK1.4.2.
    My programs worked all ok till last Java update. Now, when I try to create an instance of JFileChooser, programs loop infinitely, causing CPU overall.
    Simple program like this:
    import javax.swing.*;
    public class JFC2 {
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    System.out.println("New instance");
                    JFileChooser fileChooser = new JFileChooser();
                    System.out.println("This string never appears");
    }The string "This string never appears", like its content, never appears.
    I found an old bug report about this bug, but it refers to applications lauched by a shortcut. This case is different: the application doesn't work anyway.
    Is there any solution? Any information about that?
    Thanks a lot.
    Edited by: LeleFT on Oct 24, 2007 2:56 AM

    Not a Java problem

  • Bluetooth failed after last OS Update

    After the last OS update 10.7.3 on my Powerbook Pro, bluetooth failed on both Trackpad and Apple Mouse. It connects and then disconnects. Anysolutions out there?

        catnfran,
    I'm sorry to hear that you have been experiencing this issue with your Bluetooth feature! Updates are meant to offer enhancements.
    Based on our findings, with the new update, making this change manually would be the recommend option. If needed, we can attempt to master reset the device http://vz.to/1d1KPN1 to see if this helps resolve this particular concern.
    EfrainM_VZW
    Follow us on Twitter @VZWSupport

  • IWork (Pages) does not work after last system update!

    since some days (after last system update) iWork programms are not starting any more!
    macosx 10.7.5 new update
    solution atemd: cancel p-ram and p-list, re-installing iwork from DVD and update it from http://support.apple.com/kb/DL1563
    macbookpro 2.53 ghz intel core 2 duo, 8 gb ram
    any body an idea what i can do to fix it?

    hi - i think you should not use 'xhost +' - it's not secure and you shouldn't need it....
    in your .bashrc or .cshrc or whatever, you should have setenv DISPLAY .0 or the equivalent export...
    then ssh -Y hostname should be all you need... no xhost, and not setting DISPLAY every time...
    could you enter the following command from a terminal window and post back the results?
    grep X11 /etc/ssh*_config
    cheers

  • After last automatic update, error message XUL Runner error platform version '6.0.2' is not compatible with minVersion 6.0.1. maxVersion 6.0.1. I am unable to open Mozilla Firefox at all. Had to use Explorer to ask this question!

    After last automatic update, error message XUL Runner error platform version 6.0.2. is not compatible with min Version 6.0.1 maxVersion 6.0.1 appeared every time I try to open/run Mozilla Firefox.

    See:
    *[[/questions/869812]]
    *[[/questions/869951]]

  • After last iPhoto update I find Pages documents in photo files

    After last IPhoto update 9.3.1, files from Pages are showing up in my photo files. How can I fix his ? Also bought Apeture 3 from App Store . C

    I did delete them. Just wonder how/why they showed up. Hope hey stay away. Thanks.

  • Cannot access internet through itunes after last itunes update. Cannot get to itunes store or itunes help. Everything else works fine.

    After last itunes update I cannot get to the internet through itunes. Cannot get to itunes store, itunes help, etc. Also, now when I sync everything syncs properly but I get message at end that tells me that my phone cannot be backed up on the laptop.

    Something may be corrupt in your iTunes installation. The backup problem may or may not be related. The first step is reboot your system, disable your antivirus and firewall and try again. The next thing to try is completely removing iTunes and reinstalling: http://support.apple.com/kb/HT1925.
    Also, if you used TinyUmbrella or Recboot as unauthorized apps to help with the update they corrupted your network settings on your computer. You will have to edit your hosts file and remove all references to Apple servers.

  • After last iTunes update 3 days ago, my iPod doesn`t sync with my iTunes. What should I do?  :(

    After last iTunes update 3 days ago, my iPod doesn`t sync with my iTunes. What should I do? 
    Regards,
    Gisele

    Try:                                               
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • Matlab font issues after installing Java Update 2

    Hey everyone,
    I am a scientist and I use the program Matlab to prepare plots for papers, presentations, etc. I am already a little annoyed that when running matlab on mac there are issues of text content cut off in the figures. More importantly after the java update 2 the matlab font looks HUGE. If you change the font setting, it will look normal, but sometimes shift the text. Does anyone know how to fix this? Matlab provided a fix for the R2008 version, but nothing for the R2007 version. This program is so important to me and my work, I may have to move back to Microsoft or Linux in order to have MatLab produce the plots I need.
    Please let me know if there is an efficient way to fix this problem.
    Thanks,
    Casey

    Hi clamarche,
    I have the same problem on my dual quad-core MacPro after updating Java to Java Update 3. All of my font settings were reset. However when I change the font from 12 pt to say 10pt the cursor moves as if the 12 pt font is still used so it does not line up with any characters once a few characters into the line.
    I have tried removing all of my preferences and global matlab preferences, but no luck. I have not applied the Java Update 3 to my 17" MacBookPro as to avoid this problem. What version of Matlab are you using? I have R2007b.
    As for text being cut-off from your plots, I have found a small but important note to do with the '-r' option for the print command. On the Mac OS X platform, for some unknown reason you should always set the resolution to '-r72'. This has fixed the problem for me. I had the same problem when saving figures as png's that were to be used later to make an animation. All of the scaling was funny until I set the resolution to 72.
    I am hoping that I can find as solution. Maybe clearing the Java preferences, where ever they may be.
    Regards ...
    Horror

  • CD Tray open automatically after last Security Update

    when I start up or restart Mymac Pro CD Tray open automatically after last Security Update. Also I could not reinstall Mac OS Tiger because CD Tray open automatically every start up or restart. What's happen? Somebody help me! Please~

    Hi.
    If you have a USB keyboard and mouse, try unplugging them and then restart. If you have a Bluetooth set, remove the batteries and restart.
    See what happens.
    Good Luck.

  • Cannot start mac mini coreduo after last security update

    Hi,
    after last security update mac mini cannot see anymore the new 7200 rpm hddisk which worked like a charm since that…
    When try to boot now I see only a question mark folder…
    I can fix permissions via dvd, I can see the mac mini disk if i connet via firewire to another mac,
    but cannot boot from it…
    tried a kind of tech tool test: it seems that I've got a huge amount of corrupted .plist files…
    How could that happen?
    does it mean that it's not an hardware issue?
    should I reinstall snow?
    help me please

    tmma.a wrote:
    I thought that erasing was formatting as well;
    no, it's not. there is probably something wrong with the partition map of the drive which is why your mac firmware does not recognize it as a boot drive when you restart. simply erasing the drive won't fix it. reformatting might.
    anyway I'm reinstalling now, if doesn't work will try reformatting too…

  • Firefox extension: "TrueSuite 5.2.500.16" stopped working after last firefox update (30.0), even though about:plugin says it's enabled. Any fix to make it work?

    Firefox extension: "TrueSuite 5.2.500.16" stopped working after last firefox update (30.0), even though about:plugin says it's enabled.
    i tried resetting firefox and look for similar problems, unfortunately didn't find anything.
    also there's weird blank space before address in address bar
    other extensions and addons seem to be running fine.

    jscher2000, i tried that, i thought it didnt work before, it's just that this time i accidentally closed (and thus restarted) firefox and it worked, thanks man

  • IE 11 links open to Blank page after last Window update

    IE 11 links open to Blank page after last Window update, I tried every trouble shooting and suggestions I could find in all forums but to no avail.
    Operating system Win 8.
    will try any suggestions and report back.

    Hi,
    Not sure whether you have tried these methods, if yes, keep trying the others.
    1.Run IE with no add-ons firstly.
    Click Start -> All Programs -> Accessories -> System Tools -> Internet Explorer (with no add-ons).
    If works, please follow the steps to narrow down which add-on cause the issue.
    Start IE>Press Alt to show the menu bar>On the Tools menu, click manage add-ons>under show, click All add-ons>disable half add-ons one time for quick narrow down>restart IE.
    2.Try resetting IE.
    Start IE>Press Alt to show the menu bar>On the Tools menu, click Internet options>Advance>Reset>restart IE.
    3. This is caused due to some registry problems occurred. To resolve this issue, follow the below steps:
    Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
    Type regsvr32 actxprxy.dll in the Open box, and then click OK.
    If the command was successfully executed, you will receive the message ‘DllRegisterServer in actxprxy.dll succeeded’ window.
    Restart the Internet Explorer
    4.if still not work, run system restore.
    Start>type system restore in the search box>click system restore>follow the steps in the wizard to choose a restore point.
    For more information, please see:
    Nothing happens when you click a link in Internet Explorer
    http://support.microsoft.com/kb/175775/en-us#method4
    Hope this helps,
    Ada Liu
    TechNet Community Support

  • Call fails after last update

    Can anyone help me, after the last update from Apple to my iphone 3g I get call fail after call fail. It is getting embarassing at work where I rolled these phone out.

    Standard troubleshooting is
    1)Reset: reset your iPhone by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    2)Restore as new or from backup: see page 141 of the manual for details...http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
    Note the last sentence of the Restore paragraph... "In iTunes, you can also restore from a backup without deleting data stored on iPhone."
    Message was edited by: paulcb

  • SOLVED Key board and mouse fail after last update

    Both my wireless keyboard and mouse failed after I updated yesterday. I'm using KNOPPIX to post they both work with knoppix so its not a hardware problem.
    KDE 4.1
    Logitech keyboard and mouse
    Last edited by normc (2008-11-08 00:05:37)

    Thanks a lot
    Just want to add that I had to edit grub at start up and add "single" at the end of the kernel line.
    The reason is that switching to runlevel 3 didn't work for me.

Maybe you are looking for

  • "Preview and Print " report extension in Order Management

    Looking for help on how to add extra information to this report.. I did setup the profile to implement the how to implement PrintExtensionObject interface with method getPrintExtensionXMLFragment.... and created the class file and compiled on Java_to

  • Error message in trying to use local content in Adobe Community Help of Flash Builder

    Hi, I have set my Adobe Community Help application preferences of Flash Builder to 'Display local content only'.to Yes. I also disabled my internet connection to use local help content only. I get the following error message when trying to access any

  • CO down payment update is active in controlling area , How to Deactivate?

    Q1) CO down payment update is active in controlling area , How to Deactivate the same? I am trying to post,vendor Downpayment in F-48, it is aking for Maintain default cost element in controlling area . Is that required?

  • I tunes wont install ive tried a lot of things

    Im trying to update itunes. at first it immediatly claimed that drive J:\ was non existent. i fixed this in command prompt and it now starts to install just fine for about 5 mins when it tells me that drive J is too long. What the **** is it talking

  • Help!my website is working only on IE!

    hey, i have a flash website for jewelry but for some reason it works only on internet explorer! the entrence page (which has only a few pictures changing and the option of choosing what language you wish to open the site with) is not working at all i