(Answer) (Category) FAQ-O-Matic : (Category) General :
I have two projects open. One builds a jar file with the other references through a required library definition. Whenever I rebuild the jar project, the other project gets an IOexception saying the jar is corrupt. What's going on?
JBuilder, at least on some platforms, holds jar files open past execution. I don't know if this is JBuilder doing this deliberately, or the JVM.

This problem can also happen when you have two projects open, and one project references jars built by the other. If you go back to the project which owns the jars and attempt to rebuild, JBuilder can corrupt the jars due to the other project still having the jar files open.

The application runs just as well by reading the individual class files direct from disk, and that's what I do until I'm doing the final builds for customers. (I'll have the project create the jars, as you do, but I don't define them as required libraries, I let it use the class files.)
2002-Feb-13 2:51pm gyles19@visi.com

[Append to This Answer]
2002-Mar-19 10:48am
Previous: (Answer) I have a Pentium 4 and am having difficulty with JBuilder and other Java applicaitons.
Next: (Answer) How do I ask questions the smart way?
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=352
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

Java Community
Java Tools
Code Central
JB OpenTools
Community
Recent
Threads
Borland Chat
Chat FAQ
Feature Matrices
3.0 |  3.5 |  4.0
5.0 |  6.0 |  7.0
Shop for
JBuilder
JBuilder
Downloads
and reg keys
Report Piracy
Online Manuals
4.0 |  5.0 |  6.0
7.0
Borland
DevSupport's
Bug/RFE Form

Quality Central Client
JB Patches &
Updates
JBuilder FAQs TIs
JBuilder
Newsgroups
Tamaracka's
News Archive
Mr. Haki's
JBuilder Machine
JGuru's
JBuilder FAQ
Sun's Bug
Parade
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]