![]() Update-alternatives -set javac /usr/lib/jvm/jdk1.7. Here is a quick guide on how to install the newest and secure version. Situation Due to Oracle (Sun) licensing policies, Java JRE cannot be included in the repositories of openSUSE anymore. Update-alternatives: error: alternative /usr/lib/jvm/jdk1.7.0/bin/javac for javac not registered not setting Recommended articles Related articles This article is about installing Oracle Java on openSUSE. Update-alternatives: error: alternative /usr/lib/jvm/jdk1.7.0/bin/java for java not registered not setting Update-alternatives -set javac /usr/lib/jvm/jdk1.7.0/bin/javac Update-alternatives -set java /usr/lib/jvm/jdk1.7.0/bin/java Each version is assigned a priority number, with the version with the highest number set as the default. I’m not sure if this has something to do with the fact that I changed the build environment from Ubuntu 12 -> 14? I also tried to change back to the previously working environment Ubuntu 12 but the problem persists and my builds keep on failing: Executing this command will present you with a list of all Java versions currently installed on your Ubuntu system. The strange thing here is that I’ve been able to successfully use oraclejdk7 for some time but suddenly it stopped working. There is a duplicate issue in Mobile category Action failed: Setting Java version to Oracle 7 but this seems not to be a mobile specific problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |