![]() I think it should be at least 4 GB, I've configured the VM with 15 GB, because there is enough RAM in my machine. ![]() A VirtualBox Debian is quite useful for compiling. With packing files and stuff like that I recommend at least 10 GB free space, better 15 GB. You need at least about 7 GB free diskspace. It has to be put into /opt/cross-pi-gcc/ System requirements for building OpenJDK 17 for armv6 You find the build instructions as well a ready to go download there There is currently none working so we have to build one ourselves. You need a fitting crosscompiler to compile. This tutorial is based on Crosscompiler for Raspberry PI Zero W Go to releases on the official repository and select your desired version. There must be "v6" present otherwise the package won't run on the Raspberry PI Zero W.Ĭurrent (February 2022) there is no JDK17 for armv6. Make sure to select ARM 32-bit HF and then have a look at the Architecture column. They provide a working JDK 11 for Raspberry PI Zero W. Server VM is only supported on ARMv7+ VFP When trying to install Java from the official repository latest version is Java 11 and when trying to execute you get an errorĮrror occurred during initialization of VM CPU architecture is 32 Bit ARMv6hf which means hardfloat support. Also original Raspberry PI uses this SoC. Raspberry PI Zero and Zero W use BCM2835 SoC. In this Readme is a tutorial how to build your own OpenJDK release in case you want build it yourself. The GCC version should only be informational. I think binutils version is not really important, but just in case, I've added that information. It is important that your system has a glibc version equal or above the JDK version. With ldd -version you get the glibc version of your system. This means it runs on Debian Buster and above. ![]() In the releasesyou find OpenJDK builds for Raspberry PI Zero W / armv6hf architecture.Ī file name like jdk-17-gcc-10.1_glibc-2.28_binutils-2.31_Buster.tar means jdk-17-ga as JDK version, compiled with gcc 10.1, glibc 2.28, binutils-2.31 and Buster as sysroot. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |