diff --git a/distro/scripts/root_cots.sh b/distro/scripts/root_cots.sh
index 1deb74f156a6bb1c0fc3519b0e6f48b039b36f17..33904b5dcbea2aad29105e0147520b0035ca7f7b 100755
--- a/distro/scripts/root_cots.sh
+++ b/distro/scripts/root_cots.sh
@@ -14,9 +14,7 @@ install()
     yum -y install flex.x86_64 && \
     yum -y install bc.x86_64 && \
     yum -y install unzip.x86_64 && \
-    #yum -y install java-1.8.0-openjdk-devel.x86_64 && \
     yum -y install imake.x86_64 && \
-    #yum -y install tcl-devel.x86_64 && \
     yum -y install wget.x86_64 && \
     yum -y install flex-devel.x86_64 && \
     yum -y install autoconf.noarch && \
@@ -34,7 +32,9 @@ install()
     yum -y install perl-Getopt-Long.noarch && \
     yum -y install perl-XML-Simple.noarch && \
     yum -y install perl-CPAN.noarch && \
-    yum -y update perl-CPAN.noarch 
+    yum -y update perl-CPAN.noarch && \
+    yum -y install java-1.8.0-openjdk-devel.x86_64 
+       #yum -y install tcl-devel.x86_64 && \
 }
 
 install