- This topic has 5 replies, 2 voices, and was last updated 17 years, 7 months ago by
Loyal Water.
-
AuthorPosts
-
true_atlantisMemberSo i was having difficulties installing myeclipse with Ubuntu’s version of Eclipse (3.2), so i manually installed Eclipse 3.3 and have added MyEclipse.
After the update, my projects have massive amounts of errors due to the fact that eclipse cannot find/see common libraries like junit, jaxme, and log4j. They are all in the same place ‘/usr/share/java’ and i feel like this directory should be part of a default classpath.
Is there a way for eclipse/java in general to know that most libraries are in /usr/share/java? If not, how did Ubuntus version of eclipse not generate the same errors, and knew where these libraries were?
Thanks.
November 15, 2007 at 11:39 am #278623
Loyal WaterMemberUser libs are an Eclipse Platform feature, so ME should see them just fine… also they are stored in the workspace.
Did you modify your workspace? Like create a new one, or try and drag one from Windows over to Linux? (in which case all the paths will be totally invalid)
Is there a way for eclipse/java in general to know that most libraries are in /usr/share/java?
You can create a user library with all the common jars and add this to the Java Build Path.
November 16, 2007 at 9:43 am #278677
true_atlantisMemberI had done all development in Linux, and did not change any paths. I did completely wipe out my old/Ubuntu version of Eclipse. It seems like it had some sort of configuration that searched a directory for specific jars, like junit,jaxme, log4j.
My whole point is, before, with the Ubuntu version, i did not have to include any extra jars to the project, yet, now with the 3.3 version, i do. I just want to get back to how it was before but using 3.3
I see what your saying with user libraries, but i have a jar with all the libraries in it, that is added to the user libraries, yet still getting the errors. I have a screen shot, but nowhere to host.
November 19, 2007 at 7:23 am #278705
Loyal WaterMemberCan click “Post Reply” at the bottom of the page and upload the screen shot.
Also, paste the information from the <workspace>/.metadata/.log file here for me.
November 21, 2007 at 10:42 am #278842
true_atlantisMemberi dont see anywhere that will allow me to upload something…
November 21, 2007 at 11:52 am #278856
Loyal WaterMemberThis is the button I was referring to. You have an Add Attachment option at the bottom.
Attachments:
You must be logged in to view attached files. -
AuthorPosts