Results 1 to 6 of 6

Thread: setting classpath{resolved}

  1. #1

    Thread Starter
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Resolved setting classpath{resolved}

    I uninstalled jdk 1.4 because I have 1.5. I didn't see a need in keeping 1.4 but now I wish I had of because I am getting the error "javac is not recognized as a blah blah blah". The environment variables are the same as they were before, So why is this not working now?
    Last edited by System_Error; Nov 24th, 2004 at 05:28 PM.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    What about your PATH variable? Does it point to the new JDK? By default, 1.5 will install itself into a differnt directory (jdk-1.5.0 if I'm not mistaken) than 1.4 (where the latest version went into jdk-1.4.2). Thus, if your environment variables truly are exactly the same as before, it obviously won't work.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111
    I'm so stupid. I didn't even think about that.

  4. #4

    Thread Starter
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111
    OK. I reset it to the new directory and it's not working. I'll give my enviro variables and maybe you can help:

    Classpath: .;%classpath%.;.;C\Program Files\Java\jdk1.5.0\lib\tools.jar


    Path: C:\Program Files\Java\jdk1.5.0

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Path: C:\Program Files\Java\jdk1.5.0\bin
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6

    Thread Starter
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111
    Thanks. I can't believe I left something off that obvious!

Posting Permissions

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



Click Here to Expand Forum to Full Width