Re: no JDK found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13.1.2024 19.24, y27p6e3vuNQx@xxxxxx wrote:
Hi,
I am trying to compile LO for the first time on windows and do follow the official guide
https://wiki.documentfoundation.org/Development/BuildingOnWindows
Nevertheless I am runnning into several issues while configuring the build.
Running autogen.sh gives errors,
it is not finding C++ build tools (Win 10 SDK), even if Visual Studio is available. I have to use the option "--with-visual-studio=2022" it is not finding JDK, even if it is available. Option "--with-jdk-home=/cygdrive/c/jdk-21.0.1/bin" is not solving the issue. The JDK was downloaded from Microsoft server as 64bit version and the PATH is set correctly. There are hints in the documentation given above for Java installation and to eventually modify the "--with-jdk-home" in "autogen.input". There is no file "autogen.input"! What is going wrong? Is the documentaion not up-to-date or do I am missing some details?

You have apparently skipped the green note that is under the Cygwin section and reads:

"The Easiest way to perform the following is to use LODE, which automates all that is necessary, beyond installing Visual Studio and Java.

If you want to do it the hard way, continue reading."

If you had used the LODE method, an autogen.input file would have been created. Now you have to create it yourself. More about the file: https://wiki.documentfoundation.org/Development/GenericBuildingHints#autogen_help

Ilmari



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux