Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2007
    Posts
    11
    Rep Power
    0

    Default problem with PATH

    I have set PATH in
    My Computer rt click -> properties -> advanced -> Environment variables

    But always when I open cmd.exe and try to execute my java program I am unable to execute. everytime I shld set path by using
    c:\java>set PATH="c:\java\jdk..\bin"

    What shld I do

  2. #2
    JavaBean's Avatar
    JavaBean is offline Moderator
    Join Date
    May 2007
    Posts
    1,270
    Rep Power
    9

    Default

    It should work. Paste your PATH environment variable and the path where Java installed.

  3. #3
    Join Date
    Jun 2007
    Posts
    11
    Rep Power
    0

    Default

    This is path C:\Program Files\Java\jdk1.6.0\bin
    and java is also installed here C:\Program Files\Java\

  4. #4
    JavaBean's Avatar
    JavaBean is offline Moderator
    Join Date
    May 2007
    Posts
    1,270
    Rep Power
    9

    Default

    Try C:\Progra~1\Java\jdk1.6.0\bin instead of C:\Program Files\Java\jdk1.6.0\bin

  5. #5
    Join Date
    Jun 2007
    Posts
    11
    Rep Power
    0

    Default

    There is a clash between the oracle jre path and java path now I solved it thanx

Similar Threads

  1. trying to get class name & path
    By sandor in forum New To Java
    Replies: 4
    Last Post: 08-12-2008, 02:38 PM
  2. Specify path
    By borgrodrick in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 12:03 AM
  3. Log4J.jar in class path
    By eva in forum New To Java
    Replies: 0
    Last Post: 01-02-2008, 07:39 PM
  4. Setting Java Path
    By bugger in forum New To Java
    Replies: 2
    Last Post: 11-22-2007, 10:48 AM
  5. Specifying absolute path in web.xml
    By Felissa in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-05-2007, 07:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •