Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mani Raju
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1158
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like an access related issue to me. Are you able to manually modify the .classpath file?
 
Mani Raju
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1158
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic