Article View: borland.public.jbuilder.java.language
Article #18111Re: Will JDK1.1 programs be compatible with JDK1.2?
From: David Young
Date: Thu, 06 Aug 1998 00:00
Date: Thu, 06 Aug 1998 00:00
91 lines
4916 bytes
4916 bytes
I am having a similar problem.
After working with JDK1.2 beta 3 for a couple of months with generally good results, I
downloaded beta 4 a couple of weeks ago and had problems immediately because of changes in the
JDK related to the "classes.zip" file. In beta 4, there is none. Instead beta 4 uses a
"rt.jar" file found in the "jre/lib" directory. I found no mention of this major change and
got no help from SUN when I emailed and called them. I was pretty miffed, after three
downloads (all successful) and trying for two days to figure out where I was going wrong, only
to find out that they had failed to warn people.
Anyway, I finally found out about the "rt.jar" file and configured JBuilder to use it. When I
do, JBuilder complains that it can't find some kind of JIT called "javacomp". It continues to
eventually run the app. despite this hiccup. The problems arise when the code starts to run.
For some unfathomable reason, the thing doesn't repaint correctly with the effect that popup
menus have a ghostly transparent appearence and when the menu drops, other objects that had
appeared fine before the popup appeared suddenly disappear only to be repainted if I click on
the spot where they once were visible.
All very strange and annoying enough that I don't want to take the time at this point to try
and figure it out. I've returned to beta 3 for now.
Papadomichelakis John wrote:
> I have not worked with JDK1.2 much.
>
> I downloaded the JRE 1.2 beta 4 from JavaSoft and I discovered that must
> of my programs do not
> work.
> I did not recompile my programs using JDK1.2.
> Is it necessary?
> If it is, then what about the JBCL library which is compiled under
> JDK1.1?
>
> I attached the exception log that I am getting from some programs.
>
> --
>
> Papadomichelakis John
> "Unite for Java! - http://www.javalobby.org"
> __________________________________________________
> email : michelos@freemail.gr
> TEL : 30 31 758 429, 30 31 709 796
> __________________________________________________
>
> ------------------------------------------------------------------------
> Exception occurred during event dispatching:
> java.lang.NullPointerException
> at borland.jbcl.view.GridView.addFocusListener(GridView.java:724)
> at com.sun.java.swing.JComponent.enableSerialization(Compiled Code)
> at com.sun.java.swing.JComponent.<init>(Compiled Code)
> at com.sun.java.swing.JScrollPane.<init>(JScrollPane.java:201)
> at com.sun.java.swing.JScrollPane.<init>(JScrollPane.java:250)
> at borland.jbcl.view.GridView.<init>(GridView.java:47)
> at borland.jbcl.control.GridControl.<init>(GridControl.java:41)
> at JAIMMS.parametric.w_st_lines.<init>(w_st_lines.java:30)
> at JAIMMS.parametric.w_st_lines.show(w_st_lines.java:51)
> at JAIMMS.JAIMMSMan.m_const_lines_actionPerformed(JAIMMSMan.java:233)
> at JAIMMS.JAIMMSMan_m_const_lines_actionAdapter.actionPerformed(JAIMMSMan.java:377)
> at java.awt.MenuItem.processActionEvent(MenuItem.java:438)
> at java.awt.MenuItem.processEvent(MenuItem.java:402)
> at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:189)
> at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:181)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:225)
> at java.awt.EventDispatchThread.run(Compiled Code)
>
> ------------------------------------------------------------------------
>
> John Papadomichelakis <michelos@freemail.gr>
> BIA
>
> John Papadomichelakis
> BIA <michelos@freemail.gr>
> HTML Mail
> 9 Filippou Work: 267 923
> Euosmos Home: 758 429
> Thessaloniki Netscape Conference Address
> 56224 Netscape Conference DLS Server
> Hellas
> Additional Information:
> Last Name Papadomichelakis
> First NameJohn
> Version 2.1
--
------------------------------------------------------------------------------
To thine own self be true. I am truly: David Young
W. Shakespeare dayoung@xmission.com & day@icis-inc.com
------------------------------------------------------------------------------
Technical Details
Message-ID:
<35CA368E.6DDF5F3F@icis-inc.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35C45133.65A1A7C6@freemail.gr>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,31aa7a37233fd3d6 X-Google-Attributes: gidf74b3,public From: David Young <day@icis-inc.com> Subject: Re: Will JDK1.1 programs be compatible with JDK1.2? Date: 1998/08/06 Message-ID: <35CA368E.6DDF5F3F@icis-inc.com> X-Deja-AN: 378659908 Content-Transfer-Encoding: 7bit References: <35C45133.65A1A7C6@freemail.gr> To: Papadomichelakis John <michelos@freemail.gr> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language