I especially noticed this after I installed the JDK 8 early access preview which makes some of the tips that you find on various blogs online useless.After a lot of googling I finally found a simple solution that Id like to share.
Then it makes some clever use of usrlibexecjavahome which is a command that lists installed JDK versions. The -v argument tells javahome to return the path of the JDK with the supplied version, for example 1.7. We also update the PATH to point to the bin directory of the newly found JAVAHOME directory. Java Jdk How To Make ItI need my Firefox to use Java 1.7 plugin, but after running your script FIrefox still has Java 1.8 plugin and so far I dont know how to make it switch to Java 1.7. PATH(printf -- PATHn tr: n sed s,.JavaVirtualMachines.,JAVAHOMEbin, tr n: sed s:). Is there a solution to do have something who recognize automatically which version I need To avoid editing each time the bash profile Thanks in advance. Except for that, it works great I only noticed it because I changed the PATH after the call to setjdk and that borked the directory that Id added. I ended up going for that solution perhaps consider updating your article if you also like that solution better as your article was the top hit on google for me:). Aceitar 10006 Categorias Informtica e Eletrnica Sistemas Operacionais Windows Como Instalar o JDK (Java Development Kit) no Mac OS X. ![]() Esse quadro aparece na parte inferior da tela aps executar o projeto. Caso o projeto no tenha nenhum erro, voc ver as mensagens Ol, mundo e Construdo com sucesso na aba Sada.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |