473,387 Members | 1,569 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,387 software developers and data experts.

Java using xp giving error

Hello Sir My problem is in dos giving error that javac is not recognised.Tell me the steps for debugging.I have already set the CLASSPTH through command line & also set the PATH.But still giving error.Java is installed in the foolowing path->>
C:\Program Files\jdk1.5
I have already set the following classpath in xp (start->Settings->control Panel->system->Environment Variable->click on new button->variable name:CLASSPATH and Variable Value as:
%classpath%;.;C:\Program Files\jdk1.5.0_04\lib;C:\Program Files\jdk1.5.0_04\lib\tools.jar;C:\Program Files\jdk1.5.0_04\lib\dt.jar;E:\java;
Clicked on ok


then after that i go to command promt (Start->Run->cmd->click on ok)
I have set the path as follows-

set path =%PATH%;C:\Program Files\jdk1.5\bin;.;

Still its not working What should I do?

Plz Reply as early as possible
Aug 27 '07 #1
1 1455
r035198x
13,262 8TB
Hello Sir My problem is in dos giving error that javac is not recognised.Tell me the steps for debugging.I have already set the CLASSPTH through command line & also set the PATH.But still giving error.Java is installed in the foolowing path->>
C:\Program Files\jdk1.5
I have already set the following classpath in xp (start->Settings->control Panel->system->Environment Variable->click on new button->variable name:CLASSPATH and Variable Value as:
%classpath%;.;C:\Program Files\jdk1.5.0_04\lib;C:\Program Files\jdk1.5.0_04\lib\tools.jar;C:\Program Files\jdk1.5.0_04\lib\dt.jar;E:\java;
Clicked on ok


then after that i go to command promt (Start->Run->cmd->click on ok)
I have set the path as follows-

set path =%PATH%;C:\Program Files\jdk1.5\bin;.;

Still its not working What should I do?

Plz Reply as early as possible
Add the Java bin directory path to the Windows path envirinment variable and restart your computer after that.

Edit: Moved to Java forum
Aug 27 '07 #2

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

Similar topics

10
by: Alex Gerdemann | last post by:
Hello, I have spent a bunch of time converting a Java program I wrote to C++ in order to improve performance, and have found that it is not necessarily faster. Specifically, I'm writing a...
2
by: Kent Lewandowski | last post by:
hi all, Recently I wrote some stored procedures using java jdbc code (admittedly my first stab) and then tried to implement the same within java packages (for code reuse). I encountered...
0
by: r035198x | last post by:
Inheritance We have already covered one important concept of object-oriented programming, namely encapsulation, in the previous article. These articles are not articles on object oriented...
1
by: shalini jain | last post by:
Hi all, I am very new to java and have a very limited knowledge about this. i am stuck at one problem which is really druving me crazy.. The problem is : I have written a code wherein I...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.