Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I delete the old folders after updating JDK

Windows 8.1, JDK 1.8.0_25;

Everytime I update the JDK, it creates a new folder followed by version number in my installation path. After several times, now there're 4 of them, each takes more than 300MB disk space. What's inside seems to be the same except the version.

I wanna know, can I delete these old folders after updating ?

Now my installation path looks like this:(can't post image, lack of reputation)

C:\Program Files\Java

- jdk1.8.0_05    2014/7/5
- jdk1.8.0_11    2014/7/23
- jdk1.8.0_20    2014/9/1 
- jdk1.8.0_25    2014/10/19
- jre1.8.0_20    2014/10/19
- jre1.8.0_25    2014/10/19
like image 618
Washington Hua Avatar asked Nov 01 '22 15:11

Washington Hua


1 Answers

Yes you can delete everything except - jdk1.8.0_25 2014/10/19 and - jre1.8.0_25 2014/10/19.

And don't forget to add - jdk1.8.0_25/bin to your PATH variable.

like image 109
Aditya Singh Avatar answered Nov 12 '22 22:11

Aditya Singh