Total members 10261 | Gratitudes |It is currently Wed May 23, 2012 8:56 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 13 posts ]  Go to page 1, 2  Next
Author Question
 Question subject: Java error
PostPosted: Wed Dec 08, 2010 12:35 pm 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Java error
PostPosted: Wed Dec 08, 2010 5:17 pm 
Offline
Newbie
User avatar

Joined: Thu Nov 18, 2010 11:56 am
Posts: 49
Has thanked: 0 time
Have thanks: 15 time
You have to set the classpath of java!
Here a visual guide to set up the classpath - http://codedrop.blogspot.com/2010/08/vi ... th-in.html

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


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Java error
PostPosted: Wed Dec 08, 2010 5:32 pm 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Java error
PostPosted: Wed Dec 08, 2010 6:34 pm 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Java error
PostPosted: Thu Dec 09, 2010 3:29 pm 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Java error
PostPosted: Thu Dec 09, 2010 4:48 pm 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Java error
PostPosted: Thu Dec 09, 2010 7:15 pm 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Java error
PostPosted: Fri Dec 10, 2010 2:05 pm 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Java error
PostPosted: Fri Dec 10, 2010 7:49 pm 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Java error
PostPosted: Sat Dec 11, 2010 3:59 pm 
Offline
Newbie
User avatar

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


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 13 posts ]  Go to page 1, 2  Next
Quick reply


  

 Similar topics
 video chat application in java
 navigating to database using java
 java mobile apps
 need help in java
 Read your gmail using Java code
 Java Programing to communicating port parallel
 HELP :Novel error tolerant method AES for satelite imgaes
 Java Chat
 Steganography in java
 java code for listing folder contents from remote folder

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 3 guests



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team