Alex Rivera | Logout

How to put a jar in classpath in Eclipse?

Asked 2012-07-13T02:30:24.607
47

Hi I am n00b in classpath and Ant. While reading the tutorial of GCM for Android I came across a line

Step 1: Copy the gcm.jar file into your application classpath

To write your Android application, first copy the gcm.jar file from the SDK's gcm-client/dist directory to your application classpath.

I got the gcm.jar from the dist folder. Now how do I put it into my classpath using Eclipse(I think that would be easier)? And where would I make changes if I didnt have Eclipse?

Thnaks

Edit
Report

1 Answer

2

Right click your project in eclipse, build path -> add external jars.

answered 2012-07-13T02:32:29.833

Your Answer