java - How to change every program in a JDK to default -


i have done update-alternatives java:

$ java -version java version "1.8.0_45" java(tm) se runtime environment (build 1.8.0_45-b14) java hotspot(tm) 64-bit server vm (build 25.45-b02, mixed mode) 

but javac still says:

$ javac -version javac 1.9.0-ea 

because use java 9 stuff. how change @ once?

i not @ shell, script looks through of files in bin , uses update alternatives on them fine.

there in webupd8 repository oracle-java_-setdefault package, can use. , works better script.

see ppa:webupd8team/java


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -