Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Java error

Wed Dec 08, 2010 12:35 pm

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 [email protected]



Re: Java error

Wed Dec 08, 2010 5:17 pm

You have to set the classpath of java!
Here a visual guide to set up the classpath -
Code:
http://codedrop.blogspot.com/2010/08/visual-guide-to-set-up-classpath-in.html


Re: Java error

Wed Dec 08, 2010 5:32 pm

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....

Re: Java error

Wed Dec 08, 2010 6:34 pm

What kind of error message you get?
Check Java Applet work b y this site.
Code:
http://javatester.org/enabled.html

Try installing Java IDE and write your codes and compile... like Netbeans.....

Re: Java error

Thu Dec 09, 2010 3:29 pm

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....

Re: Java error

Thu Dec 09, 2010 4:48 pm

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.

Re: Java error

Thu Dec 09, 2010 7:15 pm

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"......

Re: Java error

Fri Dec 10, 2010 2:05 pm

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?

Re: Java error

Fri Dec 10, 2010 7:49 pm

well i m indian...y u r asking that and how you'd guessed .....???...
I think that i have to unistall it again

Re: Java error

Sat Dec 11, 2010 3:59 pm

Oh! I am Sri Lankan. Most Sri Lankan names similar to you. And Sri Lankans have big relationship with India.
Yeah try reinstalling it.

Post a reply
  Related Posts  to : Java error
 Java download error     -  
 Error 500: java.lang.NoClassDefFoundError: org.apache.common     -  
 ERROR     -  
 Deliberate Error     -  
 Check DNS error     -  
 skymiles error     -  
 error in code     -  
 Understanding PHP error messages     -  
 error in inserting record     -  
 File Uploding Error in asp.net     -