Article View: borland.public.jbuilder.java.api
Article #3544Re: Another problem with JBuilder and JDK
From: Andrew Bennett
Date: Mon, 01 Dec 1997 00:00
Date: Mon, 01 Dec 1997 00:00
52 lines
2655 bytes
2655 bytes
Patrik Oscarsson wrote: > I just read through the messages regarding which version of JDK that > JBuilder was using. > I have a problem that might be related to that. In my projects properties I > have put the classpath to be the Java that is shipped with JBuilder > (jbuilder/java/lib/classes.zip) and I think that this should work. Since I > can't reship the standard jbcl classes I also included the redist zip-files > in the project classpath. Now, as far as I can see, everything should just > work fine. But it doesn't. When I compile I get the following error: > > "[c:\program\jbuilder\src\jbcl-src.zip]\borland\jbcl\io\FastBufferedOutputSt > ream.java > Error: [58] constructor FilterOutputStream(java.io.OutputStram) not found > in class java.io.FilterOutputStream > Error: [98] method write(byte[], int, int) not found in class > java.io.OutputStream > Error: [111] method write(byte[], int, int) not found in class > java.io.OutputStream > Error: [112] method flush() not found in java.io.OutputStream " > > The lines in the classpath of the project are: > c:\projekt\myprojekt\lib > c:\program\jbuilder\redist\jbcl-rt.zip > c:\program\jbuilder\redist\jclass.zip > c:\program\jbuilder\redist\jgl.zip > c:\program\jbuilder\java\lib\classes.zip > > My first question is: Why does it compile a whole lot of code that I havn't > written? Isn't these classes in the zip-files?? > Second: Why do I get these errors? Shouldn't JBuilder be able to compile > using the files that it is shipped with?? > Third: Why have the standard classes (jbcl etc) at all when you can't ship > them with your applications? Why don't just use the redist/* zip-files? > > Answers would be highly appreciated. Don't use the redist\*.* files in your project's classpath, as those are pulled and checked at compile time. Instead, use the ones in \jbuilder\lib\ Use the redist files only when you distribute your app. Andrew -- Andrew Bennett -> abennett@borland.com JBuilder info -> http://www.borland.com/jbuilder/ JBuilder newsgroups info -> http://www.borland.com/newsgroups/ **** Please don't post a reply AND send email. Do one. I'll see it. ****
Technical Details
Message-ID:
<34830C74.E04B9C40@borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<65uojl$18f2@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,535b1bb8a661b393 X-Google-Attributes: gid1089d0,public From: Andrew Bennett <abennett@borland.com> Subject: Re: Another problem with JBuilder and JDK Date: 1997/12/01 Message-ID: <34830C74.E04B9C40@borland.com> X-Deja-AN: 294277321 References: <65uojl$18f2@forums.borland.com> Organization: None Newsgroups: borland.public.jbuilder.java.api