Question:
Ive installed java on my pc but havin problems runnin the compiler!! plz help!!?
Stu J
2009-10-13 08:31:10 UTC
im havin problems on the command prompt runnin the java compiler.. ive got a folder in the C: with my java programs in it.. but im unable to run any of them because its comin up with a error message saying tht its unrecognised...any help would be great thnx
Three answers:
Sumant K
2009-10-13 08:52:52 UTC
You need to set a ENVIRONMENT Variables to your java installation folder..

You need to set your in two ways.



1) PATH :- this will set your compilation path



step 1: goto Start--> Control Panel --> click on System

step 2: In the System Properties, click on the Advanced tab--> and click on the Environment Variables button in the bottom

step 3: In the Environment Variables , goto the system variable..

select the PATH and edit. You will be opened a popup with Edit System variables--> in the variable value .. add semicoln (;) and add your java installed bin location like (C:\Program Files\Java\jdk1.6.0_16\bin)

step 4:- Click ok to close all windows.



2) CLASSPATH :- this will set your run path



Follow the above steps through 2 and in third step you need to open CLASSPATH and edit. You will be opened a popup with Edit System variables--> in the variable value .. add semicoln (;) and add your java installed lib location like (C:\Program Files\Java\jdk1.6.0_16\lib)

step 4:- Click ok to close all windows.





All d best
?
2016-10-21 14:36:18 UTC
At our college we basically switched from JBuilder to Eclipse. Its like JBuilder, yet no longer this variety of hog. the pupils like it. we even have available, for persons preferring to do command line, emacs. and a few use JCreator, which i in my view do in assessment to for beginners. Eclipse helps the guy to have a drop down menu on an identical time as employing the scope operator..a available component. i think of with plenty to undergo in suggestions, why could desire to desire to you'll be able to desire to undergo in suggestions the outstanding spelling of a means etc... All are loose downloads. books; i would not spend a dime until ultimately I knew what the instructor become going to word. I even have found optimal use the e book as a handbook and not in any respect particularly study it. So, between the e book and the cyber information superhighway and class, you'll be able to desire to be valuable. sturdy fulfillment
anonymous
2009-10-13 08:39:59 UTC
The java compiler comes with the Java SDK, not the JRE. Make sure you have the SDK and not the JRE version.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...