• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 660
  • Last Modified:

Eclipse Path Error

HI experts,

can anyone tell me what going wrong with me in my JSP pages. I'm Eclipse for JSP and Servlet: My Content Name is: MSquaredWeb

When using this path its working fine.
"c:/java/MSquaredWeb/stylesheets/LiveResourceTree.xsl"    or  "../../java/MSquaredWeb/stylesheets/LiveResourceTree.xsl"


When Using: "./MSquaredWeb/stylesheets/LiveResourceTree.xsl"
Looking for: "C:\Program Files\eclipse\MSquaredWeb\stylesheets\LiveResourceTree.xsl" (The system cannot find the path specified)

When Using: "./stylesheets/LiveResourceTree.xsl"
Looking for: C:\Program Files\eclipse\stylesheets\LiveResourceTree.xsl (The system cannot find the path specified)

I tried with all other paths but all error... plz help. how to set path without specifing c:/.... ????

Regards,
Hyd
0
princehyderabad
Asked:
princehyderabad
1 Solution
 
cheekycjCommented:
i believe it is looking for either an absolute path or relative path to your root.

your root seems to be: C:\Program Files\eclipse

either change the root dir or one of the two approaches you had (relative/absolute)

CJ
0
 
ss_pCommented:
Hi

You have to change the classpath variables.

In Eclipse

In the menu go to windows then preference then java then class path variables

There is a variable known as ECLIPSE_HOME which actually points to C:\Program Files\eclipse.

If you change this to c:\

i think it will work

Expecting to hear from you

prasaannaa



0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now