Though you have installed and using a particular Java installation (E.g. Oracle Java 7), sometimes when you install some other softwares they might change the default to other Java installations (E.g. OpenJDK)
In such situations to change the default version, run the following commands and chose the appropriate selection when prompted.
For Java :
update-alternatives --config javaFor Java compiler :
update-alternatives --config javacFor Java web start :
update-alternatives --config javaws
Thanks it helped me a lot
ReplyDeleteupdate-alternatives --config java
ReplyDeletewith this every time I need to enter 1 or 2..
There must be some other way for single line command?
I have read your blog its very attractive and impressive. I like it your blog.
ReplyDeleteJava Training in Chennai Core Java Training in Chennai Core Java Training in Chennai
Java Online Training Java Online Training JavaEE Training in Chennai Java EE Training in Chennai
I have read your blog its very attractive and impressive. I like it your blog. Java Training in Chennai
ReplyDeleteHello!! I'am glad to read the whole content of this blog and am very excited.Thank you.
ReplyDeletegclub casino
goldenslot casino
goldenslot
Thanks for sharing. I hope it will be helpful for too many people that are searching for this topic.
ReplyDeleteass grab
This is a great article. It gave me a lot of useful information. thank you very much.
ReplyDeleterun2online.net
I was very impressed by this post, this site has always been pleasant news. Thank you very much for such an interesting post. Keep working, great job! In my free time, I like play game: vex3game.com. What about you?
ReplyDeleteYour blog posts are more interesting and impressive. I think there are many people like and visit it regularly, including me.I actually appreciate your own position and I will be sure to come back here.
ReplyDeletebrtaram