Link to home
Start Free TrialLog in
Avatar of hunky_sh
hunky_sh

asked on

java installation

Hi all,

would appreciate quick help with this small issue pls for you experts..

i was trying to install jdk on my pc here at work which was owned by sombody else intially..
i am not administrator of this m/c, neither was he..

when I do to cmd prompt (win2k), and type java -version

i get this mesg
Error: could not open `J:\apps_pub\jbld4020\jdk1.3\jre\lib\jvm.cfg'

i installed it in c: drive ..

and even changed my path to

C:\jdk1.3.1_13\bin

then also getting same mesg if i do java -version fro any directory (like c:\hunky_sh dir)


below is whole path:

C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\apps_pub\orac8720\bin;C:\ap
ps_pub\Bloomb~\blp\api\dde;C:\apps_pub\Bloomb~\blp\api;C:\apps_pub\reup5541;C:\apps_pub\reup554\comlogin;.;C:\jdk1.3.1_\bin;C:\commands;C:\apps_pub\Sybase\
ocnt1252\OCS-12_5\BIN;C:\apps_pub\Sybase\ocnt1252\OCS-12_5\DLL;C:\apps_pub\bsys2
021;.

I cud not find anything pointing to j drive for java in path..

don't know why it is tryign to find java in j drives..


any ideas where to look at and how to change it?

Thanks and Regards
Avatar of kiranhk
kiranhk

hI
You can check out for the java path in the Registry. you can search for the path in the local system folder of your registry and modify it there.

hope this helps.

kiran
Avatar of hunky_sh

ASKER

How to change the registry path.. can u please explain.. i am not sure how to do it
I guess your java installation is corrupt: uninstall it and re-install it again.
;JOOP!
I dont think so.. why wud u think hava installtion is corrupt>?
any ideas when i am doing java -version, why would it be looking in J DRIVE.. where can be this setting ??
if that is your path above there is an error, should be C:\jdk1.3.1_13\bin; not C:\jdk1.3.1_\bin in the path, also have this in the path
C:\jdk1.3.1_13;  my personal experience is that the path needs both.
ASKER CERTIFIED SOLUTION
Avatar of kiranhk
kiranhk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
got it, problem was with registry setting in java run time, got it fixed..

Thank you
So after all ..... your java installation WAS corrupt!

;JOOP!