Arik Shalito wrote:. . . i have to make a gui to my program, Is that true? . . .
For Korn and bash shells, run the following commands:
For the bourne shell, run the following commands:
For the C shell, run the following commands:
setenv JAVA_HOME jdk-install-dir
setenv PATH $JAVA_HOME/bin:$PATH
Start Menu→All Programs→Accessories→Command Prompt
Knute Snortum wrote:. . . If you search for Command Prompt in the start menu . . .
So you're at a command prompt. To set JAVA_HOME for just this session, type
> set JAVA_HOME="C:\Program Files\Java\jdk1.8.0_60"
You should be able to type
> javac -version
and get a version number. Now to set it permanently, type
> setx JAVA_HOME %JAVA_HOME%
at the command prompt. That assumes you installed JDK8u60 in its default location and that you have C as your default drive letter. Then try
set PATH="C:\Program Files\Java\jdk1.8.0_60\bin";%PATH%
Knute Snortum wrote: