Steven Desair

Greenhorn
+ Follow
since Feb 27, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Steven Desair

Thank you very much for all the tips.

I'm sure I've downloaded the JDK package. It seems that it only installed the JRE (if that is possible).

For now, I'm happy with the working JDK 6.
12 years ago
Success !

C:\Users\Steven>javac -version
javac 1.6.0_31

Instead of the JDK 7, I installed JDK 6 which does to what is expected.

Many thanks for the replies and the guidelines,

Steven
12 years ago
Thanks for your quick response (and the welcome ;) )

I've went through the FAQ step by step, but hit a wall when trying to check my configuration.I did decide to install it to c:\Java\.
12 years ago
I'm having problems checking whether my JDK is configured properly. I found this discussion (https://coderanch.com/t/525422/java/java/Issues-checking-JDK-configured-properly) but I've started a new thread because I believe that it might have something to do with JDK 7 vs JDK 6.

This is what I've done so far.

-downloaded jdk-7u3-windows-x64 (which is around 90 mb);
-system variables: JAVA_HOME C:\Java\jre7 & Path %JAVA_HOME%\bin; placed at the beginning of the Variable value field ;

when in command prompt:
javac -version: gives error "'javac' is not recognized as an internal or external command, operable program or batch file "

java -version:
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)

in C:\Java\jre7\bin:

There is no javac.exe. This will probably be the problem, but I don't understand why it isn't there. I've downloaded SDK (double checked this).

Is this a problem which occurs because of my choice of JDK 7. Should I try to download JDK 6 instead?

Many thanks in advance,

Steven
12 years ago