Results 1 to 1 of 1

Thread: Classpath Issues [Resolved]

Threaded View

  1. #1

    Thread Starter
    Addicted Member MethadoneBoy's Avatar
    Join Date
    Oct 2001
    Location
    Preferably somewhere between Keira Knightley and Diane Kruger but I'm not fussy
    Posts
    180

    Resolved Classpath Issues [Resolved]

    Hi guys,

    I've installed Java on a few machines before but I'm trying to do so on a new PC (OS - Windows XP) and I'm having a few difficulties setting the classpath.

    This is what the relevant file structure looks like -

    C: -> Program Files -> Java -> jdk1.5.0_02

    My classes are here -

    C: -> Program Files -> Java -> Java Classes

    In the Environment Variables section in System I've set the PATH variable to this -

    PATH = [...irrelevant stuff...]C:\Java\jdk1.5.0_02\bin;

    and CLASSPATH to this -

    %CLASSPATH%;C:\Java\jdk1.5.0_02\lib;C:\Program Files\Java\Java Classes;

    But whenever I try to compile any classes, the machine tells me 'javac' is not recognised....

    The javac file is DEFINITELY in the 'bin' directory so I don't know what the problem might be. Any help you guys can give me would be massively appreciated.

    Thanks



    EDIT: Resolved thanks to the very able plenderj
    Last edited by NoteMe; Mar 23rd, 2005 at 08:14 AM.
    "'Oh, hello Mr. Crick! What do you think of Jeffrey Archer?' Clip-clip-clip! Oh, come on! Who are you kidding? You wait til I'm mayor, you'll see how tough I am! Christ almighty...."

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