Article View: borland.public.jbuilder.java.language
Article #19189Re: Running with JDK 1.1.5 classes
From: Rich Wilkman
Date: Thu, 05 Mar 1998 00:00
Date: Thu, 05 Mar 1998 00:00
70 lines
2936 bytes
2936 bytes
Wilf: You'll need to compile and run from a DOS box set up to *only* see the JDK 1.1.5 stuff to get to the heart of the matter. -Rich Wilf Reedijk wrote: > > I am writing an application which uses another class library which I > believe has only been tested with JDK 1.1.5 (or at least something > later than 1.1.2). When I try to run it with the classes.zip > provided with JBuilder 1.0, I get the following message... > > > Exception occurred during event dispatching: > java.lang.InternalError: Converter malfunction (UTF8) -- please send > a bug report to java-io@java.sun.com > at > java.io.InputStreamReader.malfunction(InputStreamReader.java:119) > at > java.io.InputStreamReader.convertInto(InputStreamReader.java:133) > > > etc ... > > > If I switch my classpath to point to a JDK 1.1.5 classes.zip (which > I know I'm not supposed to do), The program actually gets a bit > further before crashing ... > > > > Exception occurred during event dispatching: > java.lang.UnsatisfiedLinkError: needsConversion > at sun.awt.windows.WFontMetrics.getMFStringWidth(Compiled Code) > at sun.awt.windows.WFontMetrics.charsWidth(Compiled Code) > at sun.awt.windows.WFontMetrics.stringWidth(Compiled Code) > at borland.jbcl.view.TextItemPainter.getPreferredSize(Compiled > Code) > > etc... > > > This program runs just fine if I compile and run it outside of the > JBuilder IDE - i.e. using plain JDK 1.1.5, but I would like to use > JBuilder to further develop and debug it. The problem must have > something to do with incompatible JVMs. So the question is "How do I > develop applications that use a class library which was created > using a higher level of JDK than the one provided with JBuilder?" > > Thanks > Wilf Reedijk > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<34FED3BC.63E54475@corp.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34FE5181.D8BC306B@rogers.wave.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,3c5e8b04752b73de X-Google-Attributes: gidf74b3,public X-Google-Thread: fa3e3,3c5e8b04752b73de X-Google-Attributes: gidfa3e3,public From: Rich Wilkman <rwilkman@corp.borland.com> Subject: Re: Running with JDK 1.1.5 classes Date: 1998/03/05 Message-ID: <34FED3BC.63E54475@corp.borland.com> X-Deja-AN: 331122467 Content-Transfer-Encoding: 7bit References: <34FE5181.D8BC306B@rogers.wave.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.ide