Re: JDK17 build

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Fri, 22 Mar 2024 19:05:05 UTC
Hi,

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?

Regards,
Ronald.
 
Van: Praveen Kumar K S <praveen@securelyshare.com>
Datum: vrijdag, 22 maart 2024 14:38
Aan: freebsd-java@freebsd.org
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 https://www.freshports.org/java/openjdk17 , https://wiki.freebsd.org/Ports/openjdk but don't see any download option. So I assume compiling is the only way ? Please advise. Thanks 
>>  
>