Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2024 20:05:05 +0100 (CET)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Praveen Kumar K S <praveen@securelyshare.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: JDK17 build
Message-ID:  <1997306972.12809.1711134305506@localhost>
In-Reply-To: <CANHUGxDEhdONjs%2B7UhxiizYz71D-4f%2BUiio_fubNuowU8jS7tA@mail.gmail.com>
References:  <CANHUGxA8GCAvEY9W%2Bmt9daADG7kmKto1RkRq8POxy2xSmY77vw@mail.gmail.com> <CANHUGxDEhdONjs%2B7UhxiizYz71D-4f%2BUiio_fubNuowU8jS7tA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_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 <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 
>>  
> 

 
------=_Part_12808_376642607.1711134305362
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>Hi,<br>
<br>
You can run "pkg fetch --output /var/tmp/ openjdk17".<br>
I think you need to be root to do this.<br>
This will give you "/var/tmp/All/openjdk17-*.pkg"<br>
<br>
The .pkg file is just a tar file with some extra manifest files with meta info about the package.<br>
<br>
It this what you are looking for?<br>
<br>
Regards,<br>
Ronald.<br>
&nbsp;
<p><strong>Van:</strong> Praveen Kumar K S &lt;praveen@securelyshare.com&gt;<br>
<strong>Datum:</strong> vrijdag, 22 maart 2024 14:38<br>
<strong>Aan:</strong> freebsd-java@freebsd.org<br>
<strong>Onderwerp:</strong> Re: JDK17 build</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartAlternativeViewer">
<div class="TextHTMLViewer" id="P.P.P">
<div>
<div>
<div>
<div class="gmail_signature">
<div>
<div>&nbsp;</div>
</div>
</div>
</div>
</div>

<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Hello,
<div>&nbsp;</div>

<div>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&nbsp;<span style="background-color:rgb(248,248,248);color:rgb(29,28,29);font-family:Slack-Lato,Slack-Fractions,appleLogo,sans-serif;font-size:15px;font-variant-ligatures:common-ligatures">/java: cannot execute binary file: Exec format error</span>&nbsp;</div>

<div>I checked&nbsp;<a href="https://www.freshports.org/java/openjdk17" target="_blank">https://www.freshports.org/java/openjdk17</a>; ,&nbsp;<a href="https://wiki.freebsd.org/Ports/openjdk" target="_blank">https://wiki.freebsd.org/Ports/openjdk</a>; but don't see any download option. So I assume compiling is the only way ? Please&nbsp;advise. Thanks&nbsp;</div>

<div>
<div>
<div class="gmail_signature">
<div>&nbsp;</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
&nbsp;</body></html>
------=_Part_12808_376642607.1711134305362--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1997306972.12809.1711134305506>