Re: JDK17 build

From: Ronald Klop <>
Date: Fri, 22 Mar 2024 19:05:05 UTC

You can run "pkg fetch --output /var/tmp/ openjdk17".
I think you need to be root to do this.
This will give you "/var/tmp/All/openjdk17-*.pkg"

The .pkg file is just a tar file with some extra manifest files with meta info about the package.

It this what you are looking for?

Van: Praveen Kumar K S <>
Datum: vrijdag, 22 maart 2024 14:38
Onderwerp: Re: JDK17 build
>> Hello,
>> I'm new to freebsd and looking for help on java. I installed jdk17 using pkg. I would like to know how I can download the portable java17 like tar/zip to run on freebsd. I tried downloading from openjdk but it won't run due to error /java: cannot execute binary file: Exec format error 
>> I checked , but don't see any download option. So I assume compiling is the only way ? Please advise. Thanks