[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 659
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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