Total members 11892 |It is currently Fri Oct 18, 2024 1:28 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka



Go to page 1, 2  Next


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]




Author:
Newbie
User avatar Posts: 6
Have thanks: 0 time

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


_________________
Coding my life with Java, PHP, JavaScript, and Python


Author:
Newbie
User avatar Posts: 39
Have thanks: 15 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....


Author:
Newbie
User avatar Posts: 6
Have thanks: 0 time

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

_________________
Coding my life with Java, PHP, JavaScript, and Python


Author:
Newbie
User avatar Posts: 39
Have thanks: 15 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....


Author:
Newbie
User avatar Posts: 6
Have thanks: 0 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


Author:
Newbie
User avatar Posts: 39
Have thanks: 15 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"......


Author:
Newbie
User avatar Posts: 6
Have thanks: 0 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


Author:
Newbie
User avatar Posts: 39
Have thanks: 15 time

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


Author:
Newbie
User avatar Posts: 6
Have thanks: 0 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


Author:
Newbie
User avatar Posts: 39
Have thanks: 15 time
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

  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     -  
 Error handling in AJAX     -  
 Invalid Argument error in IE7     -  
 AJAX SYNTAX ERROR IE     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com