‘javac’ is not recognized as an internal or external command help
I type "javac Test.java" .It said " ‘javac’ is not recognized as an internal or external command".When i type java Test,it worked.What happen is that?
Re: ‘javac’ is not recognized as an internal or external command help
you must add the directory containing the java.exe and javac.exe (..\bin) to your PATH environment variable.
Re: ‘javac’ is not recognized as an internal or external command help
Quote:
Originally Posted by
j2me64
you must add the directory containing the java.exe and javac.exe (..\bin) to your PATH environment variable.
Where is path environment variable i can add it?
Re: ‘javac’ is not recognized as an internal or external command help
Re: ‘javac’ is not recognized as an internal or external command help
I'm using windows 7.When i click on New tab,what do i type on Variable name and Variable value?
Re: ‘javac’ is not recognized as an internal or external command help
Quote:
When i click on New tab
What program are you executing?
Re: ‘javac’ is not recognized as an internal or external command help
Quote:
Originally Posted by
Norm
What program are you executing?
i went to set environment variables.
Re: ‘javac’ is not recognized as an internal or external command help
Have you installed the JDK or only the JRE?
db
Re: ‘javac’ is not recognized as an internal or external command help
Re: ‘javac’ is not recognized as an internal or external command help
Now i run javac ok now but i type " java Test".It said " exception in thread main java.lang.noclassdeffounderror ".How to create classpath and class for Java.I run my file from external hard drive.
Re: ‘javac’ is not recognized as an internal or external command help
What is the full text of the error message. It has important info that you have left off.
To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The selection will show
Click in upper left again
Select Edit and click 'Copy'
Paste here.
1 Attachment(s)
Re: ‘javac’ is not recognized as an internal or external command help
Re: ‘javac’ is not recognized as an internal or external command help
What is the full text of the error message. It has important info that you have left off.
I can't copy and paste from an image.
To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The selection will show
Click in upper left again
Select Edit and click 'Copy'
Paste here.