More info: if you follow these steps, you'll need to re-add javaws.jar and 
plugin.jar to your classpath, and you may find that you are unable to do so. 
These files formerly existed in the following directory:

/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib

Now they are symlinks to:

/System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/plugin.jar

and: 

/System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/javaws.jar

where /System/Library/Frameworks/JavaVM.framework/Resources/ is a symlink to:

/System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources

which itself is a symlink to:

/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/Contents/Resources/Java

I am unable to add them to my JVM classpath in Eclipse because the file open 
dialog a) does not let me select the symlinked files and b) does not let me 
browse into Deploy.bundle. I filed another bug to Apple about this.

If anyone has any suggestions, please let me know. Thanks.

G
 

On Thursday, June 18, 2009, at 10:54AM, "Greg Brown" <[email protected]> wrote:
>FYI, I found a workaround to the Eclipse problem - just wanted to pass it 
>along in case anyone else runs into this:
>
>- 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
>
> 
>On Wednesday, June 17, 2009, at 03:53PM, "Greg Brown" <[email protected]> wrote:
>>FYI, this only appears to affect execution in Eclipse. Running the  
>>sample from the command line works OK.
>>
>>On Jun 17, 2009, at 3:51 PM, Greg Brown wrote:
>>
>>> Hi all,
>>>
>>> I'm running into a problem after updating to the latest Java version  
>>> on OS X. It doesn't affect most Pivot development, but it does break  
>>> the JFreeChart-based charting provider. I get this exception at  
>>> application startup:
>>>
>>> Exception in thread "main" java.lang.NoClassDefFoundError: apple/laf/ 
>>> CoreUIControl
>>>
>>> This class appears to be missing in the latest update. A simple test  
>>> case will reproduce it:
>>>
>>> import javax.swing.JButton;
>>>
>>> public class CoreUIControl {
>>>    public static void main(String[] args) {
>>>        new JButton();
>>>    }
>>> }
>>>
>>> I also can no longer edit the properties for JVM 1.6.0 in the  
>>> "Installed JREs" preferences in Eclipse.
>>>
>>> I'm planning to file a bug to Apple - is anyone else seeing this  
>>> problem?
>>>
>>> G
>>>
>>
>>
>>
>

Reply via email to