PDA

Click to See Complete Forum and Search --> : [RESOLVED] JDK Install Issue!


Olly79
May 18th, 2006, 01:15 PM
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

KGComputers
May 19th, 2006, 11:00 AM
Hi,

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

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

Greg :) :) :)

Olly79
May 19th, 2006, 11:10 AM
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

KGComputers
May 20th, 2006, 03:48 AM
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 :) :) :)

Olly79
May 21st, 2006, 04:08 AM
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.