Results 1 to 5 of 5

Thread: [RESOLVED] JDK Install Issue!

  1. #1

    Thread Starter
    Hyperactive Member Olly79's Avatar
    Join Date
    May 2005
    Posts
    264

    Resolved [RESOLVED] JDK Install Issue!

    Hi all:

    Just wondering if someone could help me with the following: When installing Java2, I have entered the command prompt: EDIT C:\AUTOEXEC.BAT, entered the following commands: PATH C:\JDK\BIN;C:\JDK’%PATH%; Then I entered the following line below the PATH statement: SET CLASSPATH = C:\JDK\JRE\LIB\RT.JAR;.; saved changes and restarted computer. In order to verify that installation was successful I have entered the following: javac However I met with the following result: ‘javac’ is not recognized as an internal or external command, operable program or batch file.

    Therefore I have not been able to execute any program statements! Can anyone advice me on where I’m going wrong?

    Many thanks

    Olly

  2. #2
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    2,024

    Re: JDK Install Issue!

    Hi,

    Try putting an equal sign after path...I assume your OS is Windows 98 right?

    PATH = C:\JDK\BIN;C:\JDK’%PATH%;

    Greg
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal | Programming
    Projects: GitHub | jsFiddle
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  3. #3

    Thread Starter
    Hyperactive Member Olly79's Avatar
    Join Date
    May 2005
    Posts
    264

    Re: JDK Install Issue!

    Hi:

    No I'm running XP, thus the issue!

    Can you advise on correct installation running XP as the install notes I have relate to 98! I have experimented with environment varibles in System Settings, however this also has proved unsuccessful.

    Thanks

    Oliver

  4. #4
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    2,024

    Re: JDK Install Issue!

    hI,

    As far as I have known, you should put the path variable in autoexec.bat if your OS is windows 9x...For windows xp/2000 OS you should manipulate the evnironment variables..

    When you experimented the environment variables, you should have manipulated the variable path in the system variables..

    Most installation for windows xp relates to system variables in your environment variables...

    You may try referriing to this thread Post #2

    http://www.vbforums.com/showthread.php?t=405111

    Greg
    Last edited by KGComputers; May 20th, 2006 at 03:52 AM.
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal | Programming
    Projects: GitHub | jsFiddle
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  5. #5

    Thread Starter
    Hyperactive Member Olly79's Avatar
    Join Date
    May 2005
    Posts
    264

    Re: JDK Install Issue!

    For some reason the JDK install didn't specify jdk 1.4.2! when it installed on C:\ therefore when I created a user variable: PATH C:\jdk\bin all worked well.

    Thanks for help, as the only reference material I had for installation related to Win 95/98.

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