-1

I have installed Java development kit 8 on my Windows 64-bit hp pavilion laptop. I deleted system variable path and created a user variable path and set the value to C:\Program Files\Java\jre1.8.0_60\bin.

But I can't run javac on command prompt. How can I run java development kit 8?

I have watched many videos and read a few suggestion on this website but nothing is working for me.

maytham-ɯɐɥʇʎɐɯ
  • 21,551
  • 10
  • 85
  • 103

2 Answers2

3

You have installed a JRE, not a JDK. The JRE is just the bare minimum and does not include "javac".

Download a JDK instead and repeat what you did.

Thorbjørn Ravn Andersen
  • 68,906
  • 28
  • 171
  • 323
-1

Add java root folder\bin to System Variable path and it will work. Why delete the PATH variable should have appended it

vjalex
  • 43
  • 2
  • 13