From nobody Fri Mar 22 19:05:05 2024 X-Original-To: freebsd-java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V1Wx622DPz5F6wL for ; Fri, 22 Mar 2024 19:05:14 +0000 (UTC) (envelope-from SRS0=+ZjA=K4=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int-backup.realworks.nl (smtp-relay-int-backup.realworks.nl [87.255.56.188]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4V1Wx56zJKz3yDT for ; Fri, 22 Mar 2024 19:05:13 +0000 (UTC) (envelope-from SRS0=+ZjA=K4=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Received: from smtp-relay-int.realworks.nl (rwvirtual84.colo.realworks.nl [10.0.10.103]) by mailrelayint2.colo2.realworks.nl (Postfix) with ESMTP id 4V1Wwy02h8z1n3; Fri, 22 Mar 2024 20:05:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1711134306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZayEAgiIiU933u8wG46x1fhriSI/jGKrI5BFlZaKl1I=; b=HJOYwCMyTfJWImSsDg//udxdKxVTYHJg6/CApb1ZomxSalHPdJtxuirEOu2OyxZZ23PvUF J0B5csJ3NQEC1o96is1UFD00b5ozn1/wP5Xa3FN6nQLoEb4GFS3g4fhGbXFJ+1w+i2nFKD Is3M9X+45Zvaxw344QmtB8RsJKWZgHqLEEYDmnt73YmTvW54CvIFS6ZWvDH+9f9dPUyFUB HpGEipBQVaNnAy/dfz2h0ySu+Z+eP+r+n7Lp7h4XjFENdWeDcz1zqVkxJfnTELhxlSjlV6 kTFcDrrXtmewit9+QoFs4L4wD2TX4mroI649Y9/KLnMmXoZuGICwJ0fwkJ0oyg== Received: from rwvirtual84.colo.realworks.nl (localhost [127.0.0.1]) by rwvirtual84.colo.realworks.nl (Postfix) with ESMTP id 8585CC053C; Fri, 22 Mar 2024 20:05:05 +0100 (CET) Date: Fri, 22 Mar 2024 20:05:05 +0100 (CET) From: Ronald Klop To: Praveen Kumar K S Cc: freebsd-java@freebsd.org Message-ID: <1997306972.12809.1711134305506@localhost> In-Reply-To: References: Subject: Re: JDK17 build List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12808_376642607.1711134305362" X-Mailer: Realworks (695.8) X-Originating-Host: from (84-105-120-103.cable.dynamic.v4.ziggo.nl [84.105.120.103]) by rwvirtual84 [10.0.10.103] with HTTP; Fri, 22 Mar 2024 20:05:05 +0100 Importance: Normal X-Priority: 3 (Normal) X-Originating-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:38930, ipnet:87.255.32.0/19, country:NL]; TAGGED_FROM(0.00)[ZjA=K4=klop.ws=ronald-lists] X-Rspamd-Queue-Id: 4V1Wx56zJKz3yDT ------=_Part_12808_376642607.1711134305362 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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 >> > ------=_Part_12808_376642607.1711134305362 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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/openjdk17https://wiki.freebsd.org/Ports/openjdk but don't see any download option. So I assume compiling is the only way ? Please advise. Thanks 
 

  ------=_Part_12808_376642607.1711134305362--