Question:
how to solve problem of path specification in java?
Dinesh
2013-02-13 02:08:23 UTC
C:\>cd jdk1.5.0\bin

when i write this in command prompt, the following error is occurring :-
The system cannot find the path specified.

How to solve this?
Three answers:
Devang
2013-02-13 02:14:25 UTC
u can go to the folder where java was insatalled then copy pase the path from adress bar...



i think u r missing "programfiles" in the path..

or u can set the path by in prompt(cmd)

>path=c:\jdk 1.5.0\bin
mmstander2
2013-02-13 02:28:07 UTC
Whenever unsure of a path in prompt...



write cd and the beginning letter(s) of the folder you expect to go to, prompt will fill in the rest if it exists within the folder.



tab could be pressed multiple times for multiple folders starting with similar beginnings.
2016-11-06 06:52:23 UTC
attempt this (this might or won't artwork): Goto the administration Panel and open your Java administration Panel.click on the JAVA Tab and then click VIEW decrease than JAVA application RUNTIME SETTINGS. With the hot window opened, verify to be certain if the previous JDK a million.5 is listed and do away with it whether it quite is. additionally, make beneficial that JDK a million.4 has it quite is ENABLED container checked. close out the Java administration Panel and restart your laptop then attempt your command lower back. If this would not artwork, then you definately'll could set the path for Java to show to the right itemizing. Your atmosphere variables could seem resembling this (replace your version for the version shown here protecting in suggestions that each and every time you notice a be conscious this is CAPITALIZED, that shows the start of a sparkling line. the path=/h/jdk/bin:.: variable is broken up here and can be one non-supply up string): atmosphere Variables: JAVA_HOME=/h/jdk course=/h/jdk/bin:.:/h/bin:/usr/bin:/usr... /exe:/usr/dist/exe:/bin:/usr/sbin:/usr... /usr/dt/bin:/usr/openwin/bin:/usr/sbin... USERNAME=person LD_LIBRARY_PATH=/h/jdk1.5/jre/lib/i386... jre/../lib/i386:/h/bugs/NativeSEGV SHELL=/bin/tcsh show=:0.0 HOSTTYPE=i386-linux OSTYPE=linux ARCH=Linux MACHTYPE=i386 wish this helps.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...