plementation of the Debian alternatives system. It was rewritten primarily to remove the dependence on perl; it is intended to be a drop in replacement for
Debian’s update-dependencies script.
- Become the root user.
/usr/sbin/alternatives
needs to be run with root privileges. Use thesu
command or other mechanism to gain these privileges. - Set
java
.Input this command:/usr/sbin/alternatives --config java
Setjavac
. - Enter this command:
/usr/sbin/alternatives --config javac
No comments:
Post a Comment