Article View: borland.public.jbuilder.java.language
Article #19185Running with JDK 1.1.5 classes
From: Wilf Reedijk
Date: Wed, 04 Mar 1998 00:00
Date: Wed, 04 Mar 1998 00:00
100 lines
4382 bytes
4382 bytes
--------------04792E119DCDB32D8BA495EC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------04792E119DCDB32D8BA495EC Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <HTML> 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... <BR><TT></TT> <TT></TT> <P><TT>Exception occurred during event dispatching:</TT> <BR><TT>java.lang.InternalError: Converter malfunction (UTF8) -- please send a bug report to java-io@java.sun.com</TT> <BR><TT> at java.io.InputStreamReader.malfunction(InputStreamReader.java:119)</TT> <BR><TT> at java.io.InputStreamReader.convertInto(InputStreamReader.java:133)</TT> <BR><TT></TT> <TT></TT> <P><TT>etc ...</TT> <BR><TT></TT> <TT></TT> <P>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 ... <BR><TT></TT> <BR><TT></TT> <TT></TT> <P><TT>Exception occurred during event dispatching:</TT> <BR><TT>java.lang.UnsatisfiedLinkError: needsConversion</TT> <BR><TT> at sun.awt.windows.WFontMetrics.getMFStringWidth(Compiled Code)</TT> <BR><TT> at sun.awt.windows.WFontMetrics.charsWidth(Compiled Code)</TT> <BR><TT> at sun.awt.windows.WFontMetrics.stringWidth(Compiled Code)</TT> <BR><TT> at borland.jbcl.view.TextItemPainter.getPreferredSize(Compiled Code)</TT><TT></TT> <P><TT>etc...</TT> <BR><TT></TT> <TT></TT> <P>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?" <P>Thanks <BR>Wilf Reedijk <BR> </HTML> --------------04792E119DCDB32D8BA495EC--
Technical Details
Message-ID:
<34FE5181.D8BC306B@rogers.wave.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa3e3,3c5e8b04752b73de,start X-Google-Attributes: gidfa3e3,public X-Google-Thread: f74b3,3c5e8b04752b73de,start X-Google-Attributes: gidf74b3,public From: Wilf Reedijk <wilfr@rogers.wave.ca> Subject: Running with JDK 1.1.5 classes Date: 1998/03/04 Message-ID: <34FE5181.D8BC306B@rogers.wave.ca> X-Deja-AN: 331004593 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------04792E119DCDB32D8BA495EC" Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.ide