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\W bem;C:\app s_pub\orac 8720\bin;C :\ap
ps_pub\Bloomb~\blp\api\dde ;C:\apps_p ub\Bloomb~ \blp\api;C :\apps_pub \reup5541; C:\apps_pu b\reup554\ comlogin;. ;C:\jdk1.3 .1_\bin;C: \commands; C:\apps_pu b\Sybase\
ocnt1252\OCS-12_5\BIN;C:\a pps_pub\Sy base\ocnt1 252\OCS-12 _5\DLL;C:\ apps_pub\b sys2
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
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
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
ps_pub\Bloomb~\blp\api\dde
ocnt1252\OCS-12_5\BIN;C:\a
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
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!
;JOOP!
ASKER
I dont think so.. why wud u think hava installtion is corrupt>?
ASKER
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.
C:\jdk1.3.1_13; my personal experience is that the path needs both.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
got it, problem was with registry setting in java run time, got it fixed..
Thank you
Thank you
So after all ..... your java installation WAS corrupt!
;JOOP!
;JOOP!
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