By default, Ubuntu 22.04 includes Open JDK 11, which is an open-source variant of the JRE and JDK. I did not yet find a similar description how to specify the installation directory for the JDK installer. Option 1 Installing the Default JRE/JDK One option for installing Java is to use the version packaged with Ubuntu. While I found out, how to specify the installation directory for a JRE installer (i.e. To spare me from having to adapt tons of build-scripts I always manually strip the trailing "_" from the installation path and always install into the same "C:\Program Files\Java\jdk1.6.0" or "C:\Program Files\Java\jdk1.7.0", resp., for the 64-bit versions and into C:\Program Files (x86)\Java\jdk1.6.0" or "C:\Program Files (x86)\Java\jdk1.7.0", resp., for the 32-bit versions. My problem is, that by default each JDK versions installs into a directory-path that contains the update-number (default: "C:\Program Files\Java\jdk1.6.0_\"). So this is getting really quite annoying and I would thus like to script this entire process. Since the frequency of Java updates seems to be getting more and more ridiculous (twice per week by now?) each update requires me to un- and then re-install 4 JDKs. On my development machine I always have to install Java 6 and Java 7 and I have to install each JDK in both, the 32 and 64 bit version, for testing purposes. I could successfully install both 圆4 and x86 versions of JDK 8 update 60 including a public JRE with these commands: Here JDK 1.8.60 (x86) with source code is going to C:\Java\x86\jdk1.8.060 and JRE to C:\Java\x86\jre1.8.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |