I was trying to solve a bug and as far as I understand I need to make a direct refference to what JRE I am using. But when I went into /usr/lib/jvm there seemed to be many different kinds of Java. Why are there so many and which one am I using?
I was trying to solve a bug and as far as I understand I need to make a direct refference to what JRE I am using. But when I went into /usr/lib/jvm there seemed to be many different kinds of Java. Why are there so many and which one am I using?
If you have multiple java packages installed, iirc you should be able to view / select which one is in use by
for the jre / jvm, andCode:sudo update-alternatives --config java
for the jdkCode:sudo update-alternatives --config javac
Hope this helps
Bookmarks