Is anyone able to build the JDK on Windows using VirtualBox to host Ubuntu?
Anil
1dropaflame at gmail.com
Thu Jun 27 11:51:46 UTC 2024
I want to try out a small contribution to the JDK and want to build the JDK
first.
I have a Windows 11 laptop.
I am not comfortable with the Windows commands and someone mentioned in
this forum that most of the building is done on Linux.
So I installed VirtualBox 7.0.18 and Ubuntu 24.04. however I was getting
black screens and freezing. I downgraded the Ubuntu to 222.04 and still got
black screens. I don't know why this is happening.
Any advice appreciated.
Anil
On Tue, Jun 18, 2024, 7:25 PM Anil <1dropaflame at gmail.com> wrote:
> Hello,
> I want to try out a small contribution to the JDK and wanted to
> build the JDK first,
> before I change the code.
> I forked and cloned the jdk following the instructions at The OpenJDK
> Developers' Guide – OpenJDK Developers’ Guide
> <https://openjdk.org/guide/#cloning-the-jdk>
>
> I am on Windows 11.
> These instructions are given on the page but I am unsure which of these to
> execute since I have already forked and cloned the git repo
>
> $ wget https://download.java.net/java/GA/jdk16/7863447f0ab643c585b9bdebf67c69db/36/GPL/openjdk-16_linux-x64_bin.tar.gz
> $ tar xzf openjdk-16_linux-x64_bin.tar.gz
> $ sudo apt-get install autoconf zip make gcc g++ libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev libcups2-dev libfontconfig1-dev libasound2-dev
> $ cd jdk
> $ sh ./configure --with-boot-jdk=$HOME/jdk-16/
> $ make images
>
>
> Do I still need to do the wget?
> Also, I wondered if I should use book jdk-17 instead of jdk-16 as in the
> instructions above.
> thanks,
> Anil
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20240627/6e946279/attachment.htm>
More information about the build-dev
mailing list