aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Not able to add external jar file into java project in eclipse through buildpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Not able to add external jar file into java project in eclipse through buildpath" Watch "Not able to add external jar file into java project in eclipse through buildpath" New topic
Author

Not able to add external jar file into java project in eclipse through buildpath

Mani Raju
Ranch Hand

Joined: Oct 09, 2012
Posts: 46
I tried to add new external jar file xalan-2.7.1.jar through build path in eclipse but i am getting error " in your project .classpath is read only". After that alert i didn't find my jar file in project. I tried changed the permissions of .classpath file in project , but it does not allow to change permissions.
And one more thing is ".classpath" file is hidden in my project.
I need to import this jar file into my project , it is allowing to add but i could n't find that jar file in extjars location in my project. Still i am facing the same problem.

Anyone could help to resolve this issue.

Thanks in advance.
Mansukhdeep Thind
Ranch Hand

Joined: Jul 27, 2010
Posts: 1157

Sounds like an access related issue to me. Are you able to manually modify the .classpath file?


~ Mansukh
Mani Raju
Ranch Hand

Joined: Oct 09, 2012
Posts: 46
Yes, It is access related problem of .classpath file in my project and i did checkout for this file. Now it is allowing to add external jar files into my project through build path in eclipse.

Thanks.
Mansukhdeep Thind
Ranch Hand

Joined: Jul 27, 2010
Posts: 1157

Mani Raju wrote:Yes, It is access related problem of .classpath file in my project and i did checkout for this file. Now it is allowing to add external jar files into my project through build path in eclipse.

Thanks.


Do you mean this .classpath file is a registered SCM source file? What do you mean when you say ".. I did a checkout of this file"?
 
jQuery in Action, 2nd edition
 
subject: Not able to add external jar file into java project in eclipse through buildpath