Clicky

I added the Classpath Varibles 'PROJ_HOME' in the project at eclipse platform.

and I want to use 'PROJ_HOME' path at Runtime .

How can I pick it up??

Thanks in advance

asked 08/30/2011 02:54

gamjaradio's gravatar image

gamjaradio ♦♦


5 Answers:
select "Java Build Path" in the properties dialog.
click "Libraries" tab
click "Add Variable" button
select the variable and say "Ok"

make sure you defined the variable in eclipse!
link

answered

ksivananth's gravatar image

ksivananth

In Eclipse you add dependencies to the project.
You right-click ptrojerct inthe prokect navigator and then
select BuildPath-Configure build path and
add all jars and class libraries which youy need

Taht would add it to compilation , execution and everything
link

answered 2011-08-29 at 23:59:06

for_yan's gravatar image

for_yan

in my project , I have an Image and want it to be loaded.

but even though I added Variable in Libraries tab, I can not load it.

The img path always in the Eclipse path , not in my project path.

Why is this happened?
link

answered 2011-08-30 at 00:01:35

gamjaradio's gravatar image

gamjaradio

image doesn't need to be in classpath, you just need to know where it is stored, then you can load the image from that path
link

answered 2011-08-30 at 00:07:02

gurvinder372's gravatar image

gurvinder372

link

answered 2011-08-30 at 01:17:15

for_yan's gravatar image

for_yan

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

Asked: 08/30/2011 02:54

Seen: 290 times

Last updated: 09/11/2011 03:41