Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eclipse quit working (SOLVED!)



Hmmm...  (this time I bottom posted, too).

On Thursday, January 19, 2006, at 10:23AM, Andre Weinand <email@hidden> wrote:

>At 9:01 Uhr -0800 19.1.2006, Duane and Julie wrote:
>
>>The offending file turned out to be 'gnujaxp.jar' in my 
>>~/Library/Java/Extensions directory.  Without knowing the internals 
>>of Eclipse I can't think of any other way I could have solved this 
>>problem.
>>
>>Is this a bug?  It was there because another application required 
>>it.  I don't know right now which application that is, but if I 
>>still use it, I'm sure it will crash as well, for the opposite 
>>reason, sometime in the future.
>>
>>Is someone at Eclipse seeing this group?
>
>Yes.

Excellent!

>
>>Does anyone know how to avoid library conflicts?
>
>Yes, don't install Java libraries in a global place like 
>~/Library/Java/Extensions.
>They might affect all Java programs is sometimes strange and hard to 
>debug ways.

This leads to a question about developing using Eclipse:  I put libraries I need for my applications in that location so that Eclipse can find them easily.  It sounds like I should be putting them in a different location and then adding them as external jars for each project.  This seems like it could lead to having multiple copies of possibly different versions of jars scattered all over the place.

I'm not really an application developer, I write scientific programs for research.  I'm beginning to suspect that there is a methodology I should have been using that would avoid this problem.  What is the 'right way' to handle external libraries, especially if I'm creating my own libraries?  Can I put jars in jars?  In Eclipse?

>
>>Is there any way a better error message could have been generated?
>
>no, I don't think so.
>--andre

Thanks for the enlightenment,

   duane
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Eclipse quit working (From: Greg Guerin <email@hidden>)
 >Re: Eclipse quit working (SOLVED!) (From: Duane and Julie <email@hidden>)
 >Re: Eclipse quit working (SOLVED!) (From: Andre Weinand <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.