Joined: Wed Dec 08, 2010 12:32 pm Posts: 6 Has thanked: 0 time Have thanks: 0 time
hello...i need ur help as i m not able to run my java in command prompt... actually i have installed java at D:\Program files\Java\jdk1.6\bin...i have xp...i have also set the environment variables path and had done the following.....I was previously working on java programs absolutely fine in command prompt and suddenly this problem arose....so please help me what should i do...as now it is showing that Java or javac is not recognized as internal or external command...it is not even showing its version also...please help...amal3689@rediffmail.com
isuru
Question subject: Re: Java error
Posted: Wed Dec 08, 2010 5:17 pm
Joined: Thu Nov 18, 2010 11:56 am Posts: 49 Has thanked: 0 time Have thanks: 15 time
_________________ Coding my life with Java, PHP, JavaScript, and Python
amal3689
Question subject: Re: Java error
Posted: Wed Dec 08, 2010 5:32 pm
Joined: Wed Dec 08, 2010 12:32 pm Posts: 6 Has thanked: 0 time Have thanks: 0 time
thanks for the help...but i tried that but still the problem is same...please help me out....i will highly thankful.....I have already tried the setting the path this way but unable to get it work....
isuru
Question subject: Re: Java error
Posted: Wed Dec 08, 2010 6:34 pm
Joined: Thu Nov 18, 2010 11:56 am Posts: 49 Has thanked: 0 time Have thanks: 15 time
What kind of error message you get? Check Java Applet work b y this site. http://javatester.org/enabled.html Try installing Java IDE and write your codes and compile... like Netbeans.....
_________________ Coding my life with Java, PHP, JavaScript, and Python
amal3689
Question subject: Re: Java error
Posted: Thu Dec 09, 2010 3:29 pm
Joined: Wed Dec 08, 2010 12:32 pm Posts: 6 Has thanked: 0 time Have thanks: 0 time
thanks for ur cooperation uptill now...i m getting error message like...""java or javac is not recognized as internal or external command"".....during compiling....I m amateur in Java...so learning writing programs in Command prompt therefore dont want to use IDE tools for java.....Please help me by giving a solution in Command Prompt....
isuru
Question subject: Re: Java error
Posted: Thu Dec 09, 2010 4:48 pm
Joined: Thu Nov 18, 2010 11:56 am Posts: 49 Has thanked: 0 time Have thanks: 15 time
In your command prompt write java -version and do you get any messages. -----------------------------------------or-------------------------------------------------------
Open a command prompt, navigate to the bin directory and just type javac. If you get a screen full of options then there's nothing wrong with the install. Also, try using the full path to the javac.exe in your compile command.
_________________ Coding my life with Java, PHP, JavaScript, and Python
amal3689
Question subject: Re: Java error
Posted: Thu Dec 09, 2010 7:15 pm
Joined: Wed Dec 08, 2010 12:32 pm Posts: 6 Has thanked: 0 time Have thanks: 0 time
thanks....i tried as u said but it showing that "java is not not recognized as internal or external command operable program or a batch file"......
isuru
Question subject: Re: Java error
Posted: Fri Dec 10, 2010 2:05 pm
Joined: Thu Nov 18, 2010 11:56 am Posts: 49 Has thanked: 0 time Have thanks: 15 time
Hmmm.... For my knowledge that's all I can think about. Or try to update Java Version or downgrade it. Or reinstall java. Are you Sri Lankan or Indian?
_________________ Coding my life with Java, PHP, JavaScript, and Python
amal3689
Question subject: Re: Java error
Posted: Fri Dec 10, 2010 7:49 pm
Joined: Wed Dec 08, 2010 12:32 pm Posts: 6 Has thanked: 0 time Have thanks: 0 time
well i m indian...y u r asking that and how you'd guessed .....???... I think that i have to unistall it again
isuru
Question subject: Re: Java error
Posted: Sat Dec 11, 2010 3:59 pm
Joined: Thu Nov 18, 2010 11:56 am Posts: 49 Has thanked: 0 time Have thanks: 15 time
Oh! I am Sri Lankan. Most Sri Lankan names similar to you. And Sri Lankans have big relationship with India. Yeah try reinstalling it.
_________________ Coding my life with Java, PHP, JavaScript, and Python