Ask Your Question
0

Can't set jdk downloaded with sdkman

asked 2019-06-20 00:00:00 +0200

Hello, I use sdkman on Lubuntu and I installed Java 11 Azul Zulufx. The problem is there's no way from the interface to set the sdkman folder of the jdk as the jre to use.

Can't you provide a simpler way, maybe letting people to set the path of the java executable they want, as Eclipse allows?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-06-20 00:50:43 +0200

Ratslinger gravatar image

Hello @Marco Sulla,

Don't understand your statement about "letting people to set the path". I have used this for years:

image description

Have downloaded many Java versions from Oracle, unzipped them in a user directory of my choice and using the Add button pointed to the directory with JRE. Then, especially for testing in Base, I can choose which Java version to use.

Initially, installed Java (often from Synaptic or Package Manager) and LO recognized it. Have done this on many Linux systems - xUbuntu, Mint, Ubuntu, Debian and more. Pretty simple each time I tried.

edit flag offensive delete link more

Comments

It does not work with jdk downloaded with SDKMAN.

Marco Sulla gravatar imageMarco Sulla ( 2019-06-20 22:58:22 +0200 )edit

@Marco Sulla,

Since LO works with Java installed not using SDKMAN but not with SDKMAN you should ask their developers how this may be corrected. Seems to be a problem there.

Ratslinger gravatar imageRatslinger ( 2019-06-21 06:12:23 +0200 )edit

Eclipse does recognize SDKMAN folders as JDK folders without problem, so I think the problem is not SDKMAN.

Can I know how Libreoffice decide a folder is a JRE/JDK folder?

Marco Sulla gravatar imageMarco Sulla ( 2019-06-22 21:01:27 +0200 )edit

Can't tell you how LO determines this as I do not know the details within LO itself.

Can say that using an unzipped file from Oracle always gave a directory acceptable to LO. Have even used OpenJDK on some Linux systems without a problem.

Ratslinger gravatar imageRatslinger ( 2019-06-22 21:30:29 +0200 )edit

How can I report it as a bug to a DEV, or ask to a DEV where's the source code that checks if the folder is a valid JRE/JDK folder?

Marco Sulla gravatar imageMarco Sulla ( 2019-06-22 21:55:56 +0200 )edit

File a bug report here -> Bugzilla

You might also get help on freenode

Ratslinger gravatar imageRatslinger ( 2019-06-22 22:11:28 +0200 )edit

Thank you, I reported:

https://bugs.documentfoundation.org/s...

It's probably a regression.

Marco Sulla gravatar imageMarco Sulla ( 2019-06-29 20:15:42 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-06-20 00:00:00 +0200

Seen: 19 times

Last updated: Jun 20