Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JBuilder 2005 & Java 1.5?



Michael Rogers wrote:

I've just upgraded Java to 1.5 release 4, and JBuilder 2005 Foundation, which had been working fine with 1.4.2,  has stopped working.  It freezes at the splash screen, and the following is displayed in the console:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/crimson/jaxp/DocumentBuilderFactoryImpl

This exception should have been resolved with the most recent developer preview of Java 1.5.


 (After updating to JBuilder 2005 update 4)
First, when I run JBuilder I now get this error:  Exception in thread "main" java.lang.NoSuchMethodError: java.awt.Window.isAlwaysOnTop()Z
Since isAlwaysOnTop() is new for 1.5,  I presume means that JBuilder is stuck on 1.5.

This is because JBuilder 2005 update 4 adds Borland's own implementations of the AWT classes (java.awt.*, and some javax.swing classes) based on 1.4.2 to the bootclasspath. At the same time, JBuilder uses a custom launcher which always loads the VM using the CurrentJDK link. Since the VM is still running 1.5.0, and peers are still 1.5.0, but the actual AWT classes are 1.4.2, you get this exception. 

This should be reported to JBuilder as a bug; either they should not ship their own copies of java.awt.Window (etc), or their launcher should force 1.4.2 instead of going through CurrentJDK.

Karl

--


Ever been down South? 

After a few days in the South, you begin to miss things, little things like English and front teeth.


Homepage:

     http://homepage.mac.com/khsu/index.html


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >JBuilder 2005 & Java 1.5? (From: Michael Rogers <email@hidden>)
 >Re: JBuilder 2005 & Java 1.5? (From: "frank.hossfeld" <email@hidden>)
 >Re: JBuilder 2005 & Java 1.5? (From: Michael Rogers <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.