•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 426,134 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,755 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 16787 | Replies: 9
![]() |
•
•
Join Date: Jun 2004
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
I have changed the Path Environment Variable for Windows Command Prompt to:
C:\j2sdk1.4.2_04\bin
so why, when I try to run javac while in the code folder directory, do I still get the error message
"javac is not recognized as an internal..."
I was forced to put the path info in at the command prompt before the .java file would compile.
Help.
C:\j2sdk1.4.2_04\bin
so why, when I try to run javac while in the code folder directory, do I still get the error message
"javac is not recognized as an internal..."
I was forced to put the path info in at the command prompt before the .java file would compile.
Help.
•
•
Join Date: Jan 2006
Posts: 20
Reputation:
Rep Power: 3
Solved Threads: 0
First try to locate te bin folder from the windows explorer, and then copy the path to ur environment variable, which you can get by right clicking on My Computer Icon and then to Advanced Tab and then to Environment Variable...
But i think if you install the jre or jdk for jsdk it by default reallocates ur path to c:\\Program Files\Java\j2sdk1.4.2_04\bin
check this out...
Regards...
But i think if you install the jre or jdk for jsdk it by default reallocates ur path to c:\\Program Files\Java\j2sdk1.4.2_04\bin
check this out...
Regards...
•
•
•
•
Originally Posted by tgraves
I have changed the Path Environment Variable for Windows Command Prompt to:
C:\j2sdk1.4.2_04\bin
so why, when I try to run javac while in the code folder directory, do I still get the error message
"javac is not recognized as an internal..."
I was forced to put the path info in at the command prompt before the .java file would compile.
Help.
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,453
Reputation:
Rep Power: 11
Solved Threads: 296
•
•
•
•
Originally Posted by aarti
help with the path for servlets
I'm runnning Tomcat Appache 5.5.15 wth JAVA 1.5.06. To get servlets run on my laptop I only copied and past servlet-api.jar & jsp-api.jar into following directory
C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext
you can find this jar files in tomcat as follow
C:\Tomcat 5.5\common\lib
and to setting path for java, don't forget put on end of path semicolum " ; " or some pc refuse to work with java
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Start your own thread, but that "error" is always that the path is not set (not classpath, path).
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- How to set the path for directory (ASP.NET)
- how i can set class path for j2me (Java)
- I need help with setting up a "Path"...... (Python)
- error applying transforms&I suspect path on startup is not quite right...Please help (Viruses, Spyware and other Nasties)
Other Threads in the Java Forum
- Previous Thread: Display Calculations to a Dialog Box
- Next Thread: Sql + Java



Linear Mode