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?
Thanks for sharing. I hope it will be helpful for too many people that are searching for this topic.
ReplyDeleteass grab
Your 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
Excellent content!!! your content is a great inspiration for writers.
ReplyDeleteselenium testing training
best training institute for selenium in chennai
Selenium Training in Chennai
Big Data Training in Chennai
best java coaching center in chennai
best java training institute in chennai with placement
best java course in chennai
Hadoop Training in Chennai
JAVA Training in Chennai
Hello I am so delighted I found your blog, I really found you by mistake, while I was looking on Yahoo for something else, anyways I am here now and would just like to say thanks for a tremendous post. Please do keep up the great work.
ReplyDeleteData Science course in Indira nagar
Data Science course in marathahalli
Data Science Interview questions and answers
Data science training in tambaram
Data Science course in btm layout
Data science course in kalyan nagar
I appreciate your efforts because it conveys the message of what you are trying to say. It's a great skill to make even the person who doesn't know about the subject could able to understand the subject . Your blogs are understandable and also elaborately described. I hope to read more and more interesting articles from your blog.
ReplyDeleterpa training in bangalore
best rpa training in bangalore
rpa training in pune | rpa course in bangalore
rpa training in chennai
This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.
ReplyDeleteBest Devops Training in pune
Devops Training in Bangalore
Microsoft azure training in Bangalore
Power bi training in Chennai
Very excellent post!!! Thank you so much for your great content. Keep posting.....
ReplyDeleteR Programming Training in Bangalore
apache spark online course