473,394 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Hello World trouble

I keep getting the error "javac" is not recognized as an internal or external command, operable program or batch file.

I have heard I need to make a path, but I don't understand how. I know how to get to the window though.
Aug 20 '08 #1
6 1332
r035198x
13,262 8TB
Once you get to the 'window' then the environment variable called PATH needs to be edited so that it also includes the bin folder of your JDK installation.
Aug 20 '08 #2
ajos
283 100+
I keep getting the error "javac" is not recognized as an internal or external command, operable program or batch file.

I have heard I need to make a path, but I don't understand how. I know how to get to the window though.
Yes, thats a classpath issue. You need to do a google search on how to set the class path for java. Heres a start google

and sun docs

regards,

ajos
Aug 20 '08 #3
r035198x
13,262 8TB
Yes, thats a classpath issue. You need to do a google search on how to set the class path for java. Heres a start google

and sun docs

regards,

ajos
Not exactly. classpath != PATH.
classpath needs to point to classes/jars needed by a specific application/class.
PATH needs to point to the location of your JDK's bin folder.
Aug 20 '08 #4
I don't understnad what to what for the class path.
Aug 20 '08 #5
JosAH
11,448 Expert 8TB
I don't understnad what to what for the class path.
You don't have to do anything for your classpath (yet); first you have to set your
'path' environment variable to be able to run your java compiler javac or java itself.

If you don't know how to do it, read a manual that explains these OS basics first.
This has nothing to do with Java, it is just a simple environment setting.

kind regards,

Jos
Aug 20 '08 #6
BigDaddyLH
1,216 Expert 1GB
How to update the PATH variable (Windows): http://java.sun.com/javase/6/webnote...ml#Environment
Aug 20 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: RC | last post by:
Hello World, I am try do call a JavaScript function from XSLT, but I got function not avaible error. See "????" below. Would someone out there tell me how? Thank Q! <xsl:stylesheet...
14
by: | last post by:
Hello World!
8
by: vijay | last post by:
Hello, As the subject suggests, I need to print the string in the reverse order. I made the following program: # include<stdio.h> struct llnode { char *info;
2
by: Bell, Kevin | last post by:
I'm trying to get an idea of how packages work and I've read about it in the Py Tutorial and Nutshell, but I'm still craving a concrete example that I can poke through. Does anyone have a really...
4
by: arnuld | last post by:
i am learning C and doing the exercise 1-1 of K&R2, where K&R ask to remove some parts of programme and experiment with error, so here i go: #include <stdio.h> int main () { printf('hello...
0
by: C.W.Holeman II | last post by:
As K&R state the hardest part is getting a first instance to work. So I am looking for a "hello, world!" example for adding an additional element to an XHTML file. <html> <head><title>Hello,...
8
by: Jim Anderson | last post by:
It's been a few years since I have programmed in C++. I'm starting to develop some programs in C++ and I can't get "Hello, World" working yet. It looks to me like 'cout' in the std library is not...
1
by: James T. Dennis | last post by:
You'd think that using things like gettext would be easy. Superficially it seems well documented in the Library Reference(*). However, it can be surprisingly difficult to get the external details...
11
by: cj | last post by:
Perhaps someone knows how to do this. When I open a new ASP.NET web service application in VS 2008, it opens with a simple Hello World web service already written. I want to see this work. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.