Java යනු මෑත කාලයේ ඉතාම ජනප්රිය Programming Language ය. නමුත් එය භාවිතා කිරීමට නම් ඔබගේ පරිගණකයේ JDK toolkit ස්ථාපනය කල යුතුය. ඉන් පසු settings පහත පරිදි සකස් කල යුතුය.
To use the java and javac command in command prompt you have to edit these settings.
Right Click On My Computer-> Advanced System Settings->Environment Variables .
There Go to System Variables.
Check There is variable named as path.
Then click on that and click the edit button.
Then check these address contains to your java installation Folder.
If isn't go to java installation folder and go to jdktoolkit folder(Ex jdk1.6.0_01) and go to bin folder.
Then Copy the address of your folder from address bar.
Then Paste that address at last of the path vribale and put ; at last.
Then click Save.
Then check there is a variable named classpath.
if there is no such a variable, click on new.
Then enter classpath as name;
Enter .; as the value of that variable.
That will make java and java c commands enabled.
To use the java and javac command in command prompt you have to edit these settings.
Right Click On My Computer-> Advanced System Settings->Environment Variables .
There Go to System Variables.
Check There is variable named as path.
Then click on that and click the edit button.
Then check these address contains to your java installation Folder.
If isn't go to java installation folder and go to jdktoolkit folder(Ex jdk1.6.0_01) and go to bin folder.
Then Copy the address of your folder from address bar.
Then Paste that address at last of the path vribale and put ; at last.
Then click Save.
Then check there is a variable named classpath.
if there is no such a variable, click on new.
Then enter classpath as name;
Enter .; as the value of that variable.
That will make java and java c commands enabled.
No comments:
Post a Comment