Sudo update-alternatives -install /usr/bin/javac javac /usr/lib/jvm/oracle_jdk8/bin/javac 2000 Sudo update-alternatives -install /usr/bin/java java /usr/lib/jvm/oracle_jdk8/jre/bin/java 2000 Mv UnlimitedJCEPolicyJDK8/US_export_policy.jar /usr/lib/jvm/oracle_jdk8/jre/lib/security/ Mv UnlimitedJCEPolicyJDK8/local_policy.jar /usr/lib/jvm/oracle_jdk8/jre/lib/security/ Wget -no-cookies -header "Cookie: oraclelicense=accept-securebackup-cookie" \ # Download Oracle Java 8 accepting the license you can use dos2unix or your preferred way of dealing with that. If you do not use a command line based editor such as vim then you will have windows line endings to deal with. You will need to install unzip sudo apt-get install unzipĬopy this script somewhere in your bash for windows session and make it executable (chmod +x filename). I wanted to clarify that as of 9 December 2016, you most certainly can install Java 8 on Ubuntu Bash for Windows 10 and that Horton is correct.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |